Skip to main content
message
string
required

Describes what went wrong. For a QuickBooks Desktop connection error, it is written for the end-user and says how to fix it.

Example:

"Invalid API key provided: 'sk_live_...1234'"

userFacingMessage
string
required
deprecated

Deprecated: use error.message instead. This field is still returned on every error. For most errors, it holds the same text as error.message. For an error about your request or API key, it is always "An internal server error occurred. Please try again."

Example:

"An internal server error occurred. Please try again."

type
enum<string>
required

The type of error that occurred.

Available options:
INTEGRATION_ERROR,
INTEGRATION_CONNECTION_ERROR,
INVALID_REQUEST_ERROR,
AUTHENTICATION_ERROR,
PERMISSION_ERROR,
INTERNAL_ERROR
Example:

"AUTHENTICATION_ERROR"

code
string
required

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.

Example:

"API_KEY_INVALID"

httpStatusCode
number
required

The HTTP status code of the response that returned this error.

Example:

401

requestId
string
required

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.

Example:

"req_1234567890"

integrationCode
string

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.

Example:

"0x80040420"