BizKitHub
INTERNAL_RESOURCE_NOT_FOUND

Resource not found.

Z BizKitHub Docs, reference chybových kódů API

Názvy a popisy kódů udržujeme v angličtině.

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 vyřešit

  1. 1

    Verify the identifier (id, slug, hash, token) is spelled correctly and belongs to the organisation you are authenticated against.

  2. 2

    Check that the resource has not been soft-deleted in the meantime (most BizKitHub entities keep a deletedDate column).

  3. 3

    Confirm your API key or session has scope/permission to read this resource type.

Ukázka odpovědi

API odpoví statusem HTTP 404 a tělem ve formátu JSON. Porovnávejte errorCode, ne message. Zprávy se mohou přeformulovat, kódy zůstávají stejné.

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"
}