Skip to content

Troubleshooting

COMPANY_NOT_ALLOWED: outside the token’s scope

The API answers 403 COMPANY_NOT_ALLOWED when the company in the request is outside the token’s scope.

Facts reviewed on

What to do

  • Check the companyCode in the request.
  • In the portal’s “API tokens”, edit the token’s company access, or use a token that covers the company.
  • If the PC itself does not know the company, the answer is 404 COMPANY_NOT_CONFIGURED instead: add the company on the PC.