python-musicbrainzngs icon indicating copy to clipboard operation
python-musicbrainzngs copied to clipboard

ResponseError on Artist Fetch

Open amiantos opened this issue 5 years ago • 3 comments

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?

amiantos avatar Nov 01 '19 21:11 amiantos

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 avatar Nov 04 '19 09:11 alastair

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

alastair avatar Nov 16 '19 11:11 alastair

Thank you for your efforts!

amiantos avatar Nov 18 '19 16:11 amiantos