INTERNAL_RESOURCE_NOT_FOUNDResource not found.
Z BizKitHub Docs, dokumentacja kodów błędów API
Nazwy i opisy kodów prowadzimy po angielsku.
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")`.
Jak to rozwiązać
- 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.
Przykładowa odpowiedź
API odpowiada statusem HTTP 404 i treścią w formacie JSON. Porównuj errorCode, nie message. Komunikaty mogą się zmieniać, kody pozostają stałe.
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"
}