The Movie Database 支持

I am getting this Error , while trying to fetch the API

{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

Please Help

13 回复(第 1 页,共 1 页)

Jump to last post

@yg4798 said:
API Fetching issue
I am getting this Error , while trying to fetch the API

{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

First run a test to see if your API Key has a problem.

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

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

Hi,

Last I checked, couple of months ago my API was working fine but now I am getting {"status_code":7,"status_message":"Invalid API key: You must be granted a valid key.","success":false}

Please assist

@Sbonelobour said:

Hi,

Last I checked, couple of months ago my API was working fine but now I am getting {"status_code":7,"status_message":"Invalid API key: You must be granted a valid key.","success":false}

Please assist

Hi, I had the same error today on my localhost and netlify versions of my app. In my case the problem was the browser (Brave browser) itself and its plugins. I've had to disable ghostery, ublock origin and built in Brave option to block adverst and other stuff. When the plugins are disabled fetching movies works like it should.

In my case I don't have any plugins. Even if I try to use the example API request on my browser or on Postman i get this Invalid API key error.

@Sbonelobour said:
Hi,
Last I checked, couple of months ago my API was working fine but now I am getting {"status_code":7,"status_message":"Invalid API key: You must be granted a valid key.","success":false}

Please assist

If you did the test with the Example Request and received this response, then I believe that your API Key is indeed in trouble.
It needs to be regenerated.
And in this case only Administrator Travis Bell can solve the problem.
Let's wait for him to come by.
I'm going to add the word Regenerate in the title of this conversation to get his attention.

Alright thank you. I will be waiting for Travis attention.

Hi @Sbonelobour,

I'm not seeing any issues with your API key. I've truncated it here for privacy reasons but the full key is working:

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

Hi Travis,

I can see it working now. Not really sure what happened.

Thank you.

Kind Regards

Buen dia. Estoy presentando el mismo problema con mi apikey.

Hi @lisreyes, In order to get help, you need to provide the api URL you are calling and the error message that you get. Hide your private api key with a string like "API_KEY" or "xxxxxx".

Hi , im having trouble in the console is giving those error: "Fetch API cannot load", on settings i have an have API Key and API Read Access Token but dont have example Api request and the base URL https://api.themoviedb.org/3 doesn't work .

@robbie3999 said:

Hi @lisreyes, In order to get help, you need to provide the api URL you are calling and the error message that you get. Hide your private api key with a string like "API_KEY" or "xxxxxx".

Hola, hago la prueba desde el sitio y lo que me lanza es "Sorry you couldn't be authenticated with those credentials"

找不到电影或节目?登录并创建它吧。

全站通用

s 聚焦到搜索栏
p 打开个人资料菜单
esc 关闭打开的窗口
? 打开键盘快捷键窗口

在媒体页面

b 返回(或返回上级)
e 进入编辑页面

在电视季页面

(右箭头)下一季
(左箭头)前一季

在电视集页面

(右箭头)下一集
(左箭头)上一集

在所有图像页面

a 打开添加图片窗口

在所有编辑页面

t 打开翻译选择器
ctrl+ s 提交

在讨论页面

n 创建新讨论
w 切换关注状态
p 设为公开 / 私密讨论
c 关闭 / 开放讨论
a 打开活动页
r 回复讨论
l 跳转至最新回复
ctrl+ enter 发送信息
(右箭头)下一页
(左箭头)前一页

设置

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

登录

还不是会员?

注册加入社区