BizKitHub
INTERNAL_USER_MUST_BE_AUTHORIZED

User must be authorized

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

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

HTTP 401Platforma
User is not logged in.

Jak to vyřešit

  1. 1

    To take action, you must first log in to your user account. In the case of the website, use the login form. If you are calling an API request from an external application, use your API key, which must be marked as active.

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": "User must be authorized",
  "errorCode": "INTERNAL_USER_MUST_BE_AUTHORIZED",
  "hint": "User is not logged in.",
  "documentationUrl": "https://docs.bizkithub.com/errors/INTERNAL_USER_MUST_BE_AUTHORIZED"
}