BizKitHub
PUBLIC_IDENTITY_IS_INVALID

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

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

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

HTTP 401Veřejné 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.

Ukázka odpovědi

API odpoví statusem HTTP 401 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": 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"
}