When you try to query to the CD stub database when using beta.musicbrainz.org it will return this error:
Internal Server Error
Oops, something went wrong!
Error:
Can't use an undefined value as an ARRAY reference at lib/MusicBrainz/Server/Entity/CDStub.pm line 134. at lib/MusicBrainz/Server/Entity/CDStub.pm line 134 MusicBrainz::Server::Entity::CDStub::TO_JSON called at lib/MusicBrainz/Server/Entity/Util/JSON.pm line 43 MusicBrainz::Server::Entity::Util::JSON::to_json_object called at lib/MusicBrainz/Server/Entity/SearchResult.pm line 51 MusicBrainz::Server::Entity::SearchResult::TO_JSON called at lib/MusicBrainz/Server/Entity/Util/JSON.pm line 43 MusicBrainz::Server::Entity::Util::JSON::to_json_object called at lib/MusicBrainz/Server/Entity/Util/JSON.pm line 22 MusicBrainz::Server::Entity::Util::JSON::to_json_array called at lib/MusicBrainz/Server/Controller/Search.pm line 76 Catalyst::dispatch called at lib/MusicBrainz/Server.pm line 388 MusicBrainz::Server::_ANON_ at lib/MusicBrainz/Server.pm line 353 MusicBrainz::Server::with_translations(?, ?) called at lib/MusicBrainz/Server.pm line 389 Class::MOP::Method::Wrapped::_ANON called at lib/MusicBrainz/Server.pm line 403 Class::MOP::Method::Wrapped::ANON_ called at lib/MusicBrainz/Server.pm line 488
Time: 2022-10-16T11:01:59.090Z
Host: cbf640132706
Interface language: en
URL: https://beta.musicbrainz.org/search?query=brendan+quinn&type=cdstub&method=indexed
Request data:
{ "body_parameters": {}, "query_parameters": { "method": "indexed", "query": "brendan quinn", "type": "cdstub" } }
We’re terribly sorry for this problem. Please wait a few minutes and repeat your request — the problem may go away.
If the problem persists, please report a bug and include any error message that is shown above.