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.

Error Message Bulk Add Contacts: "error_key":"query.param.invalid"

Highlighted
Occasional Contributor

Error Message Bulk Add Contacts: "error_key":"query.param.invalid"

Trying to utilize the Add Contacts - Bulk Activities API and am getting an error message which I am unable to figure out what it means - hoping someone might know.

 

Status Code Returned: 400 Bad Request

{"error_key":"query.param.invalid","error_message":"The query parameter is not supported."}

 

Thanks!

1 REPLY 1
Highlighted
Regular Advisor

Re: Error Message Bulk Add Contacts: "error_key":"query.param.invalid"

Hello,

 

Thanks for posting!  It's difficult to troubleshoot a request body with looking at it, so here are a couple of suggestions:

 

1.  Make sure the JSON is valid.  Drop the payload into a validator like the one at http://jsonformatter.curiousconcept.com/ and make sure there isn't and extra comma or quote somewhere.

2.  The property names have to exactly match what is in the structure page.  That is here:

http://developer.constantcontact.com/docs/bulk_activities_api/bulk-activities-add-contacts.html

 

Hope these help.  If you still encounter problems, you can send an email to webservices@constantcontact.com with the details of what you're trying to do and we'll help as soon as we can.

 

Regards,

 

Andrew B.

Constant Contact

API Support

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