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' ]
}
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 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 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 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. |
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 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. |
Custom Integration Creation:
| Code | Message | Description | Extra Fields |
|---|---|---|---|
| E0701 | The maximum number of integrations has been reached. | Returned when the custom integration limit of 300 per account has been reached. | |
| E0702 | The image URI of the custom integration could not be downloaded. | Returned when the provided image URI is unreachable or returns an error. | |
| E0703 | The image URI of the custom integration does not contain a valid image. | Returned when the content at the provided image URI cannot be parsed as an image. | |
| E0704 | The image URI of the custom integration does not point to a valid image type. Allowed types: jpeg, png, gif. | Returned when the image MIME type is not one of the allowed types (jpeg, png, gif). | |
| E0705 | The image of the custom integration does not meet the minimum size requirements. Minimum dimensions are 230x130 pixels. | Returned when the image is smaller than the required minimum dimensions of 230x130 pixels. | |
| E0706 | The image of the custom integration exceeds the maximum allowed file size of 10 MB. | Returned when the image file size exceeds the maximum allowed size of 10 MB. |
Custom Event Type Creation:
| Code | Message | Description | Extra Fields |
|---|---|---|---|
| E0801 | A custom event type with this name already exists. | Returned when attempting to create a custom event type with a name that is already in use. | |
| E0802 | A custom event type with this alias already exists. | Returned when attempting to create a custom event type with an alias that is already in use. | |
| E0803 | The maximum number of custom event types per integration has been reached. | Returned when the custom event type limit of 100 per integration has been reached. |