GET "time" returns TimeEstimatesResponse containing empty arraylist (TimeEstimate)
Open
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 293
- Forks
- 132
- PR merge metrics
- No merged PRs in 30d
Description
Sometimes the following api returns empty array list (timeEstimatesResponse.getTimes().size() returns 0) even if Uber service is available at the selected location.
@GET("/v1/estimates/time")
Call<TimeEstimatesResponse> getPickupTimeEstimate(@Query("start_latitude") float var1, @Query("start_longitude") float var2, @Nullable @Query("product_id") String var3);
Is it a bug? What could be the reason? Any help would be highly appreciated!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the GET /v1/estimates/time call and the TimeEstimatesResponse.getTimes() result shown in the report. Reproduce the request at a location where Uber service is available, then determine why the response can contain an empty list and document or fix the behavior with a verifiable result.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- api, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100