• 0
Alexandre

Cadastro de Itens - Erro no cadastro de item - POST

Question

Boa tarde estou tentando criar um novo item através do REST CONSOLE e estou recendo a mensagem abaixo, minha aplicação esta habilitada para leitura, escrita e dados offiline, por favor vocês poderiam me auxiliar.

 

https://api.mercadolibre.com/items?access_token=APP_USR-6092-071713-**************__G_C__-135370176

 

  1. {
  2. "message": "Unauthorized scopes",
  3. "error": "unauthorized_scopes",
  4. "status": 401,
  5. "cause": []
  6. }

 

O Body da mo Json segue abaixo

 

{

  "title":"TONY SEIXAS",
  "subtitle":"TONY SEIXAS",
  "category_id":"MLB1071",
  "price":10,
  "currency_id":"BRL",
  "available_quantity":1,
  "buying_mode":"buy_it_now",
  "listing_type_id":"free",
  "condition":"new",
  "description": "Item:, <strong> Ray-Ban WAYFARER Gloss Black RB2140 901 </strong> Model: RB2140. Size: 50mm. Name:    WAYFARER. Color: Gloss Black. Includes Ray-Ban Carrying Case and Cleaning Cloth. New in Box",
  "video_id": "YOUTUBE_ID_HERE",
  "warranty": "12 months by Ray Ban",
  "pictures":[
  ]
}

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Ola Alexandre I will explain it on english because my Portuguese is very bad 


 


You are using the "GET TOKEN FOR TEST BUTTON" and the token is only for scope read, try to create your own token with write scope in order to post an item.


For doing that you must create an app on applications.mercadolibre.com and for getting a fast token go to getting started http://developers.me...first-step/ and"Give it a try with your App!"


 


Regards


Leandro


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