The Community is hosting an End of Summer sweepstakes! Participants must complete tasks to earn tickets that will enter them with a chance to win a free year of Constant Contact and other great prizes!*
*No Purchase Necessary. For Official Rules, visit here. Constant Contact’s End of Summer 2020 Sweepstakes ends on October, 20, 2020 at 11:50 PM EST.

Problem with uploading contact lists: Unable to parse JSON payload.

Highlighted
New Member

Problem with uploading contact lists: Unable to parse JSON payload.

I am getting a mysterious parsing error while attempting to upload a contact list package via the v2 api.

 If I submit this request my request is successful:

 

{payload redacted because it contained live email addresses}

 

But why? What to do to fix? I am using the same class method so send packages with a couple thousand contacts, but this measily package with less than 40 is crashing at the same point!

 

Please help before I pull out all my hair!

Thanks

-Kurt

2 REPLIES 2
Highlighted
New Member

Re: Problem with uploading contact lists: SOLVED

Fixed my own **bleep** problem.

Hair to spare.

Email address had a space in it.

Never trust your data.

Highlighted
Employee

Re: Problem with uploading contact lists: SOLVED

Hi Kurt,

 

Thanks for the update!  I'm going to delete the payload from your first message so that your contacts' email addresses can't be scraped from the webpage!  

 

Best Regards,

Shannon Wallace

Partner API Support Engineer

Developer Portal

View API documentation, code samples, get your API key.

Visit Page

Constant Contact 2020 End of Summer Community Sweepstakes!

The Constant Contact User Community is hosting a sweepstakes. The more you participate, the more chances you have to win! Read on to learn more...

Read More
Featured