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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Normal
    • 2021-09-20
    • Affects Version/s: None
    • Component/s: 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
      ```

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

              Created:
              Updated:
              Resolved:

                Version Package
                2021-09-20