The Movie Database Support Forum

I don't have the app, so I provided the address to Postman https://www.postman.com/
I followed the instructions https://developer.themoviedb.org/reference/authentication-how-do-i-generate-a-session-id
I work through postman

https://api.themoviedb.org/3/account/###/favorite?api_key=###&session_id="####"  
{ 
    "media_type" : "movie", 
    "media_id" : 1184918, 
    "favorite": true 
}  

error Authentication failed: You do not have permissions to access the service

2 Antworten (Seite 1 von 1)

Jump to last post

Hi @Arman2000,

To start with, the URL you posted above has quotes in it, you should delete those.

https://api.themoviedb.org/3/account/###/favorite?api_key=###&session_id=####

Is what you should be using.

the documentation says that session_id type String https://developer.themoviedb.org/reference/account-add-favorite
Thank you very much, it helped

Es fehlt ein Film oder eine Serie? Logge dich ein zum Ergänzen.

Allgemein

s Fokus auf Suchfeld
p Profil öffnen
esc Fenster schließen
? Tastenkürzel anzeigen

Videos

b Zurück
e Bearbeiten

Staffeln

Nächste Staffel
Vorherige Staffel

Episoden

Nächste Episode
Vorherige Episode

Bilder

a Poster oder Hintergrundbild hinzufügen

Editieren

t Sprachauswahl öffnen
ctrl+ s Speichern

Diskussionen

n Neue Diskussion erstellen
w Beobachten an / aus
p Diskussion öffentlich / privat
c Diskussion öffnen / schließen
a Diskussionsverlauf anzeigen
r Auf Diskussion antworten
l Letzte Antwort anzeigen
ctrl+ enter Senden
Nächste Seite
Vorherige Seite

Einstellungen

Diesen Eintrag bewerten oder zu einer Liste hinzufügen?

Anmelden