Skip to content

Orphaned watchlist entry cannot be removed via any API endpoint or Web UI #815

Description

@casaper

Summary

I have a watchlist entry that is permanently stuck — it appears in GET /users/{username}/watchlist/movies but every removal attempt fails because the underlying movie entity no longer exists in Trakt's database.

Affected entry

Field Value
Watchlist item id 646678280
Movie title Nosferatu
Movie trakt id 287264
Movie slug nosferatu
listed_at 2022-01-02T17:41:16.000Z
tmdb null
imdb null

Full object as returned by the API:

{
  "type": "movie",
  "movie": {
    "ids": {
      "imdb": null,
      "slug": "nosferatu",
      "tmdb": null,
      "trakt": 287264
    },
    "year": null,
    "title": "Nosferatu"
  },
  "rank": 220,
  "id": 646678280,
  "listed_at": "2022-01-02T17:41:16.000Z",
  "notes": null,
  "my_rating": null
}

What I tried

1. POST /sync/watchlist/remove — by trakt id

{ "movies": [{ "ids": { "trakt": 287264 } }] }

Response: 200 OK but not_found.movies contains the entry — deleted.movies: 0.

2. POST /sync/watchlist/remove — by slug

{ "movies": [{ "ids": { "slug": "nosferatu" } }] }

Response: same — not_found, deleted.movies: 0.

3. DELETE /users/{username}/watchlist/646678280

Response: 400 Bad Request (empty body).

4. Trakt website

Both https://trakt.tv/movies/287264 and https://trakt.tv/movies/nosferatu return 404. The entry cannot be accessed or removed through the UI either.

Expected behaviour

At minimum, one of the removal endpoints should be able to delete a watchlist item by its watchlist item id (646678280), independent of whether the referenced movie entity still exists.

Actual behaviour

The entry is permanently stuck in the watchlist. It is visible in GET /users/{username}/watchlist/movies but cannot be removed through any available endpoint.


Request: Please either expose a DELETE /users/{username}/watchlist/{item_id} endpoint that operates on the watchlist item row directly, or manually remove watchlist item 646678280 from the database.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions