Hello,
I’m copying an API call I’m doing from postman and that is working correctly but in Bubble is not detecting the correct values for the body. This is the body request (it’s a post with no headers ):
{
“locale”: “fr_FR”,
“product”: {
“offerId”: 123321,
“dates”: {
“checkIn”: “24-10-2023”
},
“activities”: [
{
“id”: 1312,
“date”: “24-10-2023”
},
{
“id”: 1314,
“date”: “24-10-2023”
}
]
},
“box”: {
“serialNumber”: “222222”,
“activationCode”: “445543”
}
}
And Bubble’s response:
Raw response for the API
Status code 400
{“appName”:“Shopping Cart Service”,“date”:“2023-06-14 07:39:13:591”,“traceId”:“24f659bcd3986c52”,“errorCode”:“BAD_REQUEST”,“messages”:[“locale: must not be blank”],“path”:“uri=/carts”}
With the same configuration in Postman I’m being able to do what I want.