I got an original API approved on October 19th. That API Key was: ceb5fc5db09987700c76db92749892e2. When it didn't work I regenerated another one. I'm now using this one and its also not working. I tested it using https://api.themoviedb.org/3/movie/550?api_key=THE_KEY with my regenerated key and it works.
The problem i'm having is when my python program generates this URL https://api.themoviedb.org/3/movie/550?THE_KEY with my key it doesn't work. I get this error message. """{"status_code":7,"status_message":"Invalid API key: You must be granted a valid key.","success":false}"""
How does my key work with the test url (https://api.themoviedb.org/3/movie/550?api_key=THE_KEY) but not with a url this url I generate (https://api.themoviedb.org/3/movie/550?THE_KEY)?
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 robbie3999
den 24 oktober 2023 vid 7:47 PM
Hi @Eduardo, your python url
should be
Svar från Eduardo
den 24 oktober 2023 vid 7:58 PM
So I should always use the syntax "%api_key=%" and never have just the key?
Svar från robbie3999
den 24 oktober 2023 vid 10:11 PM
Yes
Svar från Eduardo
den 25 oktober 2023 vid 12:23 AM
Thanks a lot. This solved my issue.