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}} does not exist. Returned when contactEmail 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.