• 0
Sign in to follow this  
Jon Mac

item.variations.attribute_combinations.custom.limit_exceeded - No puedo actualizar Categoria

Question

Hola a todos  , como estan?
Soy novato en programacion estoy recien estudiando php ,   pero hice  una aplicacion para actualizar mis productos con bash =0

El problema es con una categoria en particular.
category_id":"MLA370459
Ya que los otros 400 productos que importo no tienen ningun problema.
El error es el siguiente

{"message":"Validation error","error":"validation_error","status":400,"cause":[{"department":"items","cause_id":159,"type":"error","code":"item.variations.attribute_combinations.custom.limit_exceeded","references":["item.variations[3].attributes","item.variations[3].attributes_combinations"],"message":"Only one custom attribute is allowed. Found: [[CUST-ATTR-TALLE, CUST-ATTR-COLOR]]"},{"department":"items","cause_id":159,"type":"error","code":"item.variations.attribute_combinations.custom.limit_exceeded","references":["item.variations[5].attributes","item.variations[5].attributes_combinations"],"message":"Only one custom attribute is allowed. Found: [[CUST-ATTR-COLOR, CUST-ATTR-TALLE]]"},{"department":"items","cause_id":159,"type":"error","code":"item.variations.attribute_combinations.custom.limit_exceeded","references":["item.variations[2].attributes","item.variations[2].attributes_combinations"],"message":"Only one custom attribute is allowed. Found: [[CUST-ATTR-TALLE, CUST-ATTR-COLOR]]"},{"department":"items","cause_id":159,"type":"error","code":"item.variations.attribute_combinations.custom.limit_exceeded","references":["item.variations[7].attributes","item.variations[7].attributes_combinations"],"message":"Only one custom attribute is allowed. Found: [[CUST-ATTR-COLOR, CUST-ATTR-TALLE]]"},{"department":"items","cause_id":159,"type":"error","code":"item.variations.attribute_combinations.custom.limit_exceeded","references":["item.variations[6].attributes","item.variations[6].attributes_combinations"],"message":"Only one custom attribute is allowed. Found: [[CUST-ATTR-TALLE, CUST-ATTR-COLOR]]"},{"department":"items","cause_id":159,"type":"error","code":"item.variations.attribute_combinations.custom.limit_exceeded","references":["item.variations[4].attributes","item.variations[4].attributes_combinations"],"message":"Only one custom attribute is allowed. Found: [[CUST-ATTR-COLOR, CUST-ATTR-TALLE]]"},{"department":"items","cause_id":162,"type":"error","code":"item.variations.attribute_combinations.custom.limit_exceeded","references":["item.variations.attribute_combinations"],"message":"Only one custom attribute is allowed on item variations. Found: [CUST-ATTR-COLOR, CUST-ATTR-TALLE]"},{"department":"items","cause_id":159,"type":"error","code":"item.variations.attribute_combinations.custom.limit_exceeded","references":["item.variations[1].attributes","item.variations[1].attributes_combinations"],"message":"Only one custom attribute is allowed. Found: [[CUST-ATTR-COLOR, CUST-ATTR-TALLE]]"},{"department":"items","cause_id":159,"type":"error","code":"item.variations.attribute_combinations.custom.limit_exceeded","references":["item.variations[0].attributes","item.variations[0].attributes_combinations"],"message":"Only one custom attribute is allowed. Found: [[CUST-ATTR-COLOR, CUST-ATTR-TALLE]]"},{"department":"items","cause_id":315,"type":"warning","code":"item.price.dropped","references":["item.price"],"message":"Item price was dropped by the highest-price variation."}]}

Este es el Json que envio

{
    "title":"Pretal Perro Animal Print 1,5 cm mas correa",
    "warranty": "Productos originales con garantías oficiales.Todos Nuestros Producto tienen garantia.", 
     "category_id":"MLA370459",



    "condition":"new",

"pictures":[
    {"source":"https://quierotodo.com.ar/img/p/1/2/9/129.jpg"},
    {"source":"https://quierotodo.com.ar/img/p/1/2/8/128.jpg"},
    {"source":"https://quierotodo.com.ar/img/p/1/1/8/2/1182.jpg"},
],
"variations":[
{
    "price":"255",
"attribute_combinations":[
{
    "name":"COLOR",
    "value_name":"Gris"
},
{
    "name":"Talle",
    "value_name":"Talle 0"
},
],
    "available_quantity":"110",
"picture_ids":[
    "https://quierotodo.com.ar/img/p/1/2/8/128.jpg",
    "https://quierotodo.com.ar/img/p/1/1/8/2/1182.jpg",
],
},
{
    "price":"255",
"attribute_combinations":[
{
    "name":"COLOR",
    "value_name":"Rosa"
},
{
    "name":"Talle",
    "value_name":"Talle 0"
},
],
    "available_quantity":"110",
"picture_ids":[
    "https://quierotodo.com.ar/img/p/1/2/9/129.jpg",
    "https://quierotodo.com.ar/img/p/1/1/8/2/1182.jpg",
],
},
{
    "price":"255",
"attribute_combinations":[
{
    "name":"COLOR",
    "value_name":"Gris"
},
{
    "name":"Talle",
    "value_name":"Talle 1"
},
],
    "available_quantity":"110",
"picture_ids":[
    "https://quierotodo.com.ar/img/p/1/2/8/128.jpg",
    "https://quierotodo.com.ar/img/p/1/1/8/2/1182.jpg",
],
},
{
    "price":"255",
"attribute_combinations":[
{
    "name":"COLOR",
    "value_name":"Rosa"
},
{
    "name":"Talle",
    "value_name":"Talle 1"
},
],
    "available_quantity":"110",
"picture_ids":[
    "https://quierotodo.com.ar/img/p/1/2/9/129.jpg",
    "https://quierotodo.com.ar/img/p/1/1/8/2/1182.jpg",
],
},
{
    "price":"255",
"attribute_combinations":[
{
    "name":"COLOR",
    "value_name":"Gris"
},
{
    "name":"Talle",
    "value_name":"Talle 2"
},
],
    "available_quantity":"110",
"picture_ids":[
    "https://quierotodo.com.ar/img/p/1/2/8/128.jpg",
    "https://quierotodo.com.ar/img/p/1/1/8/2/1182.jpg",
],
},
{
    "price":"255",
"attribute_combinations":[
{
    "name":"COLOR",
    "value_name":"Rosa"
},
{
    "name":"Talle",
    "value_name":"Talle 2"
},
],
    "available_quantity":"110",
"picture_ids":[
    "https://quierotodo.com.ar/img/p/1/2/9/129.jpg",
    "https://quierotodo.com.ar/img/p/1/1/8/2/1182.jpg",
],
},
{
    "price":"255",
"attribute_combinations":[
{
    "name":"COLOR",
    "value_name":"Gris"
},
{
    "name":"Talle",
    "value_name":"Talle 3"
},
],
    "available_quantity":"110",
"picture_ids":[
    "https://quierotodo.com.ar/img/p/1/2/8/128.jpg",
    "https://quierotodo.com.ar/img/p/1/1/8/2/1182.jpg",
],
},
{
    "price":"255",
"attribute_combinations":[
{
    "name":"COLOR",
    "value_name":"Rosa"
},
{
    "name":"Talle",
    "value_name":"Talle 3"
},
],
    "available_quantity":"110",
"picture_ids":[
    "https://quierotodo.com.ar/img/p/1/2/9/129.jpg",
    "https://quierotodo.com.ar/img/p/1/1/8/2/1182.jpg",
],
},
]}

 

Por lo que entiendo  esta categoria no permite mas de un Custom Atributo pero  si se fijan en  https://api.mercadolibre.com/items/MLA753843408
 

Tiene Color y Talle configurados pero no me permite actualizar.
Muchas Gracias

 

@ P.d Ay alguna guia o algo para aprender a programar Mercadolibre  con Php ? Ya que no soy programador ni nada parecido solamente curioso


Jonathan
 

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this