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
Kan du inte hitta en film eller tv-serie? Logga in för att skapa den.
Vill du betygsätta denna artikel eller lägga till den i en lista?
Inte medlem?
Svar från Travis Bell
den 29 oktober 2021 vid 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.
Svar från annaluisa11
den 13 september 2023 vid 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.