I created a ride request and have a request_id that was returned in the response. Then I continuously poll the Uber API to get the current status every 3 seconds.
I need to know how many time I have to poll when the status is "processing" ?
Actualy, on the sandbox API, I poll 2 minutes and then if the status is still "processing" I stop the polling.
But when I try to create a new ride request I have this response :
HTTP/1.0 409 Conflict
Cache-Control: no-cache
Content-Type: application/json
{"meta":{},"errors":[{"status":409,"code":"current_trip_exists","title":"The user is currently on a trip."}]}
Do I have to delete the request after the 2 minutes ?