agrc / palletjack

A library for updating AGOL data from various external sources
https://agrc.github.io/palletjack/palletjack/
MIT License
12 stars 0 forks source link

Better logging for invalid geocoding API keys #32

Closed jacobdadams closed 1 month ago

jacobdadams commented 1 year ago

We have the validate API method (or will, anyways), but messages about failed geocoding calls due to invalid API keys are getting swallowed, resulting in lots of wasted time tracking down the problem. Don't swallow the messages.

{"status":400,"message":"Invalid API key. The IP you provided does not match what the API is receiving. Double check your API key or create a new one using 10.72.30.1 as the pattern."}