Kortkommandon
Avancerad sökning
Hello, I was approved a API key and now both my api key and access key are not working?
Hi @Saulp1021, what is the api URL you are trying to use and what is the error number and error message you get? Hide your private api key with a string like "xxxxxx".
{ "status_code": 7, "status_message": "Invalid API key: You must be granted a valid key.", "success": false } https://api.themoviedb.org/3/discover/movie
You need to specify your api key.
https://api.themoviedb.org/3/discover/movie?api_key=xxxxxx
For discover movie, you probably also want to specify a filter. For example:
https://api.themoviedb.org/3/discover/movie?api_key=xxxxxx&primary_release_year=2023
Kan du inte hitta en film eller tv-serie? Logga in för att skapa den.
Logga in
Bli medlem
Vill du betygsätta denna artikel eller lägga till den i en lista?
Inte medlem?
Registrera dig och gå med i vårat community
Svar från robbie3999
den 9 oktober 2023 vid 7:38 PM
Hi @Saulp1021, what is the api URL you are trying to use and what is the error number and error message you get? Hide your private api key with a string like "xxxxxx".
Svar från Saulp1021
den 9 oktober 2023 vid 9:50 PM
{ "status_code": 7, "status_message": "Invalid API key: You must be granted a valid key.", "success": false } https://api.themoviedb.org/3/discover/movie
Svar från robbie3999
den 9 oktober 2023 vid 10:13 PM
You need to specify your api key.
For discover movie, you probably also want to specify a filter. For example: