rama.meenavilli | 2021-01-29 06:37:22 UTC | #1
We are getting below error and data is not processed since last 2 days (28th Jan onwards).
[ERROR] 2021-01-29 14:15:52,172 applicationLogger ConversationsApiClient.java getConversationDetails - ApiException occured. ConversationId : 0da72cd2-3c40-41ff-9c55-24a1f87cdf3d Details : com.mypurecloud.sdk.ApiException: {"message":"Rate limit exceeded the maximum [300] requests within [60] seconds","code":"too.many.requests","status":429,"entityName":"token","details":[{"errorCode":"inin-ratelimit-count","fieldName":"301"},{"errorCode":"inin-ratelimit-allowed","fieldName":"300"},{"errorCode":"inin-ratelimit-reset","fieldName":"49"}]} [ERROR] 2021-01-29 14:15:52,172 applicationLogger CallAndSurveyMetricsTask.java run - ApiException occured. Details : com.mypurecloud.sdk.ApiException: {"message":"Rate limit exceeded the maximum [300] requests within [60] seconds","code":"too.many.requests","status":429,"entityName":"token","details":[{"errorCode":"inin-ratelimit-count","fieldName":"301"},{"errorCode":"inin-ratelimit-allowed","fieldName":"300"},{"errorCode":"inin-ratelimit-reset","fieldName":"49"}]}
rama.meenavilli | 2021-01-29 07:59:38 UTC | #2
error at client
[DEBUG] 2021-01-29 14:15:52,160 org.apache.http.wire Wire.java wire - http-outgoing-0 >> "GET /api/v2/conversations/0da72cd2-3c40-41ff-9c55-24a1f87cdf3d HTTP/1.1[\r][\n]" [DEBUG] 2021-01-29 14:15:52,160 org.apache.http.wire Wire.java wire - http-outgoing-0 >> "Accept: application/json[\r][\n]" [DEBUG] 2021-01-29 14:15:52,160 org.apache.http.wire Wire.java wire - http-outgoing-0 >> "Content-Type: application/json[\r][\n]" [DEBUG] 2021-01-29 14:15:52,160 org.apache.http.wire Wire.java wire - http-outgoing-0 >> "Authorization: Bearer MbiVPQ-Ndd-t-VDFDQ5lavZk8pnF8IzTgPJzqMJuMrOBZr2xBzaycTjw8kkXO1LmkpIvGjPnixLFg46sH4DgoQ[\r][\n]" [DEBUG] 2021-01-29 14:15:52,161 org.apache.http.wire Wire.java wire - http-outgoing-0 >> "User-Agent: PureCloud SDK/0.47.3.121/java[\r][\n]" [DEBUG] 2021-01-29 14:15:52,161 org.apache.http.wire Wire.java wire - http-outgoing-0 >> "Host: api.mypurecloud.jp[\r][\n]" [DEBUG] 2021-01-29 14:15:52,161 org.apache.http.wire Wire.java wire - http-outgoing-0 >> "Connection: Keep-Alive[\r][\n]" [DEBUG] 2021-01-29 14:15:52,161 org.apache.http.wire Wire.java wire - http-outgoing-0 >> "Accept-Encoding: gzip,deflate[\r][\n]" [DEBUG] 2021-01-29 14:15:52,161 org.apache.http.wire Wire.java wire - http-outgoing-0 >> "[\r][\n]" [DEBUG] 2021-01-29 14:15:52,169 org.apache.http.wire Wire.java wire - http-outgoing-0 << "HTTP/1.1 429 [\r][\n]" [DEBUG] 2021-01-29 14:15:52,169 org.apache.http.wire Wire.java wire - http-outgoing-0 << "Content-Type: application/json[\r][\n]" [DEBUG] 2021-01-29 14:15:52,169 org.apache.http.wire Wire.java wire - http-outgoing-0 << "Content-Length: 319[\r][\n]" [DEBUG] 2021-01-29 14:15:52,169 org.apache.http.wire Wire.java wire - http-outgoing-0 << "Connection: keep-alive[\r][\n]" [DEBUG] 2021-01-29 14:15:52,169 org.apache.http.wire Wire.java wire - http-outgoing-0 << "Date: Fri, 29 Jan 2021 06:15:52 GMT[\r][\n]" [DEBUG] 2021-01-29 14:15:52,169 org.apache.http.wire Wire.java wire - http-outgoing-0 << "ININ-Correlation-Id: 88199c14-97eb-46e6-a3c8-01f26ac35401[\r][\n]" [DEBUG] 2021-01-29 14:15:52,169 org.apache.http.wire Wire.java wire - http-outgoing-0 << "inin-ratelimit-count: 301[\r][\n]" [DEBUG] 2021-01-29 14:15:52,169 org.apache.http.wire Wire.java wire - http-outgoing-0 << "inin-ratelimit-allowed: 300[\r][\n]" [DEBUG] 2021-01-29 14:15:52,169 org.apache.http.wire Wire.java wire - http-outgoing-0 << "inin-ratelimit-reset: 49[\r][\n]" [DEBUG] 2021-01-29 14:15:52,169 org.apache.http.wire Wire.java wire - http-outgoing-0 << "Retry-After: 49[\r][\n]" [DEBUG] 2021-01-29 14:15:52,169 org.apache.http.wire Wire.java wire - http-outgoing-0 << "Strict-Transport-Security: max-age=600; includeSubDomains[\r][\n]" [DEBUG] 2021-01-29 14:15:52,169 org.apache.http.wire Wire.java wire - http-outgoing-0 << "Cache-Control: no-cache, no-store, must-revalidate[\r][\n]" [DEBUG] 2021-01-29 14:15:52,170 org.apache.http.wire Wire.java wire - http-outgoing-0 << "Pragma: no-cache[\r][\n]" [DEBUG] 2021-01-29 14:15:52,170 org.apache.http.wire Wire.java wire - http-outgoing-0 << "Expires: 0[\r][\n]" [DEBUG] 2021-01-29 14:15:52,170 org.apache.http.wire Wire.java wire - http-outgoing-0 << "X-Cache: Error from cloudfront[\r][\n]" [DEBUG] 2021-01-29 14:15:52,170 org.apache.http.wire Wire.java wire - http-outgoing-0 << "Via: 1.1 00831430bdf5c6de78e9cd44c46a222b.cloudfront.net (CloudFront)[\r][\n]" [DEBUG] 2021-01-29 14:15:52,170 org.apache.http.wire Wire.java wire - http-outgoing-0 << "X-Amz-Cf-Pop: NRT12-C3[\r][\n]" [DEBUG] 2021-01-29 14:15:52,170 org.apache.http.wire Wire.java wire - http-outgoing-0 << "X-Amz-Cf-Id: trCPhHGK8ZYlU8BBL88_8u4DBlrsHEX1jKFD5554VR-1t21-Bc6w==[\r][\n]" [DEBUG] 2021-01-29 14:15:52,170 org.apache.http.wire Wire.java wire - http-outgoing-0 << "[\r][\n]" [DEBUG] 2021-01-29 14:15:52,170 org.apache.http.wire Wire.java wire - http-outgoing-0 << "{"message":"Rate limit exceeded the maximum [300] requests within [60] seconds","code":"too.many.requests","status":429,"entityName":"token","details":[{"errorCode":"inin-ratelimit-count","fieldName":"301"},{"errorCode":"inin-ratelimit-allowed","fieldName":"300"},{"errorCode":"inin-ratelimit-reset","fieldName":"49"}]}"
anon11147534 | 2021-01-29 09:29:26 UTC | #3
You are getting rate-limited because you are making too many requests in a short period of time. Please see this article on rate limits to learn some techniques to avoid rate limiting and how to recover from rate-limit errors.
system | 2021-02-28 09:29:28 UTC | #4
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 9843