Most common MALL XML feed and API error messages

MALL XML Feed, Products - Setup and Management, API

In the following article you will find a list of the most common MALL XML feed error messages and their meaning. Based on this information, fixing errors in the MALL XML feed will be easier.

For instructions on where to find the list of error messages, see our article Inserting MALL XML feeds into the portal, working with intervals and error messages.
To fix error messages, please follow the rules described in instructions for building MALL XML feeds.

The list of errors below is also valid for partners with the API connection type. These messages may return in response to your call. Consequently, you need to modify the call structure to remove the message.

Important:
Duplication of IDs in your feed is not possible. If you enter the same product ID multiple times in your feed, the system will only upload one of these products, all others will be ignored. There is no error message about this in the log, so make sure your IDs are unique. If you have multiple variants of one product, use the option to create variant products according to our Documentation.

Warning:
The error log does not identify which specific product is generating the error, so please always check the settings in the entire feed.

You will find a maximum of 1000 errors in the log. If the log shows this number, it is possible that your feed shows more. In this case, you need to fix the errors one at a time.

Product feed

Error message:Meaning:
Validation error [line 17]: 'Element 'PARAM': This element is not expected.'
The PARAM element is here only as an example, any other element can appear in the message.
The message means that there is an incorrect order of elements in the feed, or a mandatory element is omitted. Follow these steps instructions for MALL XML feeds.
If you are not going to use optional elements such as VARIABLE_PARAMS in the feed, do not insert them as empty elements, omit them altogether. The system will evaluate all forms of empty elements as incorrect: , , 0.
Validation error [line 3640]: 'Element 'VARIABLE_PARAMS': Missing child element(s). Expected is ( PARAM ).'The VARIABLE_PARAMS and PARAM element is only an example, any other element can appear in the message.
The message means that the child's element is missing. 
For example, the parent element VARIABLE_PARAMS must also contain the child element PARAM. If PARAM is missing, this error message will appear. Follow these stepsinstructions for MALL XML feeds.
If you are not going to use optional elements such as VARIABLE_PARAMS in the feed, do not insert them as empty elements, omit them altogether. The system will evaluate all forms of empty elements as incorrect: , , 0.
Validation error [line 0]: 'Bad data type of parameter [CATEGORY_ID], expected "string", received "object"The value of the element (CATEGORY_ID in this example) is probably empty. There must not be empty elements without a value in the feed, the system will evaluate this as an error. This applies to all elements. To fix this, you will need to insert the value into the element.
Client error: `POST http://mpapi.cs.mall.local/v1/products?client_id=*** ` resulted in a `400 Bad Request` response: { "errorCodes":[{ "message":"Image size exceeded. Allowed image size is 2MB.", "errorCode": "MEDIA_VALIDATOR", "errorAttributes":[]}], "result":{"code":400, "status": "ERROR", "message": "Image size exceeded. Allowed image size is 2MB."}, "data":{"key": "product.media", "data":{"index":0, "data":{"url": "https:url image", "main":true}}}}The image size is limited to 2 MB, so this message indicates that the image has exceeded this limit.
Terms and conditions for inserting images for products can be found in here.
[Processing error]: Client error: `POST http://mpapi.cs.mall.local/v1/products?client_id=***` resulted in a `400 Bad Request` response: {"errorCodes":[{"message": "Sent media exceeded allowed value of 2000px. Your dimensions for media 'https:\/\/www.mallfoto.cz\/photo\/433.jpg' are 3210px x 2141px.", "errorCode": "MEDIA_VALIDATOR", "errorAttributes":[]}], "result":{"code":400, "status": "ERROR", "message":"Sent media exceeded allowed value of 2000px. Your dimensions for media 'https:\/\/www.mallfoto.cz\/photo\/433.jpg ' are 3210px x 2141px."}, "data":{"key": "product.media", "data":{"index":0, "data":{"url":"'https:\/\/www.mallfoto.cz\/foto\/433.jpg', "main":true}}}}This message indicates that the maximum resolution for the product image has been exceeded, the maximum is 2000px x 2000px.
Terms and conditions for inserting images for products can be found in here.
[Processing error]: Client error: `POST http://mpapi.cs.mall.local/v1/products?client_id=*** ` resulted in a `400 Bad Request` response: {"errorCodes":[{"message": "Invalid value for shortdesc ' Sk\u0142additives Aqueous denat. alcohol Perfume Methylglucose ether PPG-20 Butylmethoxydibenzoylmethane Ethylhexyl methoxycinnamate Ethylhexyl salicylate Sodium sulfate BHT Butylphenylmethylpropion Citral Citronellol Eugenol Geraniol Hexyl cinnamal Limonene Linalool ...'. Max length is 300 chars.", "errorCode": "VALIDATION_ERROR", "errorAttributes":[]}], "result":{"code":400, "status": "ERROR", "message": "Invalid value for shortdesc ' Sk\u0142adniki Alcohol denat. aqueous Perfume Methylglucose ether PPG-20 Butylmethoxydibenzoylmethane Ethylhexyl methoxycinnamate Ethylhexyl salicylate Sodium sulfate BHT Butylphenylmethylpropion Citral Citronellol Eugenol Geraniol Hexyl cinnamal Limonene Linalool...'. Max length is 300 chars."}, "data":{"key": "product.shortdesc"}}The maximum number of characters in a short description (SHORTDESC) is 300 characters, so the message warns that this limit has been exceeded.
It is necessary to shorten the short description. The conditions for creating a proper short description can be found in here.
[Processing error]: Client error: `POST http://mpapi.cs.mall.local/v1/products?client_id=***` resulted in a `400 Bad Request` response: { "errorCodes":[{ "message":"Invalid EAN value for barcode '8591691058550'", "errorCode": "VALIDATION_ERROR", "errorAttributes":[]}], "result":{"code":400, "status": "ERROR", "message": "Invalid EAN value for barcode '859438202484'"}, "data":{"key": "product.barcode"}}We have linked the EAN validation to the GS1 database. The message therefore indicates that the product has an invalid EAN according to GS1 validation.
[Processing error]: Client error: `POST http://mpapi.cs.mall.local/v1/products?client_id=***` resulted in a `400 Bad Request` response: {"errorCodes":[{"message": "Parameter MP_PUBLISHER for category MP121OS does not exist.", "errorCode": "VALIDATION_ERROR", "errorAttributes":[]}], "result":{"code":400, "status": "ERROR", "message":"Parameter MP_PUBLISHER for category MP121OS does not exist."}, "data":{"key": "product", "data":{"item": "parameters", "data":{"MP_PUBLISHER": "Kr\u00e1sn\u00e1 pan\u00ed", "MP_BINDING": "Kr\u00fa\u017ekov\u00e1″, "MP_LANGUAGE":"\u010desky"}}}}The parameter (MP_PUBLISHER in the example) for the category (MP1210S in the example) does not exist. This is a specific example.
Each category has a defined set of parameters that can be used in that category.
This error message warns you if you have used a parameter that is not in the set and needs to be deleted.
[Processing error]: cURL error 7: Failed to connect to mpapi.cs.mall.local port 80: Connection timed out (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)There was a connection error and the feed download was interrupted. Re-order the feed for processing.
[Processing error]: Product ID '00103769' activation failed‚.The product has a live value in the STAGE element, but at the same time the partner is still in the testing phase of implementation, when it is not possible to assign the flag to the products live.
Since the live value is set only when the product publishes on the web, the system detects an error. It is therefore necessary to change the value to draft.
[Processing error]: Server error: `PUT http://mpapi.cs.mall.local/v1/products/12870922?client_id=***` resulted in a `500 Internal Server Error` response: {"errorCodes":[{"message": "Internal server error", "errorCode":"INTERNAL_SERVER_ERROR", "errorAttributes":[]}], "result":{"code":500, "status": "ERROR", "message": "Internal server error"}}There was a connection error and the feed download was interrupted. Re-order the feed for processing.
[Processing error]: Client error: `POST http://mpapi.cs.mall.local/v1/products?client_id=***` resulted in a `400 Bad Request` response: { "errorCodes":[{ "message":"Value for parameter 'MP_PUBLISHER' is too long. Max length is 50 chars", "errorCode": "VALIDATION_ERROR", "errorAttributes":[]}], "result":{"code":400, "status": "ERROR", "message": "Value for parameter 'MP_PUBLISHER' is too long. Max length is 50 chars"}, "data":{"key": "product.parameters"}}Number of characters of parameter value exceeded. The maximum number of characters of the parameter value is 50.
[Processing error]: Client error: `POST http://mpapi.cs.mall.local/v1/products?client_id=***` resulted in a `400 Bad Request` response: { "errorCodes":[{ "message":"Your VAT with value 22 does not exist. Allowed VAT rates are 5, 18, 27.", "errorCode": "VALIDATION_ERROR", "errorAttributes":[]}], "result":{"code":400, "status": "ERROR", "message": "Your VAT with value 22 does not exist. Allowed VAT rates are 5, 18, 27."}, "data":{"key": "product.vat"}}There is no tax rate for the product in the country. It is necessary to enter the VAT for the country.
[Processing error]: Client error: `POST http://mpapi.cs.mall.local/v1/products?client_id=***` resulted in a `400 Bad Request` response: { "errorCodes":[{ "message":"Invalid value for barcode '85900011088333'. Max length is 13 chars.", "errorCode": "VALIDATION_ERROR", "errorAttributes":[]}], "result":{"code":400, "status": "ERROR", "message": "Invalid value for barcode '8594833939398333'. Max length is 13 chars."}, "data":{"key": "product.barcode"}}Number of characters exceeded for EAN. The maximum number of EAN characters is 13.
[Processing error]: Client error: `POST http://mpapi.cs.mall.local/v1/products?client_id=***` resulted in a `400 Bad Request` response: {"errorCodes":[{"message":"Unknown brand id 'S.O.S. decoration'", "errorCode": "VALIDATION_ERROR", "errorAttributes":[]}], "result":{"code":400, "status": "ERROR", "message": "Unknown brand id 'S.O.S. decoration'"}, "data":{"key": "product.brand_id"}}The brand in question is not based in our system and does not have an assigned BRAND ID. To create a brand in our system, follow the instructions here.
[Processing error]: Client error: `PUT http://mpapi.cs.mall.local/v1/products/2843?client_id=***` resulted in a `400 Bad Request` response: { "errorCodes":[{ "message":"Invalid value 0 (must be greater than 0) for item price.", "errorCode": "VALIDATION_ERROR", "errorAttributes":[]}], "result":{"code":400, "status": "ERROR", "message": "Invalid value 0 (must be greater than 0) for item price."}, "data":{"key": "product.price"}}The price of the product must be higher than 0.
[Processing error]: Client error: `POST http://mpapi.cs.mall.local/v1/products?client_id=***` resulted in a `400 Bad Request` response: { "errorCodes":[{ "message":"Unknown media ('https:\/\/www.mallfoto.cz\/photo\/433.jpg) size (missing Content-Length header)", "errorCode": "MEDIA_VALIDATOR", "errorAttributes":[]}], "result":{"code":400, "status": "ERROR", "message": "Unknown media ('https:\/\/www.mallfoto.cz\/photo\/433.jpg) size (missing Content-Length header)"}, "data":{"key": "product.media", "data":{"index":0, "data":{"url":'https:\/\/www.mallfoto.cz\/foto\/433.jpg', "main":true}}}}The image is missing mandatory metadata, namely the Content-Lenght header, which defines the size of the image in bytes. It is possible that it was removed when editing the image and needs to be added.
[Processing error]: Client error: "POST http://mpapi.cs.mall.local/v1/products?client_id=***“ resulted in a 400 Bad Request response:
 { "errorCodes":[{ "message": "Date (2020-11-15 00:00:00) cannot be in the history.", "errorCode": "VALIDATION_ERROR", "errorAttributes":[]}], "result":
 {"code":400, "status": "ERROR", "message": "Date (2020-11-15 00:00:00) cannot be in the history."}, "data":{"key":"product.promotions", "data":{ "index":0, "data":
 {„price“:“25.20″,“from“:“2020-10-25 00:00:00″,“to“:“2020-11-15 00:00:00″}}}}
The product contains an expired label or sale price. It is therefore necessary to extend the validity of the label or promotional price and insert the current date or remove the label from the feed altogether.
[Processing error]: Client error: `POST http://mpapi.cs.mall.local/v1/products?client_id=mp_xxx` resulted in a `400 Bad Request` response: {"errorCodes":[{"message": "Variant parameters missing", "errorCode": "VALIDATION_ERROR", "errorAttributes":[]}], "result":{"code":400, "status": "ERROR", "message":""Variant parameters missing"}, "data":{"variantIndex":0}} The error message indicates missing variant parameters for the product. For example, you have marked size (SIZE) as a variant parameter in the VARIABLE_PARAMS element, but this parameter is missing in the product structure. A variant parameter with a corresponding value must be specified for each variant.  
[Processing error]: Couldn't download feed, XMLReader::open(): Unable to open source dataCheck that the structure matches the XML file and that the XML file is accessible. 
[Processing error]: Client error: `POST http://mpapi.cs.mall.local/v1/products?client_id=mp_xxx` resulted in a `400 Bad Request` response: {„errorCodes“:[{„message“:“Invalid URL ‚https:\/\/www.yyy.cz\/image\/cache\/XXX\/\u000\u000,%20\u0000_cam1-600×800.png‘.“,“errorCode“:“MEDIA_VALIDATOR“,“errorAttributes“:[]}],“result“:{„code“:400,“status“:“ERROR“,“message“:“Invalid URL ‚https:\/\/www.yyy.cz\/image\/cache\/XXX\/\u000\u000,%20\u0000_cam1-600×800.png‘.“},“data“:{„key“:“product.media“,“data“:{„index“:0,“data“:{„url“:“h’https:\/\/www.yyy.cz\/image\/cache\/XXX\/\u000\u000,%20\u0000_cam1-600×800.png’main“:true}}}} Zkontrolujte zda je dané URL bez mezer v adrese, mezery je možné nahradit znakem „%20“. Obrázek musí byt online a URL adresa validní.
Validation error [line 18]: 'Element 'URL': This element is not expected. Expected is ( SWITCH ). ‚ There is an incorrect structure of the MEDIA element in the feed. Only 1 image can be inserted into 1 root MEDIA element. Example of correct structure: 
<MEDIA>
    <URL>https://yyy.com&nbsp;
    
true
 
</MEDIA> 
<MEDIA> 
    <URL>https://aaa.com&nbsp;
    
false
 
</MEDIA>
Validation error [line 42]: 'Element 'MEDIA': Character content other than whitespace is not allowed because the content type is 'element-only'. The notation has illegal spaces between elements. 
Validation error [line 10]: 'Element 'LONGDESC': Element content is not allowed, because the type definition is simple.  The LONGDESC element contains an incorrect entry of HTML characters. Basic HTML characters can be used.
"[Processing error]: Client error: `POST http://mpapi-internal.cs.mall.local/v1/products?client_id=mp_xxx` resulted in a `400 Bad Request` response: {"errorCodes":[{"message": "Label 'FDEL' is duplicated in your request.", "errorCode": "VALIDATION_ERROR", "errorAttributes":[]}], "result":{"code":400, "status": "ERROR", "message":"Label 'FDEL' is duplicated in your request."},“data“:{„key“:“product.labels“,“data“:{„index“:2,“data“:{„label“:“FDEL“,“from“:“2021-02-26 14:00:42″,“to“:“2021-03-26 14:00:42″}}}}“ A specific LABEL, in this example the FDEL label, can only be used once in a product.
Validation error [line 0]: 'Bad data type of parameter [TITLE], expected "string", received "array„‚The error message means that the TITLE element is empty and does not contain a value. Our system treats empty elements as an error.  
[Processing error]: Client error: `PUT http://mpapi-internal.cs.mall.local/v1/products/00212x?client_id=xxx` resulted in a `400 Bad Request` response: {"errorCodes":[{"message":"Value for rrp can not be updated. Variant is promoted.", "errorCode": "VALIDATION_ERROR", "errorAttributes":[]}], "result":{"code":400, "status": "ERROR", "message": "Value for rrp can not be updated. Variant is promoted."}, "data":{"key": "variant.rrp", "data":{"variantIndex":0}} The RRP (recommended retail price) element cannot be edited at the time of PROMOTION or SALE label validity.
[Processing error]: Client error: `PUT http://mpapi-internal.cs.mall.local/v1/products/duo-aaa_xxx_1111?client_id=mp_xxx` resulted in a `400 Bad Request` response: {"errorCodes":[{"message":"Media URL 'https:\/\/mall.cz\/resources\/photos\/xxx.jpg' is already used.", "errorCode": "MEDIA_VALIDATOR", "errorAttributes":[]}], "result":{"code":400, "status": "ERROR", "message": "Media URL 'https:\/\/mall.cz\/resources\/photos\/xxx.jpg' is already used."}, "data":{"key": "product.media", "data":{"index":5}} You cannot use the same image 2x in one product.
[Processing error]: Client error: `POST http://mpapi-internal.cs.mall.local/v1/products?client_id=xxx` resulted in a `400 Bad Request` response: {"errorCodes":[{"message":"Incorrect rrp '888.18'. Round it to 0 decimals.", "errorCode": "VALIDATION_ERROR", "errorAttributes":[]}], "result":{"code":400, "status": "ERROR", "message": "Incorrect rrp '888.18'. Round it to 0 decimals."}, "data":{"key": "product.rrp"}} The RRP value shall be entered rounded without decimal places. 
[Processing error]: Client error: `POST http://mpapi-internal.cs.mall.local/v1/products?client_id=mp_xxx` resulted in a `400 Bad Request` response: {"errorCodes":[{"message":"Media from url 'https:\/\/mall.cz\/XXX\/IMG2\/.jpg' cannot be loaded.", "errorCode": "MEDIA_VALIDATOR", "errorAttributes":[]}], "result":{"code":400, "status": "ERROR", "message": "Media from url 'https:\/\/mall.cz\/XXX\/IMG\/.jpg' cannot be loaded."}, "data":{"key": "product.media", "data":{"index":0, "data":{"url'https:\/\/mall.cz\/XXX\/IMG\/.jpg', "main":true}}}} The system cannot download the image. Make sure you are sending a functional URL for the image.
[Processing error]: Client error: `POST http://mpapi-internal.cs.mall.local/v1/products?client_id=mp_xxx` resulted in a `400 Bad Request` response: {"errorCodes":[{"message":"Unknown category id '65'", "errorCode": "VALIDATION_ERROR", "errorAttributes":[]}], "result":{"code":400, "status": "ERROR", "message": "Unknown category id '65′"}, "data":{"key": "product"}} Check that you have entered the correct category code. For category instructions, please see here
Categories may vary slightly from country to country, so we recommend checking the category you need. 
[Processing error]: Client error: `POST http://mpapi-internal.cs.mall.local/v1/products?client_id=mp_xxx` resulted in a `400 Bad Request` response: {"errorCodes":[{"message":"Invalid value for id '55555x'. Product ID is already used as a variant ID.", "errorCode": "VALIDATION_ERROR", "errorAttributes":[]}], "result":{"code":400, "status": "ERROR", "message": "Invalid value for id '55555x'. Product ID is already used as a variant ID."}, "data":{"key": "product.id"}} The product ID (element ID) and variant group ID (element ITEMGROUP_ID) must be unique. You cannot use the same ITEMGROUP_ID and ITEM_ID twice. At the same time, you cannot enter identical ITEMGROUP_ID and ITEM_ID. 
[Processing error]: Client error: `POST http://mpapi.cs.mall.local/v1/products?client_id=xxx` resulted in a `400 Bad Request` response: {"errorCodes":[{"message":"Invalid value for label 'PROMOTIONS'. Max length is 4 chars.", "errorCode": "VALIDATION_ERROR", "errorAttributes":[]}], "result":{"code":400, "status": "ERROR", "message": "Invalid value for label 'PROMOTIONS'. Max length is 4 chars."}, "data":{"key": "variant.labels", "data":{"variantIndex":0}} The label name (LABEL) is limited to a maximum of 4 characters. The labels that can be used are NEW, SALE, FDEL. For more information on setting up labels, please refer to our instructions here.

Remark: Error messages are continuously updated.
If you have encountered a report that is not on this list, please email us via Help Centre.

How useful was this post?

Click on the star to rate the post!

Average rating: 1.3 / 5. Number of votes: 18

No one has voted yet. Be the first to rate this post.

en_USEnglish