Better handling of errors: when REST API is unavailable, when URL isn't found, etc.