Hi, I have created an account to generate an API key which I would be using to fetch movie for a layout experiment in one of my desktop applications.
However, when I try to input the key, it directs me to this JSON.
{
"status_code": 7,
"status_message": "Invalid API key: You must be granted a valid key.",
"success": false
}
and this is how I input it for trending movie; https://api.themoviedb.org/3/trending/movie/day?api_key=${key}
Any reason why my key is invalid?
P.S while creating account, I didn't provide link to my application.
找不到电影或节目?登录并创建它吧。
ticao2 🇧🇷 pt-BR 的回复
于 2024 年 06 月 11 日 2:49下午
Only the Travis Bell admin and you can access your API Key.
So I suggest you
Take a Test
Using a computer, desktop or notebook.
On some mobile devices this test may not work correctly.
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.