I have created my own API key but when i try to use it it gives the error code 7 : "{"status_code":7,"status_message":"Invalid API key: You must be granted a valid key.","success":false}" I have tried to regenerate the key and it didnt work also. Note that the access token is working so I need help even if there is a way to use the token instead of the key so I can access the data
Un film, une émission télévisée ou un artiste est introuvable ? Connectez-vous afin de créer une nouvelle fiche.
Vous souhaitez évaluer ou ajouter cet élément à une liste ?
Pas encore membre ?
Réponse de robbie3999
le 13 septembre 2023 à 17h07
Hi @Tonsy, to get any help you need to give us the api URL you are trying to use that generates the error. Hide your private api key with a string like "API_KEY" or "xxxxxx".
Réponse de Tonsy
le 13 septembre 2023 à 17h10
https://api.themoviedb.org/3/movie/top_rated?language=en-US&page=1?api_key=XXXXXXX
Réponse de robbie3999
le 13 septembre 2023 à 17h18
After the first "?" all parameters must be separated by "&". So the query should be:
https://api.themoviedb.org/3/movie/top_rated?language=en-US&page=1&api_key=XXXXXXX