API error response is not returned when using Geocoding
Levdbas opened this issue · 0 comments
Levdbas commented
I ran into an error where Geocoding returned null when there was actually an error with my API key and restrictions. I finally found out when debugging the Reponse
Class.
How to reproduce
- Create an API key that is restricted by http referrers and add a fake domain.
- Create a gecoding request (geocode request cannot be restricted by http referers and thus throws an error response)
- See that the response is null on
Geocoding
- When debugging the Response Class you will have a meaningfull error returned.