Skip to content

Incorrectly returning "rejected the torrent" when there's a duplicate #8

Description

@angrynode

The qBittorrent API has changed its mind a few times in regards to what to return lately when trying to add a torrent.

  • qBittorrent 5.x fails when the torrent couldn't be parsed, returning 415 Bad Data
  • when the submitted torrent is a duplicate, unless merging trackers (which can't be set from API)
    • on qBittorrent 5.0.x and 5.1.x, returns "200 Fails."
    • on qBittorrent 5.2.x, returns 409 (conflict) without a body

It looks like apart from those two cases, qBittorrent now returns a JSON payload containing detailed success information. This is a neat improvement, but why break the API????

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions