Skip to main content

Authentication errors

What the Authentication error codes mean and how to resolve them.

An authentication error means the request was not authenticated. The API could not confirm who you are, so the request is rejected before any processing.

Every error in this family includes a stable code (for example AUTH-1001). Find that code in the table at the bottom of this article to see exactly which rule was triggered.

Common causes

  • The bearer token is missing from the request.

  • The token is expired or invalid.

  • The authorization header is malformed.

How to fix it

  1. Match the code in your response to the table below.

  2. Include a valid bearer token in the Authorization header.

  3. If the token is expired, refresh it or re-authenticate.

  4. Confirm the header format is correct.

  5. Re-send the request.

Codes in this family

Code

What it means

AUTH-1001

Bearer token is missing or invalid.

AUTH-1002

Access Token is invalid or null. Please log in again.

AUTH-1003

You do not have access to this API / iPaaS.com functionality.

AUTH-1004

Company not found by id ({companyId}) provided

Did this answer your question?