Error: not_found
The requested resource does not exist or is not visible to this token.
not_found
not_foundHTTP status: 404
The resource identified by the path or request body does not exist, or it exists but is not accessible with the current token.
Why this happens
- The ID in the URL path was copied incorrectly or belongs to a resource in the other mode (test vs. live).
- You are looking up a resource that was created in test mode using a live token, or vice versa.
- The resource was deleted and no longer exists.
- The resource ID belongs to a different account than the token used for authentication.
What to do
- Verify the ID is correct — compare against the
idfield in a recent successful response. - Check the
livemodefield on recent responses to confirm you are querying the right mode. A resource created in test mode returnsnot_foundwhen queried with a live token. - If the resource was recently deleted, that is expected behavior —
404is the correct response for deleted resources. - If you believe the resource exists and should be accessible, contact [email protected] with the resource ID and your
request_id.
Example response
{
"type": "https://zyins.isaapi.com/errors/not-found",
"title": "Resource not found",
"status": 404,
"detail": "Case 'case_01HZK2N5GQR9T8X4B6FJW3Y1AS' was not found. Verify the ID and that the token mode matches the resource's livemode.",
"code": "not_found",
"param": null,
"request_id": "req_01HZK2N5GQR9T8X4B6FJW3Y1AS"
}SDK exceptions
| Language | Exception class |
|---|---|
| TypeScript | IsaNotFoundError |
| Python | IsaNotFoundError |
| Go | *zyins.NotFoundError |
| PHP | Isa\Sdk\Zyins\Exception\IsaNotFoundException |
| C# | IsaNotFoundException |
See also
Updated 2 days ago