In this section we'll cover some common errors that may occur with the APIs and some basic troubleshooting steps you can do to correct the errors
Example 401 error responses:{ "errorCode": "oauth.invalid_client_secret", "message": "Unauthorized", "trackingId": "197a2922-65e4-4548-a0a1-79a13b12c8fc"}
{ "error": "Unauthorized", "correlationId": "cdf74ec9-4697-42ee-b57f-67e9d67bbe07", "requestId": "0ca2e378-cf62-4267-abe7-c683e2d6006b"}
Example 403 error responses{ "error": "Forbidden", "correlationId": "2e9690fe-70d8-41c5-acd3-20be9dda0e3b", "requestId": "ac1eb5a2-4d11-479b-a80d-1f2562b59adf", "createdAt": "2020-01-14T16:29:46.556Z", "message": "Access Denied"}
Example 400 error responses{ "error": "BadRequest", "correlationId": "3f466bb4-0323-419f-9b6b-246395bae96e", "requestId": "13ca2e37-3aeb-4873-81f8-3bf0dfc6b174"}
Example 404 error responses{ "error": "resourceNotFound", "correlationId": "49628b7a-f977-4fb5-8105-33905fda14c0", "requestId": "2e5319c9-b106-4fc9-bc98-d0cad687260a"}
The below is a list of errors that typically mean a Sophos system error.