Hi, i'm not able to use your granted API as it says this when i m trying to print the result in browser {status_code: 7, status_message: "Invalid API key: You must be granted a valid key."}
please help me out.
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by SachinYadav1
on March 28, 2022 at 3:15 PM
Please tell me a step because my problem is same problem is {"status_code":7,"status_message":"Invalid API key: You must be granted a valid key.","success":false}
Reply by addy_999
on July 12, 2023 at 11:30 AM
Hi @ticao2 ! The example API request is not working for me. I'm getting a message like this one: Client error:
GET https://api.themoviedb.org/3/discover/movie
resulted in a401 Unauthorized
response: @"status_code":7,"status_message":"Invalid API key: You must be granted a valid key.","success":falseReply by ticao2 š§š· pt-BR
on July 12, 2023 at 1:47 PM
Hello @addy_999
If you took the test using this URL
https://api.themoviedb.org/3/movie/550?api_key=[THE_KEY]
replacing THE_KEY with your own API Key,
in a new tab or window of your browser and received this error response,
only Administrator Travis Bell can check and fix your problem.
I suggest you open a new topic because you will probably need to expose your API Key
and we will have to keep the new topic Private.
In order not to expose your API Key to everyone.
Reply by reactj13
on August 1, 2023 at 2:21 PM
Not viewing this from.my account
Reply by robbie3999
on August 1, 2023 at 4:11 PM
That post is 5 years old. "Example API Request" has been removed from that page since then.
Reply by ticao2 š§š· pt-BR
on August 1, 2023 at 6:20 PM
Hi @reactj13
See here
https://www.themoviedb.org/talk/5bf80fab9251412f35081de7?page=2#64aee71a6a344800c9fd7653
Reply by madankhatri
on September 23, 2023 at 5:08 AM
it is showing me the error number 401 of seven(7)
Reply by ticao2 š§š· pt-BR
on September 23, 2023 at 7:18 PM
If you did the test below and received this error response, I suggest you create a new topic just with your problem.
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 Leonora Jerofejeva
on April 3, 2024 at 9:42 PM
Reply by tmdb25514419
on November 15, 2024 at 12:34 PM