HTTP 404
resource_not_found — Shorty API error
Resource not found (HTTP 404): when the Shorty API returns the resource_not_found error, why, and how to fix it.
| Code | HTTP status | Type URI |
|---|---|---|
resource_not_found | 404 | https://aishorty.com/docs/api/errors/resource_not_found |
When it happens
The referenced id does not exist, or belongs to another account. Resources are always scoped to the authenticated account.
Example response
{
"type": "https://aishorty.com/docs/api/errors/resource_not_found",
"title": "Resource not found",
"status": 404,
"detail": "No article with that id exists for this account.",
"instance": "urn:request:req_01J9Z8ABCDEFGH0123456789",
"code": "resource_not_found",
"request_id": "req_01J9Z8ABCDEFGH0123456789"
}How to fix it
Verify the id and that it was created by the same account. A foreign id is reported as not found, never as forbidden.
Related errors
- resource_not_ready
Resource not ready (HTTP 409)