INTERNAL_RESOURCE_NOT_FOUNDResource not found.
Z BizKitHub Docs, referencia chybových kódov API
Názvy a popisy kódov udržiavame v angličtine.
HTTP 404Platforma
A specific resource referenced by the request (a record id, slug, hash or token) does not exist in the organisation scope, has been deleted, or the caller has no permission to see it. Attach the missing identifier as parametric context — e.g. `throw ApiError("INTERNAL_RESOURCE_NOT_FOUND", "Calendar 42")`.
Ako to vyriešiť
- 1
Verify the identifier (id, slug, hash, token) is spelled correctly and belongs to the organisation you are authenticated against.
- 2
Check that the resource has not been soft-deleted in the meantime (most BizKitHub entities keep a deletedDate column).
- 3
Confirm your API key or session has scope/permission to read this resource type.
Ukážka odpovede
API odpovie statusom HTTP 404 a telom vo formáte JSON. Porovnávajte errorCode, nie message. Správy sa môžu preformulovať, kódy zostávajú rovnaké.
application/json
{
"state": "error",
"code": 404,
"message": "Resource not found.",
"errorCode": "INTERNAL_RESOURCE_NOT_FOUND",
"hint": "A specific resource referenced by the request (a record id, slug, hash or token) does not exist in the organisation scope, has been deleted, or the caller has no permission to see it. Attach the missing identifier as parametric context — e.g. `throw ApiError(\"INTERNAL_RESOURCE_NOT_FOUND\", \"Calendar 42\")`.",
"documentationUrl": "https://docs.bizkithub.com/errors/INTERNAL_RESOURCE_NOT_FOUND"
}