תמיכת 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 תגובות (בדף 2 מתוך 2)

Jump to last post

העמוד הקודם

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

.לא מצאת סרט או סדרה? היכנס כדי ליצור אותם

עולמי

s התמקד בשורת החיפוש
p פתח תפריט פרופיל
esc סגור חלון פתוח
? פתח חלון קיצורי דרך של מקלדת

בדפי מדיה

b לך חזרה (או אל הורה אם ישים)
e לך אל דף עריכה

בדפי עונות

(חץ ימני) לך אל העונה הבאה
(חץ שמאלי) לך אל העונה הקודמת

בדפי סדרות

(חץ ימני) לך אל הפרק הבא
(חץ שמאלי) לך אל הפרק הקודם

בכל דפי תמונה

a פתח חלון הוספת תמונה

בכל דפי עריכה

t פתח בוחר תרגום
ctrl+ s הגש טופס

בדפי דיון

n צור דיון חדש
w עורר מעמד צפייה
p עורר ציבורי/פרטי
c עורר סגירה/פתיחה
a פתח פעילות
r השב אל דיון
l לך אל תשובה אחרונה
ctrl+ enter הגש את הודעתך
(חץ ימני) הדף הבא
(חץ שמאלי) הדף הקודם

הגדרות

?רוצה לדרג או להוסיף פריט אל רשימה

היכנס