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:
Thank you
Thank you for reaching out to Constant Contact API Developer Support. My team is here to assist outside software developers with questions about building into Constant Contact's API.
It looks like we've already followed up with you directly via email, but If you still need assistance with this, please let us know!
Here is the information provided for visibility on the forum:
When testing the body provided using our V3 API tester we were able to add the contact without issue. The only spot that might contain a potential malformed error would be the extra space between "first_name" and the colon (:) so it may have been more of a validation error rather than formatting.
Announcements
Join our list to be notified of new features and updates to our V3 API.
Sign Up