Troubleshooting the Credentials API

Troubleshooting the Credentials API

 

JSON parse error: Unrecognized field

The request body contains a field which is not allowed.

 

Invalid required value: user

The request body does not contain a user, or the user does not exist in the domain. The user may have been deleted.

 

Required request body is missing

Add the required JSON object to the request body. The error occurs if the POST request has no body or the body is an empty string.

 

Response code 401, Unauthorized

The header "Authorization: Bearer ..." was omitted.

 

Response code 403

This can be caused by using the

  • wrong domain

  • wrong Credentials API token

  • wrong Devo region (for example, api-eu.devo.com instead of api-us.devo.com

  • wrong role for the user who owns the Credentials API token

 

Request has invalid audiences required

The audiences field of the post request includes an audience that does not exist. An example of an audience is alerts.

 

The token can access all tables

This is the default behavior. Create a new token specifying the correct tables in the scope field.

 

Request has invalid scopes required

The scopes field of the request body does not have valid table and level information. For example, "scopes": "table://*.** level://admin"`