Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access the error message #11

Open
howdu opened this issue Nov 5, 2021 · 1 comment
Open

Access the error message #11

howdu opened this issue Nov 5, 2021 · 1 comment

Comments

@howdu
Copy link

howdu commented Nov 5, 2021

I had to edit the core code to find the error message. It was returning the general error: Request provided was invalid.

Json response was obvious how to fix once I could see the error.
[
"destination_addresses" => []
"error_message" => "departure_time is in the past. Traffic information is only available for future and current times."
"origin_addresses" => []
"rows" => []
"status" => "INVALID_REQUEST"
]

@donal56
Copy link

donal56 commented Nov 19, 2021

Thanks, i had an RESPONSE_REQUEST_DENIED status and ended being "API keys with referer restrictions cannot be used with this API."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants