cancel
Showing results for 
Search instead for 
Did you mean: 
Tonight from 11:00 PM - 12:00 AM ET we need to make a few updates to our site.
We recommend finishing up your work before 11:00 PM and logging in after 12:00 AM.
Thank you for your patience while we make these important updates.

API Submitting Contacts limits?

Highlighted
Occasional Visitor

API Submitting Contacts limits?

HI,

 

Getting a strange error every once in a while when submitting contacts via the API (on behalf of our clients).  We'll get a client that we'll try and push data to their ConstantContact account (via the endpoint

https://api.constantcontact.com/v2/contacts?api_key=xxxxxxxxxxxxxxxxxxxxxx&action_by=ACTION_BY_VISITOR

 

and we'll get the following response:

 

[
    {
       "error_key": "http.status.bad_request",
       "error_message": "Bad request."
    }
]

 

I can submit the exact data to a test account and it works just fine.  Usually, if i attemp submitting the data again the next day it works just fine.

 

So my only working theory at this point is that there might be some sort of timed limit on adding contacts (or something related to adding contacts) on the clients account that is throwing this error...

 

Any other ideas?  Or does anyone know of limits that could causing this behavior?

 

 

 

 

 

 

Tags (2)
1 REPLY 1
Moderator

Re: API Submitting Contacts limits?

Hello,

 

Thank you for reaching out to the API Support team here at Constant Contact.

 

If you were hitting our submission limits, the error you get would indicate that. If you are seeing a 400 Bad Request error, that usually means something about the request was improperly formatted or missing. In order to troubleshoot this in more detail I would need more information about the call you are having trouble with.

I'd be happy to help in any way that I can so I would suggest emailing us at webservices@constantcontact.com for privacy, and include the payload you are sending, the API key you are using, the date/time you saw the error, and details about the account you are trying to call to. That way we can look at the specific example and provide an answer.

 

Please let me know if you have any other questions!

 

Sincerely,

David B.

API Support Specialist