-
Type:
Suggestion
-
Resolution: Unresolved
-
Component/s: Assets - Forge Integration
-
None
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.