Problem "The name of the following parameters is wrong : [additional_info.shipments.width, additional_info.shipments.height]" #327
Unanswered
ViniciusCosta1234
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I am using the cURL available on Mercado Pago's website, and I am encountering the following error. How can I resolve this?
{
"additional_info": {
"items": [
{
"id": "MLB2907679857",
"title": "Point Mini",
"description": "Point product for card payments via Bluetooth.",
"picture_url": "https://http2.mlstatic.com/resources/frontend/statics/growth-sellers-landings/device-mlb-point-i_medium2x.png",
"category_id": "electronics",
"quantity": 1,
"unit_price": 58.8,
"type": "electronics",
"event_date": "2023-12-31T09:37:52.000-04:00",
"warranty": false,
"category_descriptor": {
"passenger": {},
"route": {}
}
}
],
"payer": {
"first_name": "Test",
"last_name": "Test",
"phone": {
"area_code": 11,
"number": "987654321"
},
"address": {
"street_number": null
}
},
"shipments": {
"receiver_address": {
"zip_code": "12312-123",
"state_name": "Rio de Janeiro",
"city_name": "Buzios",
"street_name": "Av das Nacoes Unidas",
"street_number": 3003
},
"width": null,
"height": null
}
},
"application_fee": null,
"binary_mode": false,
"campaign_id": null,
"capture": false,
"coupon_amount": null,
"description": "Payment for product",
"differential_pricing_id": null,
"external_reference": "MP0001",
"installments": 1,
"metadata": null,
"payer": {
"entity_type": "individual",
"type": "customer",
"id": null,
"email": "[email protected]",
"identification": {
"type": "CPF",
"number": "95749019047"
}
},
"payment_method_id": "master",
"token": "ff8080814c11e237014c1ff593b57b4d",
"transaction_amount": 58.8
}
And here is the error:
{
"message": "The name of the following parameters is wrong : [additional_info.shipments.width, additional_info.shipments.height]",
"error": "bad_request",
"status": 400,
"cause": [
{
"code": 8,
"description": "The name of the parameters is wrong.",
"data": "21-05-2024T02:02:50UTC;5f237689-d3af-487b-8bf4-c82b15edb5c9 -> Indication: Check the fields in the request body"
}
]
}
Beta Was this translation helpful? Give feedback.
All reactions