googlemaps / googlemaps/google-maps-services-java

Setting `strictBounds` to true results in increase in UnknownErrorException in the autocomplete api

Open
#1,009 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.8k
Forks
973
PR merge metrics
No merged PRs in 30d

Description

```
com.google.maps.errors.UnknownErrorException: An unexpected error occurred. Status: INTERNAL, Message: null
at com.google.maps.errors.ApiException.from(ApiException.java:93) ~[google-maps-services-2.2.0.jar!/:?]
at com.google.maps.PlaceAutocompleteRequest$Response.getError(PlaceAutocompleteRequest.java:234) ~[google-maps-services-2.2.0.jar!/:?]
at com.google.maps.internal.OkHttpPendingResult.parseResponseInternal(OkHttpPendingResult.java:316) ~[google-maps-services-2.2.0.jar!/:?]
at com.google.maps.internal.OkHttpPendingResult.parseResponse(OkHttpPendingResult.java:230) ~[google-maps-services-2.2.0.jar!/:?]
at com.google.maps.internal.OkHttpPendingResult.await(OkHttpPendingResult.java:184) ~[google-maps-services-2.2.0.jar!/:?]
at com.google.maps.PendingResultBase.await(PendingResultBase.java:61) ~[google-maps-services-2.2.0.jar!/:?]
...
```
this is stack trace, i am not able to further identify the cause, what is causing these exception internally. Seeking help to debug these issues and resolve them appropriately.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.