Custom Error Codes

All custom error codes will be listed in this document. Custom error codes can be found in request with status 400 - Bad Request.

Error example:

{
    status: 400,
    title: 'Bad Request',
    detail: 'Product 5cf8c05f5b4cb901091f7d98, 5cf8c05f5b4cb901091f7d99, 5cf8c05f5b4cb901091f7d9a had URL from non authorized domain.',
    code: 'E0103',
    productsId: [ '5cf8c05f5b4cb901091f7d98', '5cf8c05f5b4cb901091f7d99', '5cf8c05f5b4cb901091f7d9a' ],
    allowedDomains: [ 'http://www.mysite.com' ]
}

Purchase

Purchases Creation:

Code Message Description Extra Fields
E0101 Contact {{contactEmail|contactExternalId}} does not exist. Returned when contactEmail or contactExternalId does not exist in Connectif. You should create it first.
E0102 Product {{productIds}} does not exist. Returned when some purchase products do not exist in Connectif Catalog. productIds
E0103 Product {{productIds}} had URL from non authorized domain. Returned when some purchase products URLs are not allowed. Review Connectif > Integrations > Web > Authorized Domains. productIds, allowedDomains

Product

Product Creation:

Code Message Description Extra Fields
E0201 Product had URL from non authorized domain. Returned when some patch or create product URLs are not allowed. Review Connectif > Integrations > Web > Authorized Domains. allowedDomains

Export

Export Creation:

Code Message Description Extra Fields
E0301 You have reached the limit of 5 queued exports. Please try again when any queued export has been completed or deleted. Returned when queued exports have reached the limit of 5 queued exports.

Import

Import Creation:

Code Message Description Extra Fields
E0401 You have reached the limit of 10 queued imports. Please try again when any queued import has been completed. Returned when queued imports have reached the limit of 10 queued imports.

Custom Events

Create Custom events by alias or id:

Code Message Description Extra Fields
E0501 Contact does not exist. Returned when creating a custom event with query string createContact set to false or omitted and the contact does not exist.

Contact Field

Contact Field Creation:

Code Message Description Extra Fields
E0601 Custom field limit has been reached Returned when the custom contact field limit has been reached.
E0603 Contact field could not be created due to a concurrent modification Returned when a contact field creation fails due to a concurrent modification.
E0605 Contact field already exists with provided id Returned when a contact field with the provided id already exists.

Contact Field Deletion:

Code Message Description Extra Fields
E0602 Contact field cannot be deleted because it is in use Returned when attempting to delete a contact field that is currently in use.
E0604 Built-in contact fields cannot be deleted Returned when attempting to delete a built-in contact field.