Currently, if the earthranger token is expired, this will be the error that shows up. unless you know that that means the issue is the token, it would be hard for someone to debug. I think there should be a try except block here that catches it and outputs the http response code, as well as a helpful print statement like "Check the expiration of your Earthranger token"

Currently, if the earthranger token is expired, this will be the error that shows up. unless you know that that means the issue is the token, it would be hard for someone to debug. I think there should be a try except block here that catches it and outputs the http response code, as well as a helpful print statement like "Check the expiration of your Earthranger token"