We all started somewhere! Share your experience on the Get Advice: Let's Get Started Sweepstakes thread and be entered to win a $100 credit on your Constant Contact account.

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

ArthurF78
Regular Participant

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
AndrewB776
Member

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