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

Edit submission in release editor returns error 400 when relationship has already been removed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Low Low
    • None
    • None
    • Release editor
    • None

      1. The editor for release b6af7625-7fa0-4f8b-b6f1-15ee37f89abd was already open before I've removed the URL relationship in edit 65154343
      2. I've removed it in release editor too but upon submission was greeted with a meaningless  error:

      error: 400
      

      Either it should say why it failed (it didn't) or silently ignore it. 

      Request URL: https://musicbrainz.org/ws/js/edit/create
      
      Request payload:
      {"edits":[{"id":2657836,"linkTypeID":85,"attributes":[],"entities":[{"entityType":"release","gid":"b6af7625-7fa0-4f8b-b6f1-15ee37f89abd","name":"Buena Vista"},{"entityType":"url","name":"https://www.youtube.com/user/audubontracs"}],"edit_type":92}],"makeVotable":false,"editNote":""}
      
      Response payload:
      {"error":{"entities":[{"type":"relationship","id":"2657836"}],"errorCode":2}}
      
      Request URL: https://musicbrainz.org/ws/js/edit/preview
      
      Request payload:
      {"edits":[{"tracklist":[{"id":29506075,"name":"Buena Vista","artist_credit":{"names":[{"artist":{"name":"Frado180","id":1889128,"gid":"5d9fa6f0-d3af-4249-b9c9-4d969d01db32"},"name":"Frado180","join_phrase":null}]},"recording_gid":"cba48e97-6a86-4b31-a078-2366b84ae416","position":1,"number":"1","length":228000,"is_data_track":false}],"to_edit":2753410,"edit_type":52},{"id":2657836,"linkTypeID":85,"attributes":[],"entities":[{"entityType":"release","gid":"b6af7625-7fa0-4f8b-b6f1-15ee37f89abd","name":"Buena Vista"},{"entityType":"url","name":"https://www.youtube.com/user/audubontracs"}],"edit_type":92}]}
      
      Response payload:
      {"error":{"errorCode":2,"entities":[{"type":"relationship","id":"2657836"}]}}
      

            Unassigned Unassigned
            chaban chaban
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                Version Package