https://api.themoviedb.org/3/account/ID/watchlist/movies?api_key=828c202e1************&session_id=(session id)&language=en-US&sort_by=created_at.asc&page=1
I try to get my watchlist in postman by using the above api after created the session id but i recieved this response
{
"success": false,
"status_code": 3,
"status_message": "Authentication failed: You do not have permissions to access the service."
}
pls help me
Nie możesz znaleźć filmu lub serialu? Zaloguj się, aby go utworzyć.
Want to rate or add this item to a list?
Not a member?
Odpowiedź użytkownika Travis Bell
29 października 2021 o godz. 10:36AM
Have you followed all 3 steps outlined here in the docs to generate a valid session id?
I have a test script you can look at here, which is purely front end code so you can inspect the source to see what exactly is happening. It's working properly.
Odpowiedź użytkownika annaluisa11
13 września 2023 o godz. 2:16PM
Thank you Travis! For some reason when I generated the session_id on my own, it didn't work. The generator you linked worked for me though.