invalid syntax or bad data

invalid syntax or bad data

I keep on getting this error even if I follow your documentation and support information (from here) on how to create a contact.

Can you help to resolve this issue?

 

{
  "email_address": {
         "address": "jamesdean@yahoo.com"
   },
   "first_name" : "James",
  "create_source": "Contact"
}

 

response:

[ { "error_key": "accountsvc.api.invalid_data", "error_message": "invalid syntax or bad data" }

 

response code: 400

 

 

Please this is urgent. Kindly advice what was wrong with the json data.

 

Guides followed: 

https://community.constantcontact.com/t5/Developer-Support-ask-questions/API-v3-Creating-contact-inv...

https://v3.developer.constantcontact.com/api_guide/contacts_create.html?_ga=2.139674427.926330700.16...

 

 

Thank you

 

0 REPLIES 0
Developer Portal

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

Visit Page