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.
Reply by mujeeabbas
on November 17, 2023 at 8:55 PM
Why
Reply by Matlab4040
on November 18, 2023 at 5:04 AM
i have no idea it just says api key invalid
Reply by ticao2 š§š· pt-BR
on November 18, 2023 at 9:21 AM
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.
Reply by Matlab4040
on November 18, 2023 at 12:07 PM
it is still not working and the status code error is 7 error 401, Invalid API key: You must be granted a valid key.
Reply by ticao2 š§š· pt-BR
on November 18, 2023 at 7:16 PM
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.
Reply by Matlab4040
on November 19, 2023 at 3:41 AM
THANK YOU