Summary
When using the MCP server to add a movie to the watchlist, the tool fails with:
WatchlistPost failed: ... (HTTP json: unknown field "id")
Steps to Reproduce
Use the MCP WatchlistPost tool to add a movie to the watchlist (e.g. Spiderhead, tmdbId: 615469, mediaType: movie).
Expected Behavior
The movie is added to the watchlist successfully.
Actual Behavior
The tool returns an error: HTTP json: unknown field "id".
The Overseerr API responds with a full request object that includes an "id" field (and other fields such as requestedBy, media, createdAt, etc.), but the Go client model used to deserialize the response does not include this field, causing the unmarshal to fail.
Example API response:
{
"ratingKey": "",
"title": "Spiderhead",
"tmdbId": 615469,
"mediaType": "movie",
"requestedBy": { ... },
"media": { ... },
"id": 3,
"createdAt": "2026-03-18T23:05:55.550Z",
"updatedAt": "2026-03-18T23:05:55.550Z"
}
Root Cause (suspected)
The generated pkg/api model for the WatchlistPost response is missing the id field (and possibly other fields like createdAt, updatedAt). The strict JSON decoder rejects unknown fields instead of ignoring them.
Environment
- request_id:
req_011CZBPDTds8HD8bZDuEWcrx
Summary
When using the MCP server to add a movie to the watchlist, the tool fails with:
Steps to Reproduce
Use the MCP
WatchlistPosttool to add a movie to the watchlist (e.g. Spiderhead,tmdbId: 615469,mediaType: movie).Expected Behavior
The movie is added to the watchlist successfully.
Actual Behavior
The tool returns an error:
HTTP json: unknown field "id".The Overseerr API responds with a full request object that includes an
"id"field (and other fields such asrequestedBy,media,createdAt, etc.), but the Go client model used to deserialize the response does not include this field, causing the unmarshal to fail.Example API response:
{ "ratingKey": "", "title": "Spiderhead", "tmdbId": 615469, "mediaType": "movie", "requestedBy": { ... }, "media": { ... }, "id": 3, "createdAt": "2026-03-18T23:05:55.550Z", "updatedAt": "2026-03-18T23:05:55.550Z" }Root Cause (suspected)
The generated
pkg/apimodel for theWatchlistPostresponse is missing theidfield (and possibly other fields likecreatedAt,updatedAt). The strict JSON decoder rejects unknown fields instead of ignoring them.Environment
req_011CZBPDTds8HD8bZDuEWcrx