Uploaded image for project: 'MusicBrainz Server'
  1. MusicBrainz Server
  2. MBS-11940

/ws/2/tag return 500 code for invalid requests

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2021-09-20
    • None
    • Web service
    • None

      If post non valid data to `/ws/2/tag` it return 502 (Bad Gateway) error html page, instead of 400 (Bad Request) or something like it

      Example of data
      ```
      curl -X POST --digest -u 'login:password' -H'Content-Type: application/xml; charset=utf-8' --data 'random trash' https://musicbrainz.org/ws/2/tag?client=some.app-0.0.0
      ```

            bitmap Michael Wiencek
            MrClon MrClon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package
                2021-09-20