Join our Ask A Trainer Sessions and Chat With our Experts!

Key Rate Limit Increase Needed - Queries-Per-Second Quota

user62445
Rookie
0 Votes

Hello! While we were able to connect our Constant Contact account to 360 View, but not completely. Our dev team received the following error message:

 

 “The Mashery account associated with this request is over its queries-per-second quota.”

 

_360View.ConstantContact.LoadCampaigns - Failed to get response from https://link.edgepilot.com/s/457dcf05/2XN7IGJEBE_d7y1m3uwFMA?u=https://api.constantcontact.com/v2/em....

Reason: Forbidden; Response Content: [{ "error_key":"mashery.not.authorized.over.qps", "error_message":"The Mashery account associated with this request is over its queries-per-second quota." }]

 

We are still mystified as to how to solve this problem. Any insight would be very helpful.

 

Please contact me at [redacted]. Thank you!

1 REPLY 1
John__B
Employee
0 Votes

Hello user62445,

 

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 here is the information provided for visibility on the forum:

 

As with most APIs, our API has rate limits to help maintain stability and security. Our standard API access has a rate limit of 10,000 calls per day, and 4 calls per second. Once your key has hit its limit, your calls will see this error until the next day (or the next second if going over your queries-per-second limit)

 

429: Too Many Requests

https://v3.developer.constantcontact.com/api_guide/glossary_responses.html#429-too-many-request 

 

To avoid the queries per second error response, You could set up your application to only make synchronous refresh calls with a 1 second latency, having code execution wait for the API call to return and wait a full second before allowing another request.

 

If you are planning on making an application that would be available and potentially used by a large base of customers then I would suggest you look into becoming a Technology Partner with Constant Contact. There is no price involved with this and the basics are to just create and maintain your app, though there are other parts to it. Members of our partner program are given 250,000 calls per day and up to 10 calls per second. To associate your API Key with a partnership, you can look into becoming a Technology Partner: https://www.constantcontact.com/partners/technology  

 

Also, if you'd like any insight or suggestions on cutting down on the amount of calls used based on the data that your application sends/receives, please feel free to send us an example of the endpoints you're calling and/or what specific data you need for each account and we're happy to take a look and see if we can suggest a way to use fewer endpoint calls to accomplish the same task.

 

Please have a look and let us know if you have any other questions!

 

Regards,


John B.
API Support Specialist
Did I answer your question? If so, please mark my post as an "Accepted Solution" by clicking the Accept as Solution button in the bottom right hand corner of this post.
Resources
Developer Portal

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

Visit Page

Announcements

API Updates

Join our list to be notified of new features and updates to our V3 API.

Sign Up