Errors

Runn uses conventional HTTP response codes to communicate success or failure of an API request.

In general: Codes in the 2xx range indicate success. Code in the 4xx range indicate an error given the information you provided. Codes in the 5xx range indicate an error on our end.

Each error will contain the following attributes in a JSON body:

  • error: The machine readable error code
  • statusCode: The HTTP status code
  • message: A human readable message with more details