I am parsing a result of an API Get. Here is the sample of the JSON
{
"phones": [
{
"phonetype": {
"id": "D83004",
"formattedvalue": "Mobile",
"value": "Mobile"
},
"entry": 817,
"phonenumber": "1 3361111111",
"primary": true
},
{
"phonetype": {
"id": "D83001",
"formattedvalue": "Work",
"value": "Work"
},
"entry": 101
},
{
"phonetype": {
"id": "D83001",
"formattedvalue": "Work",
"value": "Work"
},
"entry": 100,
"phonenumber": "1 3362222222"
},
{
"phonetype": {
"id": "D83002",
"formattedvalue": "Home",
"value": "Home"
},
"entry": 520,
"phonenumber": "1 3360001111"
},
{
"phonetype": {
"id": "D83004",
"formattedvalue": "Mobile",
"value": "Mobile"
},
"entry": 521,
"phonenumber": "1 3363333333"
}
],
"links": [
{
"rel": "self",
"title": "The current profile being viewed.",
}
]
}
I am using the Output tab of the parser to get my array names correct, but when parsing I get the same error no matter what I do -A JSONObjectOrdered text must begin with '{' at 1 [character 2 line 1]-. The parser itself fails.
Activity name:JSONParser8930 id:1 started @ 06/14/2021 08:19:49.680 PM
JSON JSONParser8930: Executing JSON Parser activity node
JSONParser8930_errorCode = -1
JSONParser8930_informationCode = -1
JSONParser8930_returnMessage = A JSONObjectOrdered text must begin with '{' at 1 [character 2 line 1]
JSONParser8930_outputData =
A JSONObjectOrdered text must begin with '{' at 1 [character 2 line 1]
Activity name:JSONParser8930 id:1 failed @ 06/14/2021 08:19:49.706 PM
Can anyone tell me what that error really means? I have a { at the beginning of the output.
Thanks!
Maggie