crxssed
(crxssed)
February 24, 2026, 2:33pm
1
My app is receiving a 403 from the Trakt API when trying to retrieve certain lists. The lists are public, so I don’t see why I’m receiving this error. This was working before, but suddenly stopped a few days ago.
Here’s my backend code:
export async function getListItems(username: string, slug: string): Promise<TraktListItem[]> {
const response = await fetch(`https://api.trakt.tv/users/${username}/lists/${slug}/items?extended=full,images`, {
method: 'GET',
headers: {
'Content-Type': 'application/json',
'Accept': 'application/json',
'trakt-api-version': '2',
'trakt-api-key': 'redacted'
}
})
console.log(response)
if (!response.ok) {
return [];
}
return await response.json();
}
And here are the lists I’m trying to get:
As mentioned this has been working for a while so I can#t see what I could be doing wrong.
kcador
(Kevin)
February 26, 2026, 10:48am
2
Could you please open an issue on GitHub?
Thanks!!
crxssed
(crxssed)
February 26, 2026, 11:06am
3
Thanks, didn’t realise there was a Github for this.
opened 11:05AM - 26 Feb 26 UTC
My app is receiving a 403 from the Trakt API when trying to retrieve certain lis… ts. The lists are public, so I don’t see why I’m receiving this error. This was working before, but suddenly stopped a few days ago.
Here’s my backend code:
```typescript
export async function getListItems(username: string, slug: string): Promise<TraktListItem[]> {
const response = await fetch(`https://api.trakt.tv/users/${username}/lists/${slug}/items?extended=full,images`, {
method: 'GET',
headers: {
'Content-Type': 'application/json',
'Accept': 'application/json',
'trakt-api-version': '2',
'trakt-api-key': 'redacted'
}
})
console.log(response)
if (!response.ok) {
return [];
}
return await response.json();
}
```
And here are the lists I’m trying to get:
https://app.trakt.tv/users/crxssed/lists/ranking-of-kings?ref=trakt-og-autoredirect
https://app.trakt.tv/users/crxssed/lists/ranking-of-queens?ref=trakt-og-autoredirect
As mentioned this has been working for a while so I can't see what I could be doing wrong.
Originally posted on forum:
https://forums.trakt.tv/t/api-returning-403-for-public-list/101374
1 Like