PUBLIC_IDENTITY_IS_INVALIDContact identity is not valid (unknown, deleted, unauthorized or expired). Log the customer in again.
HTTP 401Public 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.
Example response
The API answers with HTTP 401 and a JSON body. Match on errorCode, not on message: messages may be reworded, codes are stable.
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"
}