Troubleshooting

Resolve problems which may occur when using the Trend Vision One APIs.

When troubleshooting errors, you can refer to the HTTP status code, error code, and error message in the API response body.

The following table provides information about common error types.

Authentication

Authorization

Resource not found

Problem

The authentication token is not valid.

The authentication token is valid but not allowed to do an action or access a resource.

A request tries to access a resource but the resource is not found.

Cause

The authentication token included with the API request is wrong.

The role assigned to the API key does not have the necessary permissions for the resource or the operation.

The resource no longer exists.

HTTP status code

401 Unauthorized

403 Forbidden

404 Not Found

Response header

  • Key: Content-Type

  • Value: application/json

  • Key: Content-Type

  • Value: application/json

  • Key: Content-Type

  • Value: application/json

Response body example

{
  "error": {
    "code": "InvalidCredentials",
    "message": "Invalid token, Authorization token invaild for header",
    "innererror": {
      "code": "InvalidToken",
      "service": "svp"
    }
  }
}
{
  "error": {
    "code": "AccessDenied",
    "message": "Insufficient permissions."
  }
}
{
  "error": {
    "code": "NotFound",
    "message": "Not found",
    "innererror": {
      "code": "NotFound",
      "service": "svp"
    }
  }
}