Getting a 400 error using HTTPS request activity

I have configured the HTTPS request with Content-Type=“application/json” and Authorization="Bearer + keyvar ". and body “{ ‘personalizations’: [ {
‘to’: [ { ‘email’: ‘xyz’, ‘name’: ‘abc’} ] }”

error: {
“errors”: [
{
“message”: “Bad Request”,
“field”: null,
“help”: null
}
]
}

The API call works through postman.

@rruheen

Welcome to the community

Did you happen to import the curl from postman into UiPath?

That way it would be recreated the same way

Aos instead of songle quotes try double quotes in body …you need to use "" to escape the doublequote

Cheers