BizKitHub
PUBLIC_IDENTITY_IS_INVALID

Contact identity is not valid (unknown, deleted, unauthorized or expired). Log the customer in again.

Z BizKitHub Docs, dokumentacja kodów błędów API

Nazwy i opisy kodów prowadzimy po angielsku.

HTTP 401Publiczne API
The `identityId` does not resolve to an active login session of a contact in the organisation behind the API key. The same answer is returned for every failure reason so identities cannot be probed.

Przykładowa odpowiedź

API odpowiada statusem HTTP 401 i treścią w formacie JSON. Porównuj errorCode, nie message. Komunikaty mogą się zmieniać, kody pozostają stałe.

application/json
{
  "state": "error",
  "code": 401,
  "message": "Contact identity is not valid (unknown, deleted, unauthorized or expired). Log the customer in again.",
  "errorCode": "PUBLIC_IDENTITY_IS_INVALID",
  "hint": "The `identityId` does not resolve to an active login session of a contact in the organisation behind the API key. The same answer is returned for every failure reason so identities cannot be probed.",
  "documentationUrl": "https://docs.bizkithub.com/errors/PUBLIC_IDENTITY_IS_INVALID"
}
Dokumentacja referencyjna:Kody błędów API|Publiczne API|HTTP 401