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
companyCodein 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_CONFIGUREDinstead: add the company on the PC.