HTTP Requests validation errors

When the HTTP request itself is invalid, the API will immediately communicate an error containing an error code and message. The error code can be used for programming logic. However, the error message should not, as it is prone to change.

All Error Codes

Note: “%s“ indicates a variable value.

Error Code Error Message
41000 Error occurred while processing your request. Please try again later.
41100 <XSD validation error as thrown by the validator>
41101 Exceeded maximum length for offer id. max %s characters.
41200 Access denied.
41201 Request contains invalid authentication headers.
41202 Client and server signature do not match.
41203 You are not allowed to access this module.
41300 Offer file ‘%s’ is still being processed.
41301 Offer file ‘%s’ does not exist (anymore).
41302 Invalid filter used: %s. Valid filters are %s.

XML Example

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ServiceError xmlns="http://plazaapi.bol.com/offers/xsd/api-1.0.xsd">
<ErrorCode>41100</ErrorCode>
<ErrorMessage>cvc-complex-type.2.4.b: The content of element 'OfferCreate' is not complete. One of '{&quot;http://plazaapi.bol.com/offers/xsd/api-1.0.xsd&quot;:Price}' is expected.</ErrorMessage>
</ServiceError>