Good afternoon,
When we want to pass the data from the purecloud api to localhost or an application, if the interval is more than 1 hour it tells us this:
2000 ms timeout exceeded
Can you help us?
Good afternoon,
When we want to pass the data from the purecloud api to localhost or an application, if the interval is more than 1 hour it tells us this:
2000 ms timeout exceeded
Can you help us?
Hi,
Can you tell us which API call(s) are giving this response?
I use POST https://api.mypurecloud.de/api/v2/analytics/conversations/aggregates/query,
if I pass the data in an interval of half an hour or 1 hour there is no error, but if I pass it 1 day for example the error that tells me is: 2000 ms time exceeded or 400 bad request.
I attach the id correlation:
ININ-Correlation-Id:
bbe963d0-01ff-4a87-bb79-49e4abd69e11
Error response:
{"message":"Result set of size 30000 larger than limit of 30000 results. Avoid grouping on high-cardinality fields, or use filter predicates to reduce the number of groups for that field.","code":"bad.request","status":400,"messageParams":{},"contextId":"bbe963d0-01ff-4a87-bb79-49e4abd69e11","details":[],"errors":[]}
and other times: array (size=0) empty
[]
string '[]' (length=2)
Regards
It appears that your org has a large amount of traffic and the amount of results generated from your query and interval is too much for the server to handle. It also seems that the server is inconsistent with how it handles this case.
The best thing to do is follow the advice of the error message and try reducing your group-bys and filter out as much results as possible. You will need to find an interval that is short enough to not produce any errors.
Good morning,
In the code that we execute there is no type of failure, since the call we carry out it against the api of purecloud with the parameters of call of purecloud, and I don't conceive in that in intervals of half an hour if it extracts us data but in ranges but open not...
There is no solution?
Try building and executing your query using the Analytics Query Builder to get an idea of the query you want to use in your application. Apply filter predicates to your query to remove any data that you don't want in the response.
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.