
ShanB.10778 (Customer) asked a question.
Hi,
I am trying to make an Okta Workflow, the idea to have an error card which get the following body response
body":{
"errorCode":"E0000001",
"errorSummary":"Api validation failed: login",
"errorLink":"E0000001",
"errorId":"oae89b-3ABhRLSr_KMESwyyxQ",
"errorCauses":[
{
"errorSummary":"login: Username must be in the form of an email address"
},
{
"errorSummary":"email: Does not match required pattern"
}]
}
I can access the object errorCauses of Body but unable to reach the first errorSummary i am getting null in return

The How to Read a JSON Path With Dot-Notation in Workflows KB might also help with this.