Errors

Chariot uses conventional HTTP response codes to indicate the success or failure of an API request. In general: Codes in the 2xx range indicate success. Codes in the 4xx range indicate an error that failed given the information provided (e.g., a required parameter was omitted, chat completion failed, etc.). Codes in the 5xx range indicate an error with Chariot's servers.


Status codes

Chariot uses conventional HTTP response codes to indicate the success or failure of an API request.

  • Name
    2xx
    Type
    Description

    A 2xx status code indicates a successful response.

  • Name
    4xx
    Type
    Description

    A 4xx status code indicate an error that failed given the information provided (e.g., a required parameter was omitted, chat completion failed, etc.).

  • Name
    5xx
    Type
    Description

    A 5xx status code indicate an error with Chariot's servers. If you encounter unexpected errors, please reach out to us via our community Discord or via email at help@chariotai.com.