Good evening,
I am working with a Keap client’s production environment and have recently run into an API response that I’m not overly familiar with and was wondering if anyone could please help shed some light and break down exactly what it means?
We’ve received the following error across 10 orders submitted via the v1 REST API using the client’s Legacy API key over a few days in the last week. It’s worth noting that I also received this error once while working within the sandbox environment as well over the last week.
{
"fault": {
"faultstring": "Spike arrest violation. Allowed rate : MessageRate{messagesPerPeriod=25, periodInMicroseconds=6000000, maxBurstMessageCount=1.0}",
"detail": {
"errorcode": "policies.ratelimit.SpikeArrestViolation"
}
}
}
Note: The period in microseconds has ranged from 5-7 seconds.
The dates and times that this occurred are as follows (all times are in CDT)
7/8/22 4:38:14 PM
7/9/22 2:14:27 PM
7/11/22 8:10:54 AM
7/11/22 10:13:41 AM
7/11/22 1:20:53 PM
7/11/22 2:51:15 PM
7/11/22 3:07:11 PM
7/12/22 11:34:58 AM
7/12/22 2:49:07 PM
7/12/22 10:34:13 PM
The only reference to the error that I’ve seen is within some Google Apigee documentation, which I believe Keap is using Apigee as their API proxy provider if I’m remembering correctly.
From that documentation it indicates that this error is caused by exceeding a request threshold. While I do not believe that it’s likely that we’re hitting the API threshold, I have added some additional logging within our app to help verify that when/if the error occurs again. Though it is odd that I also received the error in the sandbox environment within the same week or so and I’m fairly certain I was not making that many requests assuming the info below on thresholds that I’ve seen is still accurate.
Can anyone please verify or provide clarity on the following -
Based on what I said above, is my understanding of that error correct?
Are these thresholds still current?
Quotas and Throttles:
5 Queries per Second
120 Queries per Minute
15000 Queries per Day
If correct, are the above thresholds per origin server making the request, or tied specifically to the use of the Legacy API key? If say, two different servers were making API requests using the client’s Legacy API key at the same time.
Could this have been caused by brief service disruption issues / has anyone else been running into this error recently?
Is there a good place to check service disruptions and a history of them? I was looking at the site status.keap.com but it does not appear to be secure, and the history page was last updated in May 2021, so I’m not certain if it’s still relevant.
Any help is greatly appreciated, and a big thank you in advance to anyone that provides some info!
Best regards,
`Garett