When users access the Relationship Manager button in SAS Visual Investigator, a request is made to the /svi-datahub/links/count endpoint to get a list of relevant link types and counts. A request is then made that queries the /svi-datahub/documents/checkTypeAccess endpoint to make sure only accessible links are included in the total counts.
However, if the user does not have access to any of the related object types, the returned list is empty, and the /svi-datahub/documents/checkTypeAccess endpoint reports the following error:
Error "The argument 'documentTypes' cannot be empty"
Request URL : /svi-datahub/documents/checkTypeAccess
Status 400
The Relationship Manager button should avoid generating an error. Instead, the button should set the label to 0 if the user does not have access to any of the related types.