alastair / python-musicbrainzngs

Python bindings for Musicbrainz' NGS webservice
http://python-musicbrainzngs.readthedocs.io/
Other
274 stars 105 forks source link

ResponseError on Artist Fetch #255

Open amiantos opened 5 years ago

amiantos commented 5 years ago

I'm calling get_artist_by_id("f93dbc64-6f08-4033-bcc7-8a0bb4689849") and I'm getting a ResponseError with the body of caused by: syntax error: line 1, column 0. Is this a parsing error coming back from the MB API?

alastair commented 5 years ago

Hi, I see a few errors from the MB API which are being returned in JSON, but we expect xml (I only saw it twice in about 50 requests). I'll see if I can reproduce the error, and if so, I'll report it to the MB developers. This is something that we should handle if it occurs more often.

alastair commented 5 years ago

This is a bug in the musicbrainz server, which I've reported here: https://tickets.metabrainz.org/projects/MBS/issues/MBS-10461

amiantos commented 5 years ago

Thank you for your efforts!