 <p>Looking at your code it appears there are 2 errors with your JSON. In it's original for it produces the follwoing string:</p> <pre><code>{"guid" : "26fac319-604b-11e5-b1fe", "senderid" : "003001", "campaign" : Weekday_EGV_21Sept_4pm_Round2_Tier1_Part1}} </code></pre> <p>You are missing quotes around that final field value of <code>campaign</code> and you have an extra <code>}</code> at the end. If you make the following change:</p> <pre><code>json_body = "{\"guid\" : \""+ guid+"\", \"senderid\" : \""+ senderid+"\", \"campaign\" : \""+ str(campaign)+"\"}" </code></pre> <p>it should resolve the JsonParseException error.</p>