/search returns 500 for any multi-type query combining person or list with other types
@vladjerca is already working on this.
Since Sep 8, 2026.
- Dominant language
- TypeScript
- Stars
- 359
- Forks
- 20
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 13
Description
GET /search/<type> returns HTTP 500 whenever the comma-separated type list contains 2+ types where at least one of person or list is mixed with anything else. Single-type queries and movie,show work fine.
Repro:
curl "https://api.trakt.tv/search/movie,show,person,list?query=matrix" \
-H "Content-Type: application/json" \
-H "trakt-api-version: 2" \
-H "trakt-api-key: <redacted>"
Results (query=matrix, tested 2026-09-08):
/search/<types> |
Result |
|---|---|
movie, show, person, list (single) |
200 |
movie,show |
200 |
movie,person, show,person, person,list, movie,list, show,list, movie,show,list, movie,show,person, movie,show,person,list |
500 |
Same result via curl with only a trakt-api-key header (no OAuth token), so it's not an auth issue — reproduced consistently across 3+ runs, first observed 2026-09-06, still failing today (2026-09-08).
Response headers on the 500:
x-error-message: Internal server error. Please open a support issue and include your full API request and response, including all headers.
x-request-id: 6c9dcabe-1ff2-4b2d-b01a-924512b827f2
cf-ray: a37fa37738a0a79d-DEL
date: Tue, 08 Sep 2026 17:23:04 GMT
Body is empty.
Impact: This is the query our app's "All" search tab sends (movie,show,person,list), so search appears completely broken for every user hitting that default tab.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.