How to Handle API Errors

This guide provides an overview of common errors you might encounter when using the Pipefy API and how to handle them effectively.

Common Error Types

Error CodeError NameDescription
UNAUTHORIZEDUnauthorized ErrorOccurs when the API request lacks valid authentication credentials or the provided token is invalid.
INVALID_ROLEInvalid Role ErrorsTriggered when attempting to perform actions without the required permissions or with an invalid role.
RESOURCE_NOT_FOUNDField Type Not Found ErrorOccurs when trying to access a field type that doesn't exist in the specified context.
missingRequiredInputObjectAttributeMissing Required Argument ErrorTriggered when required parameters are missing from the API request.
INVALID_INPUTInvalid Input ErrorOccurs when the provided input data doesn't meet the expected format or validation rules.
USAGE_LIMIT_EXCEEDEDEmail Rate Limit Exceeded ErrorTriggered when the email sending rate limit is exceeded.
Card could not be moved to phaseCard Could Not Be Moved to Phase ErrorOccurs when there's an issue moving a card to a different phase.

📘

Other Errors

If your error isn't listed here, you can find the complete list in the Status Codes and Error Handling section.

Error Response Format

All API errors follow a consistent response format:

{
  "error": {
    "message": "Error description",
    "details": {
      "code": "ERROR_CODE",
      "correlation_id": "unique-identifier-string",
      // Additional error details if available
    }
  }
}

The correlation_id field in the error details is a unique identifier that can be used to track specific error instances. When contacting Pipefy support, please include this ID to help us identify and resolve your issue more efficiently.