• 0
Sign in to follow this  
marcelomm

Erro Shipping method ids [100009] are not allowed for shipping mode [me2]

Question

Quando tento publicar com frete gratis ocorre este erro:

Shipping method ids [100009] are not allowed for shipping mode [me2]

 

Meu array:

Array
(
    [title] => Teste 1
    [category_id] => MLB3946
    [price] => 2.00
    [currency_id] => BRL
    [available_quantity] => 9
    [buying_mode] => buy_it_now
    [listing_type_id] => bronze
    [condition] => new
    [description] => Teste 1
    [video_id] => 
    [warranty] => 
    [pictures] => Array
        (
            [0] => Array
                (
                    [source] => http://www.domain.com/images/9003073-690-800.jpg
                )

        )

    [shipping] => Array
        (
            [mode] => me2
            [local_pick_up] => false
            [free_methods] => Array
                (
                    [0] => Array
                        (
                            [id] => 100009
                            [rule] => Array
                                (
                                    [free_mode] => exclude_region
                                    [value] => Array
                                        (
                                            [0] => BR-NO
                                            [1] => BR-NE
                                        )

                                )

                        )

                )

        )

)

Acessando a categoria https://api.mercadolibre.com/categories/MLB3946 e https://api.mercadolibre.com/users/USER_ID/shipping_modes?category_id=MLB3946 informa que está liberado me2

    "shipping_modes": - [...      "custom",      "me1",      "me2",      "not_specified",    ],    "mode": "me2",    "shipping_attributes": - {...      "dimensions": "clear",      "costs": "not_allowed",      "free": - {...        "methods": "optional",        "accepted_methods": - [...          100009,          182,        ],

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

Aluma solução para esse tópico? Estou enfrentando o mesmo problema. A categoria aceita frete grátis, consigo calcular o custo adicional para oferecer, mas na hora da publicação retorna 

 

  1. {
  2. "message": "Validation error",
  3. "error": "validation_error",
  4. "status": 400,
  5. "cause": [{
  6. "code": "invalid_parameters",
  7. "message": "Invalid free mode for method 100009"
  8. }]
  9. }

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.

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