Clearer error when Assets REST API receives an unknown workspaceId

XMLWordPrintable

      When a request to a JSM Assets REST endpoint (for example, GET /jsm/assets/workspace/{workspaceId}/v1/objectschema/list) is made with a workspaceId that does not exist on the target site, the API returns an HTTP 404 with the internal error message getting tcs sharding record: Record was not found.

      We would like the response to be replaced with a clearer error message such as Workspace {workspaceId} was not found on this site (or equivalent), so users interacting with the API can immediately identify the issue.

              Assignee:
              Unassigned
              Reporter:
              Lucas Bugs
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: