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
Nevari atrast filmu vai TV pārraidi? Jāpiesakās, lai to izveidotu.
Vēlies novērtēt šo vienumu vai pievienot to sarakstam?
Neesi dalībnieks?
Atbilde no robbie3999
on septembris 13, 2023 at 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".
Atbilde no Tonsy
on septembris 13, 2023 at 5:10 PM
https://api.themoviedb.org/3/movie/top_rated?language=en-US&page=1?api_key=XXXXXXX
Atbilde no robbie3999
on septembris 13, 2023 at 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