• 0
Sign in to follow this  
Clement Hollander

Listing Type

Question

Hi Everyone,

 

I'm pretty new with Mercadolibre API and need to understand an error I receive when trying to push new products :

 

Listing type was null for params [gold_special, MLB182164]

 

Do you have an idea of what's happening here?

 

Here's what I want to push :

 

Array

(
    [available_quantity] => 1
    [category_id] => MLB182164
    [description] => <p style="text-align: center"><img src="https://refone.com.br/img/cms/ml/layout_ml_head.jpg"width="800" height="683" /></p><br><p style="width:700px !important; max-width: 700px !important; text-align: center !important; margin: 0 auto;">O Samsung Galaxy S4 GT-I9505 é a nova versão do famoso Galaxy S4. O design do smartphone não vai surpreender ninguém. Encontramos as mesmas linhas que as do antecessor em um tamanho fino (7,9 mm) e leve (130 gramas). Disponível em duas versões no lançamento (preto e branco brilhante) e novas cores estarão disponíveis mais tarde. Como sempre com celulares Galaxy S premium, a folha de especificações está voando muito alto e oferece as mais recentes melhorias do momento. O fabricante coreano optou por um chipset Qualcomm APQ8064T Snadragon 600, de 1.9 GHz e apoiado por 2GB de memória (RAM), todo com o sistema operacional Android 4.2.2 (Jelly Bean). O tamanho da tela é de 5 polegadas para uma resolução Full HD de 1080p (1920 x 1080 pixels). Em termos de Imagem, o Galaxy S4 também possui uma câmera de 13 megapixel, com gravação e reprodução de vídeos em Full HD 1080p. Observe a presença de uma câmera frontal (2 megapixels para vídeo call, e a função "Dual Camera", que permite tirar uma foto</p><p style="text-align: center"><img src="https://refone.com.br/img/cms/ml/layout_ml_foot.jpg" alt="" width="800" height="2225" /></p>
    [listing_type_id] => gold_special
    [price] => 699
    [title] => Galaxy S4 i9505 Preto • Grade B+NF e Garantia
    [currency_id] => BRL
    [condition] => used
    [pictures] => Array
        (
            [0] => Array
                (
                )
 
        )
 
    [shipping] => Array
        (
            [mode] => me2
            [local_pick_up] =>
        )
 
    [attributes] => Array
        (
        )
 
)
 

 

Best,

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Hi, i have the same error but in my case the Category exists (https://api.mercadolibre.com/categories/MCO166135),

can you help me pls.

Thx

 

error response:

{'message': 'Listing type was null for params [gold_special, MCO166135]', 'error': 'listing_type.invalid', 'status': 400, 'cause': []}

 

Json sended:
{'available_quantity': 8, 'shipping': {'costs': [{'description': 'SERVIENTREGA', 'cost': 0}], 'free_shipping': False, 'mode': 'custom', 'methods': [], 'local_pick_up': False}, 'seller_custom_field': '262394371132', 'listing_type_id': 'gold_special', 'title': 'Junta de Turbo para Subaru Impreza WRX Baja Sti TD04L TD05H', 'condition': 'new', 'pictures': [{'source': 'http://i.ebayimg.com/00/s/MTU0OVgxNTQ5/z/pPcAAOSw~gRV1ykN/$_1.JPG?set_id=880000500F'},{'source': 'https://smhttp-ssl-30865.nexcesscdn.net/pub/media/templates/imagen-mercadolibre.png'}], 'official_store_id': 69, 'category_id': 'MCO166135', 'currency_id': 'COP', 'automatic_relist': True, 'price': 68990, 'warranty': 'Este producto cuenta con un (1) mes de garantía de fábrica, la cual cubre daños por defectos del material o errores en la fabricación. La garantía No cubre mala manipulación por parte del usuario. Producto Nuevo Original y enviado desde USA. Versión en Inglés.', 'description': '<p>\n\t<span id="V3"> </span>\n</p>\n<div align="center" border="0" cellpadding="18" cellspacing="0" style="min-width: 100% !important;" width="100%">\n\n\t<div border="0" cellpadding="18" cellspacing="0" style="min-width: 100% !important;" width="100%">\n\t\t<img class="fr-dii fr-draggable" style="max-width: 100%; width: 1273px;" src="http://smhttp-ssl-30865.nexcesscdn.net/pub/media/images/templates/yaxa-azul-header.jpg" align="middle">\n\t</div>\n\t<div border="0" cellpadding="18" cellspacing="0" style="min-width: 100% !important;" width="100%">\n\t\t<img class="fr-dii fr-draggable" style="max-width: 100%; width: 1273px;" src="http://smhttp-ssl-30865.nexcesscdn.net/pub/media/images/templates/info-china.jpg" align="middle">\n\t</div>\n\t<div border="0" cellpadding="18" cellspacing="0" style="min-width: 100% !important;" width="100%">\n\t\t<img class="fr-dii fr-draggable" style="max-width: 100%; width: 1273px;" src="http://smhttp-ssl-30865.nexcesscdn.net/pub/media/images/templates/Importante-ebay.jpg" align="middle">\n\t</div>\n\t<div border="0" cellpadding="18" cellspacing="0" style="min-width: 100% !important;" width="100%">\n\t\t<img class="fr-dii fr-draggable" style="max-width: 100%; width: 1273px;" src="http://smhttp-ssl-30865.nexcesscdn.net/pub/media/images/templates/eBay.jpg" align="middle">\n\t</div>\n\t<div border="0" cellpadding="18" cellspacing="0" style="min-width: 100% !important;" width="100%">\n\t\t<div>\n\t\t\t<p style="text-align: center;">\n\t\t\t\t<span style="font-size:20px">\n\t\t\t\t<strong>\n\t\t\t\t\t<span style="color: #f28c00; font-size: 24px; width:100%;">Descripción</span>\n\t\t\t\t</strong>\n\t\t\t\t</span>\n\t\t\t</p>\n\t\t</div>\n\t\t<div style="text-align: left;">\n\t\t\t<h3 style="text-align: left;">Junta de Turbo para Subaru Impreza WRX Baja Sti TD04L TD05H</h3>\n\t\t\t\t<img width="200" align="middle" src="http://i.ebayimg.com/00/s/MTU0OVgxNTQ5/z/pPcAAOSw~gRV1ykN/$_1.JPG?set_id=880000500F" /><img width="200" align="middle" src="https://smhttp-ssl-30865.nexcesscdn.net/pub/media/templates/imagen-mercadolibre.png" />  \n\t\t\t<p style="text-align: left;">Junta de Turbo para Subaru Impreza Baja WRX Sti TD04L TD05H VF40 VF39 EJ20 EJ25 (empaque de una sola capa)<br><p>(Lo que ves, lo que obtienes)</p><ol><li>Downpipe Gasekt (una capa)</li><li>Junta del múltiple (una capa)</li><li>Junta entrada papel<br></li></ol><ul> <li>Un año de garantía</li> <li>Garantía de espalda de dinero</li> <li>Envío rápido de los Estados Unidos</li><p class="p" style="mso-pagination:widow-orphan; "><span class="15" style="font-family: "Comic Sans MS"; font-weight: bold; text-decoration: underline; font-size: 13.5pt;"></p>\n\t\t</div>\n\t</div>\n\t<div align="center" border="0" cellpadding="18" cellspacing="0" style="clear: both; min-width: 100% !important; text-align: left;" width="100%"></div>\n\n\t<p style="text-align: left;"><ul><li><b>Código:</b>262394371132</li><li><b>Marca de fábrica:</b>fasturbo2015</li><li><b>Número de pieza de fabricante:</b>49377-04300 49377-04100 14411AA670 VF40</li><li><b>Garantía:</b>Sí</li><li><b>UPC:</b>No se aplica</li></ul></p>\n\n\t<div border="0" cellpadding="18" cellspacing="0" style="min-width: 100% !important; clear:both;" width="100%">\n\t\t<img class="fr-dii fr-draggable" style="max-width: 100%; width: 1273px;" src="http://smhttp-ssl-30865.nexcesscdn.net/pub/media/images/templates/footer-yaxa-azul.jpg" align="middle">\n\t</div>\n</div>'}
 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this