API Errors

The RISE API uses conventional HTTP status codes to indicate the success or failure of a request. In general, codes in the 2xx range indicate success, the 4xx range indicate an error with the information provided, and the 5xx range indicate an issue on the RISE API end.

Example error response

{
  "message": "Validation has failed.",
  "errors": {
    "data[0].attributes.strategy.strategies[1][0].productId": [
      "Invalid value \"FakeProduct\""
    ]
  }
}

Status codes

Status Code Description
200 - OK Successful request.
400 - Bad Request The request was unacceptable, often due to missing a required or invalid parameter.
401 - Unauthorized Invalid authentication token provided.
403 - Forbidden Valid token provided but don’t have access to the requested resource.
404 - Not Found The requested resource doesn’t exist.
500 - Server Error Something went wrong on our end.