@nkosikhona.msweli99 said: API
The api key is not working on my side.
Can i please have access to the movie data.
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
Hello, It works fine for me with my API key using the URL you provided, but when trying in local or through the testing interface from discover-movie for instance, it fails.
$ node ./bin/www
{
status_code: 7,
status_message: 'Invalid API key: You must be granted a valid key.',
success: false
}
@Jesuismat said:
Hello, It works fine for me with my API key using the URL you provided,
but when trying in local or through the testing interface from discover-movie for instance, it fails.
$ node ./bin/www
{
status_code: 7,
status_message: 'Invalid API key: You must be granted a valid key.',
success: false
}
I assume you are testing/using "Try it!" in the documentation.
The "Try it!" option in DOCs it only works with the "Access Token Auth" option.
It doesn't work if you select the "API Key Auth" option.
It is a birth defect since the migration to this service.
I don't know if it can be fixed. I'm not a programmer.
@nkosikhona.msweli99 said:
The API key is not working, I regenerated it but still it is not working. Even when I test it it doesn't work, the response was this..
{"status_code":7,"status_message":"Invalid API key: You must be granted a valid key.","success":false}
Well, if you did the test above, opening this URL in a tab in your browser, https://api.themoviedb.org/3/movie/550?api_key=THE_KEY ,
using your API Key, then I believe that only Adm Travis Bell will be able to help you.
Let's wait for him to come by.
Odpověď od ticao2 🇧🇷 pt-BR
27.11.2024 v 9:12 DOP.
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.
Odpověď od Jesuismat
27.11.2024 v 12:35 ODP.
Hello, It works fine for me with my API key using the URL you provided, but when trying in local or through the testing interface from discover-movie for instance, it fails.
$ node ./bin/www { status_code: 7, status_message: 'Invalid API key: You must be granted a valid key.', success: false }
Odpověď od ticao2 🇧🇷 pt-BR
27.11.2024 v 5:46 ODP.
I assume you are testing/using "Try it!" in the documentation.
The "Try it!" option in DOCs it only works with the "Access Token Auth" option.
It doesn't work if you select the "API Key Auth" option.
It is a birth defect since the migration to this service.
I don't know if it can be fixed. I'm not a programmer.
Your API Key validation test is done using your Token.
https://developer.themoviedb.org/reference/authentication-validate-key
If your Token works then your API Key must also work.
Odpověď od nkosikhona.msweli99
02.12.2024 v 4:13 DOP.
The API key is not working, I regenerated it but still it is not working. Even when I test it it doesn't work, the response was this..
{"status_code":7,"status_message":"Invalid API key: You must be granted a valid key.","success":false}
Odpověď od ticao2 🇧🇷 pt-BR
02.12.2024 v 7:53 DOP.
Well, if you did the test above, opening this URL in a tab in your browser,
https://api.themoviedb.org/3/movie/550?api_key=THE_KEY ,
using your API Key, then I believe that only Adm Travis Bell will be able to help you.
Let's wait for him to come by.
Odpověď od nkosikhona.msweli99
02.12.2024 v 8:38 DOP.
Yes I did the test, thank you for your reply. I will wait for him.