JSON escape & ???

madslindenmadslinden Expensify Customer Posts: 6

Hi guys

the & character is making my call fail. i don't see what I'm doing wrong as & char shouldn't be escaped or anything.

see below : "name": "Mallorca 365 Spot - Golf & Gourmeurmet",


requestJobDescription={

"type":"update",

"credentials":{

"partnerUserID": "ZZZZZZ",

"partnerUserSecret": "ZZZZZ"

},

"inputSettings":{

"type":"policy",

"policyIDList": ["B1E9839DC6118BB6"],

},

      "tags": {

      "data": [

        {

         "name": Project,

"tags": [

{

"name": "Mallorca 365 Spot - Golf & Gourmeurmet",

"enabled": "true",

"glCode": "13"

}

]

}

]

}

}

"responseMessage":"'requestJobDescription' is not valid JSON: Unterminated string at 437 [character 45 line 17]","responseCode":500}

Answers

Sign In or Register to comment.