google-places-api-java
google-places-api-java copied to clipboard
java.lang.IllegalArgumentException: No enum constant se.walkercrou.places.Scope.
It appears like Google has a breaking change where their API does not always return the "scope" field in the API anymore. We first detected this on June 4th and it got much worse on June 24th. ~50% of requests no longer have the "scope" field.
java.lang.IllegalArgumentException: No enum constant se.walkercrou.places.Scope.
This is caused by the following lines converting a null value to an empty string and trying to get the enum value of the empty string.
https://github.com/windy1/google-places-api-java/blob/master/src/main/java/se/walkercrou/places/Place.java#L73-L74