The Movie Database Support

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.

25 svar (pÄ sida 2 av 2)

Jump to last post

FöregÄende sida

@sobiairam said:

Its resolved i tried it with POSTMAN the key is valid and working now thanks

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}

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 a 401 Unauthorized response: @"status_code":7,"status_message":"Invalid API key: You must be granted a valid key.","success":false

@addy_999 said:

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 a 401 Unauthorized response: @"status_code":7,"status_message":"Invalid API key: You must be granted a valid key.","success":false

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.

@ticao2 said:

Take a test.
Click to go to your Profile > API: https://www.themoviedb.org/settings/api
At the bottom of the page, below, you'll find the Example API Request.
Use this example to do a search.
If it works, your key is OK.
If it does not work, let us know right here.

Not viewing this from.my account

That post is 5 years old. "Example API Request" has been removed from that page since then.

@m68476521 said:

@ticao2 said:

@m68476521 said:
Hi, I am getting the status code 7. Can anyone help me?

If you read this thread from the beginning, you must have seen the request I made, and I will repeat it more completely for you:

Take a test.
Click to go to your Profile > API: https://www.themoviedb.org/settings/api
At the bottom of the page, below, you'll find the Example API Request.
https://api.themoviedb.org/3/movie/550?api_key=[THE_KEY]
Use this example to do a search using a new tab in your browser.
If it works, your Key is OK.

When there is a problem, the TMDb Server sends a message.
Here is a list of possible messages:
https://www.themoviedb.org/documentation/api/status-codes
Can you tell which message the server sent?

If it does not work, let us know right here.

Take the test and report the result here.
Both the result that worked and the result went wrong.

Thank you for the help. That work!

it is showing me the error number 401 of seven(7)

@madankhatri said:
it is showing me the error number 401 of seven(7)

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.

@prakashdas said:

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.

@prakashdas said:

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.

Kan du inte hitta en film eller tv-serie? Logga in för att skapa den.

Globala

s fokus pÄ sökrutan
p öppna profilmenyn
esc stÀng ett öppet fönster
? öppna tangentbordsgenvÀg fönstret

PĂ„ mediasidor

b gÄ tillbaka (eller till förÀlder nÀr det Àr tillÀmpligt)
e gÄ till redigerings sidan

PÄ tv-sÀsongssidor

(höger pil) gÄ till nÀsta sÀsong
(vÀnster pil) gÄ till den föregÄende sÀsongen

PĂ„ tv-avsnittssidor

(höger pil) gÄ till nÀsta avsnitt
(vÀnster pil) gÄ till föregÄende avsnitt

PĂ„ alla bildsidor

a öppna lÀgg till bild fönstret

PĂ„ alla redigeringssidor

t öppna översÀttnings vÀljaren
ctrl+ s skicka förmulÀr

PĂ„ diskussionssidor

n skapa ny diskussion
w vÀxla sedd-status
p vÀxla offentligt/privat
c vÀxla stÀng/öppna
a öppna aktivitet
r svara pÄ diskussionen
l gÄ till det senaste svaret
ctrl+ enter skicka ditt meddelande
(höger pil) nÀsta sida
(vÀnster pil) föregÄende sida

InstÀllningar

Vill du betygsÀtta denna artikel eller lÀgga till den i en lista?

Logga in