Jump to content

Musicbrainz incorrect query syntax bug leading to 400 Bad Gateway


Recommended Posts

night199uk
Posted

Just added some new music to my Emby server for the first time in a while; and it seems that Emby is incorrectly formatting the MB query string.

It is duplicating the MBIDs when formatting the query URL.

This is the same for all query types: artists, releases, etc.
Latest MusicBrainz plugin (1.0.0.27 or something) on Emby 4.9.3.0.

In the first case you can see the MB artist ID should be: ba0d6274-db14-4ef5-b28d-657ebde1a396 but it is duplicated in the query string.

Let me know if you need any more debug.

```

2026-03-01 19:00:03.424 Info HttpClient: GET https://musicbrainz.emby.tv/ws/2/artist/ba0d6274-db14-4ef5-b28d-657ebde1a396ba0d6274-db14-4ef5-b28d-657ebde1a396?inc=url-rels
2026-03-01 19:00:03.604 Info HttpClient: Http response 400 from https://musicbrainz.emby.tv/ws/2/artist/ba0d6274-db14-4ef5-b28d-657ebde1a396ba0d6274-db14-4ef5-b28d-657ebde1a396?inc=url-rels after 180ms
2026-03-01 19:00:03.605 Error App: Error in MusicBrainz
    *** Error Report ***
    Version: 4.9.3.0
2026-03-01 19:00:03.859 Info HttpClient: GET https://musicbrainz.emby.tv/ws/2/release/16e1fb14-b248-4a58-ab5e-050c0a9f044416e1fb14-b248-4a58-ab5e-050c0a9f0444?inc=url-rels
2026-03-01 19:00:04.028 Info HttpClient: Http response 400 from https://musicbrainz.emby.tv/ws/2/release/16e1fb14-b248-4a58-ab5e-050c0a9f044416e1fb14-b248-4a58-ab5e-050c0a9f0444?inc=url-rels after 169ms
2026-03-01 19:00:04.029 Error App: Error in MusicBrainz
    *** Error Report ***
    Version: 4.9.3.0
```

night199uk
Posted

Also happens on the latest beta, also with plugin 1.0.27.0:

2026-03-01 19:34:51.509 Info HttpClient: Http response 400 from https://musicbrainz.emby.tv/ws/2/release/549b4b55-01d0-444c-ba13-d817845468bf549b4b55-01d0-444c-ba13-d817845468bf?inc=url-rels after 185ms
2026-03-01 19:34:51.511 Error App: Error in MusicBrainz
	*** Error Report ***
	Version: 4.10.0.4
	Command line: /app/emby/system/EmbyServer.dll -programdata /config -ffdetect /app/emby/bin/ffdetect -ffmpeg /app/emby/bin/ffmpeg -ffprobe /app/emby/bin/ffprobe -restartexitcode 3
Happy2Play
Posted
6 hours ago, night199uk said:

To me this suggest improperly tagged track.  As it looks like delimiter issue with artist duplicated.

So the question becomes what does ffprobe show for embedded metadata?

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...