Given artist MBIDs look up countries for those artists. Any artist_mbids not found in the database will be omitted from the results. If none are found a 404 error is returned. (JSON version and JSON POST data)
An error occurred:
Traceback (most recent call last): File "/usr/local/lib/python3.11/site-packages/datasethoster/main.py", line 186, in web_query_handler data = query.fetch(arg_list) ^^^^^^^^^^^^^^^^^^^^^ File "/code/listenbrainz/listenbrainz/labs_api/labs/api/artist_country_from_artist_mbid.py", line 55, in fetch curs.execute(query, tuple(args)) File "/usr/local/lib/python3.11/site-packages/psycopg2/extras.py", line 146, in execute return super().execute(query, vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ psycopg2.errors.InvalidTextRepresentation: invalid input syntax for type uuid: " ada7a83c-e3e1-40f1-93f9-3e73dbc9298a" LINE 10: WHERE a.gid IN (' ada7a83c-e3e1... ^
[ { "artist_mbid": " ada7a83c-e3e1-40f1-93f9-3e73dbc9298a" } ]