Open rctneil opened 1 year ago
Hi @rctneil - is there more to the error message? It's difficult to tell if it's a rate limiting error, or just a 500 from Flickr's servers falling over
The gem doesn't raise a "Flickr::FailedResponse" error when it receives HTML instead of JSON from Flickr's server; it's raising a "JSON::ParserError", so, for now, you'll need to rescue that as well.
I'm interested to find out why we're getting HTML instead of JSON, and I think we should handle unexpected HTML better.
@rctneil Do you have more information on how you were able to trigger this issue? Were you hitting API limits, or maybe requesting resources that don't exist?
Hey,
How can I deal with this situation?
https://www.flickr.com/groups/api/discuss/72157721918336667/