Open cammace opened 6 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.
Thanks Mr. @stale - I'm gonna reopen this one though. Even if there hasn't been any activity here recently, we should still make sure we include support for error messages in API responses like the one described in OP: https://www.mapbox.com/api-documentation/#directions-api-errors.
/cc: @osana
This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.
This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.
Just spent some time figuring out why my response body was null only to learn that the request was failing with a message
Overview option must be full for congestion
. We should add a field for message in theDirectionsResponse
for example and if that message isn't null, throw a runtime exception or at least log it.cc: @zugaldia