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
Nu găsiți un film sau un serial? Autentificați-vă pentru a-l crea.
Doriți să evaluați sau să adăugați acest articol într-o listă?
Nu sunteți membru?
Răspuns de robbie3999
pe data de 13 septembrie 2023 la ora 5:07 PM
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ăspuns de Tonsy
pe data de 13 septembrie 2023 la ora 5:10 PM
https://api.themoviedb.org/3/movie/top_rated?language=en-US&page=1?api_key=XXXXXXX
Răspuns de robbie3999
pe data de 13 septembrie 2023 la ora 5:18 PM
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