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
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by Travis Bell
on oktober 29, 2021 at 10:36 AM
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.
Reply by annaluisa11
on september 13, 2023 at 2:16 PM
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.