Errors

Detect and correct errors quickly.

Overview

Error messages from the API give you essential information about issues that occur during a request. They'll help you identify and diagnose errors, making it easier to resolve problems and improve your integrations with the API.

API status codes

Find the categories of status codes returned by the TofuPilot API:

  • Name
    2xx
    Description

    Successful response

  • Name
    4xx
    Description

    Client error

  • Name
    5xx
    Description

    Server error

Error Messages

Use error messages to identify and fix issues. For example:

Error response

{
  "status_code": 404,
  "message": 'No procedure was found with the provided ID: "FVT2". Please verify the ID and try again. If the procedure does not exist, you can create a new one on the Procedures page in TofuPilot.'
}

Was this page helpful?