• 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

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