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 发送信息
(右箭头)下一页
(左箭头)前一页

设置

想给这个条目评分或将其添加到片单中?

登录

还不是会员?

注册加入社区