akexorcist / GoogleDirectionLibrary

[Android] Library for Google Direction API for Google Maps Android API v2
Apache License 2.0
571 stars 174 forks source link

Please add error message #6

Closed pzienowicz closed 8 years ago

pzienowicz commented 8 years ago

I have some issue with my requests because I receive REQUEST_DENIED. I have no idea why, because API key is correct and service is enabled.

Please add ability to get error message which is contained in error response, like:

{
error_message: "This IP, site or mobile application is not authorized to use this API key. Request received from IP address 109.69.89.52, with empty referer",
routes: [ ],
status: "REQUEST_DENIED"
}
akexorcist commented 8 years ago

I just add error_message in v1.0.4. Please check it.