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.
Ĉu volas taksi aŭ aldoni ĉi tiun elementon al listo?
Ĉu ne estas membro?
Respondo de Travis Bell
je Oktobro 29 2021 je 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.
Respondo de annaluisa11
je Septembro 13 2023 je 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.