The Movie Database podpora

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 odpoveďí (na strane 1 z 2)

Jump to last post

Ďalšia stranaPosledná strana

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.

hi, in your api im not able to use your image link as my header of page it shows not found

Please paste here the URL, the API Request, that you are trying to do the search.

Hi, I am getting the status code 7. Can anyone help me?

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

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

https://api.themoviedb.org/3/movie/550?api_key=*****************

[HMR] Waiting for update signal from WDS... Home.js:31 {status_code: 7, status_message: "Invalid API key: You must be granted a valid key.", success: false}status_code: 7status_message: "Invalid API key: You must be granted a valid key."success: false[[Prototype]]: Object

getting this error please anyone help i am adding the right key............

@sobiairam said:
https://api.themoviedb.org/3/movie/550?api_key=*****************
[HMR] Waiting for update signal from WDS...
Home.js:31 {status_code: 7, status_message: "Invalid API key: You must be granted a valid key.", success: false}status_code: 7status_message: "Invalid API key: You must be granted a valid key."success: false[[Prototype]]: Object
getting this error please anyone help i am adding the right key............

Have you taken the test I indicated above and received this answer in your browser ?
What OS and browser are you using ?
If not, do the test I requested above using your browser.

Looks like it's a problem with your modem.
WDS is a wifi modem service.

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

hi, even I have the same "invalid key problem". I tried the test of example API request but still, it didn't work. I checked in my console and the status of the server shows 401(). So, what do I need to do now?

looking forward to your help, thankyou!

@akashpattnaik_ said:
hi, even I have the same "invalid key problem".
I tried the test of example API request but still, it didn't work.
I checked in my console and the status of the server shows 401().
So, what do I need to do now?

Testing should be done by pasting the API Request into the url of a new browser tab.
If you took the test given above by me using your browser and didn't get the correct answer, then your API Key must be in trouble.
I suggest you open a new thread with your problem.
That way Administrator Travis Bell will know what to do.

Het Guys! I was trying to use API Key. Can I know, once the API Key gets issued then will it be valid for a short duration of time, or will it be valid for a longer period of time?

If it is issued for a longer period of time then can you help me out?

I was trying to run the API Key in building a project for Movie Recommendation and when I was using the API Key for a longer period of time then it was showing an error that was "tus_message': 'Invalid API key: You must be granted a valid key.', 'success': False}".

Additional to this error there is another error that is as follow: KeyError: 'poster_path'

Please help me out.

@sandipta45@gmail.com said:
Het Guys!
I was trying to use API Key.
Can I know, once the API Key gets issued then will it be valid for a short duration of time, or will it be valid for a longer period of time?

The API Key has no expiration date.
But it can be invalidated by the Administrator for misuse.

If it is issued for a longer period of time then can you help me out?
I was trying to run the API Key in building a project for Movie Recommendation
and when I was using the API Key for a longer period of time then it was showing an error that was "tus_message':
'Invalid API key: You must be granted a valid key.', 'success': False}".

I did not understand.
The API Key worked correctly for a short period and then it stopped working, sending this answer, 'Invalid API key ?
If you need to verify that your API Key is valid, follow the instructions below.

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.
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://www.themoviedb.org/documentation/api/status-codes

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

Hey @ticao2 !
The API key which is issued to me is "THE_KEY".
This API key is issued by the website itself.

So, I tried to do "Take a Task" and the example API request is working for me but the issue I am facing is
"{'status_code': 7, 'status_message': 'Invalid API key: You must be granted a valid key.', 'success': False}".

Can you help me out in this situation?

@sandipta45@gmail.com said:
Hey @ticao2 !
The API key which is issued to me is "THE_KEY".
This API key is issued by the website itself.

It is not advisable to publish your API Key.
So I changed it to THE_KEY.

So, I tried to do "Take a Task" and the example API request is working for me

This you did proves that the API Key is without problems.

but the issue I am facing is
"{'status_code': 7, 'status_message': 'Invalid API key: You must be granted a valid key.', 'success': False}".
Can you help me out in this situation?

In this case I think it must be some small error in your programming code.
So the problem must be in the code that is building your API Request, or something like that,
and is sending the Request to the TMDb Server.

It is very common to find people here with this type of problem.
A little mistake, a copy and paste with an extra space, or less character, an exchange of characters,
a quote left, use a dash when it should be underline, in short a typo and the answer can be that.
Even if the API Key is correct. The Requisition is that it has a little mistake.

I will place 5 API requests here. The first 4 with error.
You can see that the API Key is correct but the answer is Invalid API key or could not be found.

1 https://api.themoviedb.org/3/movie/777670&api_key=THE_KEY
2 https://api.themoviedb.org/3/movie/777670/api_key=THE_KEY
3 https://api.themoviedb.org/3/movie/777670?api-key=THE_KEY
4 https://api.themoviedb.org/3/movie/'777670'?api_key=THE_KEY
5 https://api.themoviedb.org/3/movie/777670?api_key=THE_KEY

My suggestion is to check if there is any way for you to view the API Request that your APP is sending to the TMDb server.
Not the construction of the code, but the requisition built, final.
If possible, post the Request here.
If this is not possible, then you need to check in your code if there is a mistake, like the mistake in the examples above.
The error is usually in this segment of the API Request: ....?api_key=12345....

Nemôžeš nájsť film alebo seriál? Prihlás sa a pridaj ho.

Globálne

s zamerať sa na vyhľadávací riadok
p otvoriť menu profilu
esc zatvoriť otvorené okno
? otvoriť okno klávesových skratiek

Na média stránkach

b ísť späť (do rodičovského pokiaľ možno)
e íst na stránku úprav

Na stránkach seriálových serií

(pravá šípka) ísť na nasledujúcu sériu
(ľavá šípka) ísť na predchádzajúcu sériu

Na stránkach seriálových epizód

(pravá šípka) ísť na nasledujúcu epizódu
(ľavá šipka) isť na predchádzajúcu epizódu

Na všetkých obrázkových strankach

a otvoriť okno pre pridanie obrázku

Na všetkých stránkach úprav

t otvoriť výber prekladu
ctrl+ s odoslať formulár

Na stránkach diskusií

n vytvoriť novú diskusiu
w prepínač stavu pozerania
p prepínač verejný/súkromný
c prepínač zatvorený/otvorený
a otvoriť aktivitu
r odpovedať v diskusií
l ísť na poslednú odpoveď
ctrl+ enter odoslať vašu správu
(pravá šípka) nasledujúca strana
(ľavá šípka) predchádzajúca strana

Nastavenia

Chcete ohodnotiť alebo pridať túto položku do zoznamu?

Prihlásiť sa