-
Notifications
You must be signed in to change notification settings - Fork 58
Description
Several users have reported similar randomly happening JSONDecode errors when retrieving arbitrary stuff via python3-discogs-client. I experienced it myself and post my experience soon. I'd like to summarize discussion and improvement suggestions in this issue here.
In my opinion it looks like api.discogs.com responds with unexpected data but only sometimes. I would guess it is a problem on their end for whatever reason, and they might be aware of and working on it already, or not..... In the end we have to live with it and find a workaround.
A second reason is that our backoff mechanism could be faulty or not compatible anymore since something might have changed at Discogs. It worked very well for us so far and it's in place since ...about 4 years already....#34
Related reports so far:
- JSON.decode errors #153
- Problems with main release #162
- empty json request when accessing information #26
Did any of you solve the issue simply with try/except catchin jsondecode errors? If yes, share you experience, maybe a simple fix like that can be included in python3-discogs-client already.
Can this problem be reproduced when using api.discogs.com simply with Python requests module only?
Discogs reports outages publicly here: https://status.discogs.com/, do they maybe correlate with issues like that?