mayam | 2024-06-24 15:32:58 UTC | #1
Hello,
We are seeing an error on api/v2/analytics/conversations/details/jobs/{jobId}/results that we have not seen before. The error is: 404 {"message":"Results not available for job {id}, see the job status endpoint for more information.","code":"not.found","status":404,"messageParams":{},"contextId":"{}","details":[],"errors":[]}
We've gotten this error 3 times, but if we retry the same API call one or two times the error goes away and the API call returns the results.
Any reason why this error is happening? Could it be that we query the job Id before the results are ready? Thank you! Maya
ralegner | 2024-06-24 15:38:22 UTC | #2
If you're not already, you should be using GET /api/v2/analytics/conversations/details/jobs/{jobId}/ to check on the status of your job. If it is not fullfilled, you would not be able to retrieve the results from the result endpoint yet. I would guess that you're getting 404s from that endpoint because the job is either QUEUED or PENDING.
https://developer.genesys.cloud/analyticsdatamanagement/analytics/jobs/conversation-details-job
mayam | 2024-06-24 15:40:14 UTC | #3
Makes sense, thank you!
system | 2024-07-24 15:40:58 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: 26930