Hi, @Tim, I hope you are able to help me with the below. I am trying to run a token using an email address. When I run the token in postman, it returns successful but when I run it in the data action, it is providing the below error message. Can you tell me what I am doing wrong here?
Translation Map: {
"translationMap": {
"access_token": ".data[0].access_token"
},
"translationMapDefaults": {
"access_token": "\"\""
},
"successTemplate": "{ \"access_token\": {access_token} }"
}
Response ERROR:
{
"message": "Processing the Request Body Template resulted in invalid JSON.",
"code": "internal.server.error",
"status": 500,
"messageParams": {},
"contextId": "ba871123-45cf-403c-a6f0-caf126b3da2d",
"details": [
{
"errorCode": "ACTION.PROCESSING"
}
],
"errors": [
{
"message": "Unrecognized token 'smithavon': was expecting (JSON String, Number, Array, Object or token 'null', 'true' or 'false')\n at [Source: (String)"{\n "client_id": "ivr",\n "client_secret": "REDACTED_HANDLE_SECRETS_LIKE_PASSWORDS",\n "email": smithavon@yahoo.com\n}"; line: 4, column: 21]",
"code": "INTERNAL_SERVER_ERROR",
"status": 500,
"messageParams": {},
"details": [],
"errors": []
}
]
}