The Error object
The standard error format that the Conductor API returns for all errors.
The primary error message. Use this for logs, developer/admin surfaces, and debugging.
"Invalid API key provided: 'sk_live_...1234'"
The user-friendly error message intended for end-user UI.
This value exists for every error. It may match error.message, or it may mask details that are only useful to developers or administrators, such as invalid API keys, billing issues, or setup problems. In masked cases, it may say "An internal server error occurred. Please try again."
"An internal server error occurred. Please try again."
The type of error that occurred.
INTEGRATION_ERROR, INTEGRATION_CONNECTION_ERROR, INVALID_REQUEST_ERROR, AUTHENTICATION_ERROR, PERMISSION_ERROR, INTERNAL_ERROR "AUTHENTICATION_ERROR"
The unique error code from Conductor, which is useful for adding special handling for specific errors. E.g., 'RESOURCE_MISSING', 'API_KEY_INVALID', or 'QBD_REQUEST_ERROR'. In contrast, the error field type is more general and categorizes the error.
"API_KEY_INVALID"
The HTTP status code of the response that returned this error.
401
The unique identifier for the request that returned this error.
If you need to contact us about a specific request, providing the request identifier will ensure the fastest possible resolution.
"req_1234567890"
The unique error code supplied by the third-party integration for errors returned by the integration (e.g., QuickBooks Desktop) or integration connector (e.g., Web Connector). This is useful for adding special handling for specific errors from the third-party integration or connector.
"0x80040420"

