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
.לא מצאת סרט או סדרה? היכנס כדי ליצור אותם
?רוצה לדרג או להוסיף פריט אל רשימה
?לא חבר אתר
תגובה מאת robbie3999
ב-ספטמבר 13, 2023 ב-5:07אחרי חצות יום
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".
תגובה מאת Tonsy
ב-ספטמבר 13, 2023 ב-5:10אחרי חצות יום
https://api.themoviedb.org/3/movie/top_rated?language=en-US&page=1?api_key=XXXXXXX
תגובה מאת robbie3999
ב-ספטמבר 13, 2023 ב-5:18אחרי חצות יום
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