When there is a problem, the TMDb Server sends a message.
Can you tell which message the server sent?
Here is a list of possible messages: https://developer.themoviedb.org/docs/errors
@Matlab4040 said:
it is still not working and the status code error is 7 error 401, Invalid API key: You must be granted a valid key.
Well, if you did the test as indicated above, using a tab in your browser, and received this error,
then I suggest asking to regenerate your API Key.
Go to your profile https://www.themoviedb.org/settings/api
and in the top menu click on the "Regenerate Key" option on the right.
It may take up to a week.
Only the Travis Bell admin can regenerate an API Key.
It depends on how much work he has.
mujeeabbas 的回复
于 2023 年 11 月 17 日 8:55下午
Why
Matlab4040 的回复
于 2023 年 11 月 18 日 5:04上午
i have no idea it just says api key invalid
ticao2 🇧🇷 pt-BR 的回复
于 2023 年 11 月 18 日 9:21上午
Take a Test
In the URL below, change THE_KEY to your API Key.
https://api.themoviedb.org/3/movie/550?api_key=THE_KEY
Use this example to do a search using a new tab or window in your browser.
You will receive the basic data of the Movie Fight Club (1999)
https://www.themoviedb.org/movie/550-fight-club
If it works, your Key is OK.
When there is a problem, the TMDb Server sends a message.
Can you tell which message the server sent?
Here is a list of possible messages:
https://developer.themoviedb.org/docs/errors
If it does not work, let us know right here.
Matlab4040 的回复
于 2023 年 11 月 18 日 12:07下午
it is still not working and the status code error is 7 error 401, Invalid API key: You must be granted a valid key.
ticao2 🇧🇷 pt-BR 的回复
于 2023 年 11 月 18 日 7:16下午
Well, if you did the test as indicated above, using a tab in your browser, and received this error,
then I suggest asking to regenerate your API Key.
Go to your profile
https://www.themoviedb.org/settings/api
and in the top menu click on the "Regenerate Key" option on the right.
It may take up to a week.
Only the Travis Bell admin can regenerate an API Key.
It depends on how much work he has.
Matlab4040 的回复
于 2023 年 11 月 19 日 3:41上午
THANK YOU