The following article lists the most common error messages for MALL XML feeds and their meanings. Based on this information, fixing bugs in the MALL XML feed will be easier.

Instructions on where to find a list of error messages can be found in our article Inserting MALL XML feeds into the portal, working with intervals and error messages.
When correcting error messages, please follow the rules described in instructions for compiling MALL XML feeds.

The list of errors below is also valid for partners with API connection type. These messages may return in response to your call. Subsequently, it is necessary to modify the structure of the call so that the message is removed.

Important:
Duplicate ID in your feed is not possible. If you enter the same product ID more than once in the feed, the system will load only one of these products, ignoring all others. There is no error message in the log about this fact, so pay attention to the uniqueness of your identifiers. If you have more variants of one product, use the option of creating variant products according to our documentation.

Attention:
The error log does not identify which specific product generates the error, so please always check the settings of 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 errors. In this case, the errors must be corrected gradually.

Product feed

Error message:Meaning:
Validation error [line 17]: 'Element' PARAM ': This element is not expected.'
The PARAM element is only an example here, 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 missing. Follow instructions for MALL XML feeds.
If you do not use optional elements such as VARIABLE_PARAMS in the feed, do not insert them as empty elements, remove them altogether. The system evaluates as faulty all forms of empty elements: , , 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, the following error message appears. Follow the MALL XML feed instructions.
If you are not going to use optional elements such as VARIABLE_PARAMS in the feed, do not insert them as empty elements, delete 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 be no empty elements without a value in the feed, the system evaluates this as an error. This applies to all elements. You will need to insert a value into the element to correct it.
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: image url " , “Main”: true}}}}The image size is limited to 2 MB, so this message indicates that this limit has been exceeded in the image.
You will find the conditions for inserting images to the products 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 \ / foto \ /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 \ / foto \ /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 of the product image has been exceeded, which is 2000px x 2000px.
You will find the conditions for inserting images to the products 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 \ u0142adniki Alkohol denat. water Perfumy Methyloglucose ether PPG-20 Butylomethoxysydibenzoilomethane Methoxycysynonite ethylhexylsyl Salicylate ethylohexyl Sulfate of sodium BHT Butylophenylomethylopropion 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. water Perfumy Methyloglucose ether PPG-20 Butylomethoxysydibenzoilomethane Methoxycysynonite ethylhexylsyl Salicylate ethylohexyl Sulfate of sodium BHT Butylophenylomethylopropion Citral Citronellol Eugenol Geraniol Hexyl cinnamal Limonene Linalool…. Max length is 300 chars. "}," Data ": {" key ":" product.shortdesc "}}The maximum number of characters in the short label (SHORTDESC) is 300 characters, so the message warns that this limit has been exceeded.
The description must be shortened. You will find the conditions for creating the correct short description 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 “}}EAN validation is connected to the GS1 database. The message therefore announces that the given 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 u," MP_LANGUAGE ":" \ u010desky "}}}}The parameter (MP_PUBLISHER in the example) does not exist for the category (MP1210S in the example).
Each category has a defined set of parameters that can be used in that category.
This error message notifies you if you have used a parameter that is not in the set and therefore 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)A connection error occurred and the feed download was interrupted. Restart the feed for processing.
[Processing error]: Product ID '00103769' activation failed‚.The product has the value Live 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 products as live.
Because the live value is set only when the product is published online, 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"}}A connection error occurred and the feed download was interrupted. Restart 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 "}}Parameter value characters exceeded. The maximum number of characters in 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 that country. It is necessary to enter VAT for the given 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 '859483393939398333'. Max length is 13 chars. "}," Data ": {" key ":" product.barcode "}}EAN characters exceeded. 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 'SOS decoration' ", "ErrorCode": "VALIDATION_ERROR", "errorAttributes": []}], "result": {"code": 400, "status": "ERROR", "message": "Unknown brand id 'SOS decoration'" }, "Data": {"key": "product.brand_id"}}The brand is not based in our system and does not have a BRAND ID assigned. Follow the instructions to create a brand in our system 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 bigger than 0) for item price.", "ErrorCode": "VALIDATION_ERROR", "errorAttributes": []}], "result": {"code": 400, "status": "ERROR", "message": "Invalid value 0 (must be bigger than 0) for item price. "}," Data ": {" key ":" product.price "}}Product price 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 \ / foto \ /433.jpg) size (missing Content-Length header) ", "ErrorCode": "MEDIA_VALIDATOR", "errorAttributes": []}], "result": {"code": 400, "status": "ERROR", "message": "Unknown media (‚ https: \ / \ /www.mallfoto.cz \ / foto \ /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 lacks mandatory metadata, specifically the Content-Length header, which defines the size of the image in bytes. It is possible that it was deleted when editing the image and it is necessary to add it.
[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 includes an expired label or promotional price. It is therefore necessary to extend the validity of the label or the special price and insert the current date or remove the label from the feed completely.
[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 dataMake sure 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'. Spaces between elements are not allowed in the notation. 
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 (FDEL label in this example) 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}} The same image cannot be used twice 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
The categories may differ slightly from country to country, so we recommend checking the required category. 
[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 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 see the instructions here.

Note: We continuously update error messages.
If you come across a message that is not in this list, write to us via FAQ.

How useful was this post?

Click on the star to rate the post!

Average rating: / 5. Number of votes:

No votes yet! Be the first to rate this post.