Resource Not Found
Code
code:resource_not_foundstatus:404url:https://developers.glean.com/errors/resource-not-found
What It Means
The requested resource or endpoint could not be found or is not visible to the caller.
Common Causes
- The resource identifier is incorrect.
- The resource exists but the caller does not have access.
- The endpoint path or HTTP method does not match a supported API operation.
How To Resolve
Client Actions
- Verify the endpoint path, resource ID, and HTTP method.
- Treat hidden or unauthorized resources as indistinguishable from missing resources unless the endpoint documentation says otherwise.
Admin Actions
- Confirm the resource exists and that the caller should have access to it.
Retry Guidance
Retry only after correcting the resource identifier, endpoint path, or permissions.
Example Response
{
"type": "https://developers.glean.com/errors/resource-not-found",
"title": "Resource Not Found",
"status": 404,
"detail": "Human-readable explanation specific to this occurrence.",
"code": "resource_not_found",
"documentation_url": "https://developers.glean.com/errors/resource-not-found",
"request_id": "req_7f8a9b0c1d2e"
}