When I hit our API and produce an error, I get the following response:
{
"errors": [
{
"status": "400",
"title": "Bad Request",
"detail": "There is already a user attribute by the name \"Attr1\", please adjust."
}
]
}
How would I reference the detail field?
I have tried body.errors[0].detail but it isn't giving me anything back.
I am trying to parse it back like this:
"response": {
"errors": {
"message": {
"error": "[{{statusCode}}-{{body.errors[0].title}} - {{body.errors[0].detail}}]"
}
},
"type": "json"
}