Axuda de The Movie Database

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 respostas (na páxina 2 de 2)

Jump to last post

Páxina anterior

@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.

Non podes atopar unha película ou serie? Inicia sesión para creala.

Global

s amosar a barra de procura
p abrir menú do perfil
esc pechar e abrir xanela
? abrir xanela de atallos do teclado

En páxinas de medios

b atrás (ou á principal se aplica)
e ir a editar páxina

En páxinas de tempadas de televisión

(flecha dereita) ir á tempada seguinte
(flecha esquerda) ir á tempada anterior

En páxinas de episodios de televisión

(flecha dereita) ir ao episodio seguinte
(flecha esquerda) ir ao episodio anterior

En todas as páxinas de imaxe

a abrir a xanela de engadir imaxe

En todas as páxinas de edición

t abrir selector de traducións
ctrl+ s enviar formulario

Nas páxinas de debate

n crear un novo debate
w amosar o estado do seguimento
p mudar público/privado
c mudar abrir/pechar
a abrir actividade
r responder no debate
l ir á última resposta
ctrl+ enter eviar a túa mensaxe
(flecha dereita) páxina seguinte
(flecha esquerda) ir á páxina anterior

Configuración

Queres valorar ou engadir o elemento a unha listaxe?

Iniciar sesión