BizKitHub
INTERNAL_USER_MUST_BE_AUTHORIZED

User must be authorized

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

Nazwy i opisy kodów prowadzimy po angielsku.

HTTP 401Platforma
User is not logged in.

Jak to rozwiązać

  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.

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": "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"
}
Dokumentacja referencyjna:Kody błędów API|Platforma|HTTP 401