Skip to content

Movie collection endpoint returns incorrect pagination details #896

Description

@damienhaynes

Here are the header details returned when I GET: https://api.trakt.tv/sync/collection/movies?page=1&limit=100

{
"Connection": "keep-alive",
"Access-Control-Allow-Origin": "*",
"Vary": "Origin, accept-encoding",
"Access-Control-Expose-Headers": "X-Pagination-Page,X-Pagination-Page-Count,X-Pagination-Limit,X-Pagination-Item-Count,X-Trending-User-Count,X-Start-Date,X-End-Date,X-Sort-By,X-Sort-How,X-Private-User,X-Ratelimit,Retry-After,X-Upgrade-URL,X-Applied-Sort-By,X-Applied-Sort-How,Cache-Control,Pragma,Expires",
"Cache-Tag": "user,user_collection,movie,owner_id:837,resource:movie:993003,resource:movie:1044784,resource:movie:1040684,resource:movie:1074519,resource:movie:751145,resource:movie:903398,resource:movie:1169847,resource:movie:56580,resource:movie:1027747,resource:movie:1178309,resource:movie:1083999,resource:movie:991429,resource:movie:1033738,resource:movie:297,resource:movie:1052083,resource:movie:1077748,resource:movie:944042,resource:movie:897563,resource:movie:900786,resource:movie:540330",
"Cf-Placement": "remote-ATL",
"X-Content-Type-Options": "nosniff",
"X-Download-Options": "noopen",
"X-Frame-Options": "SAMEORIGIN",
"X-Permitted-Cross-Domain-Policies": "none",
"x-pagination-item-count": "1376",
"x-pagination-limit": "100",
"x-pagination-page": "1",
"x-pagination-page-count": "14",
"Speculation-Rules": ""/cdn-cgi/speculation"",
"CF-RAY": "a23369685e027d6d-SYD",
"Content-Length": "9032",
"Cache-Control": "private, no-cache, no-store, must-revalidate",
"Content-Type": "application/json; charset=utf-8",
"Date": "Thu, 30 Jul 2026 09:42:10 GMT",
"Server": "cloudflare"
}

I do not have 1376 movies. I only have 20!

Is some older value cached as I may have had lot of movies in my collection way back.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions