• 0
Sign in to follow this  

Error updating price (Java SDK)


When I was trying to update price or title of one item i got this :



    "message": "The caller is not authorized to access this resource",
    "error": "forbidden",
    "status": 403,
    "cause": []
used code bellow 
public static void atualizaPreco() throws MeliException, IOException{
Meli ml = new Meli(Config.getcId(),Config.getcSecret(),Config.getACESS_TOKEN(),Config.getREFRESH_TOKEN());
params = new FluentStringsMap();
params.add("acess_token", ml.getAccessToken());
response = ml.put("/items/MLB795692931", params,  "{\"title\":\"tituloteste\"}");


Share this post

Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

já deu um print no access_token para ver se há alguma informação? ele está válido?

já tentou um get para ver se retorna? veja no mesmo produto se aparece o campo seller_custom_field

já tentou usá-lo numa consulta na barra de endereço?


Acho que vou dar curso de programação...

Share this post

Link to post
Share on other sites

Join the conversation

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

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.

Sign in to follow this