i deployed my website on netlify through github and i putted my api key in env file and i think i got blocked, so can you help me ?
Kan βn rolprent of TV-program nie vind nie? Teken aan om dit te skep.
Wil u hierdie item gradeer of tot βn lys toevoeg?
Nie βn lid nie?
Antwoord deur ticao2 π§π· pt-BR
op 16 Maart 2023 om 10:29 VM
Maybe it's not a TMDb error response.
See the list of TMDb server error warnings here.
https://www.themoviedb.org/documentation/api/status-codes
In your case:
Can you let us know which of these error responses you received?
Antwoord deur Abdelrahman14
op 16 Maart 2023 om 1:17 NM
it's give me either (Status code: 401) only or (Status code: 401 internal redirect)
here is the whole response
Request URL: https://api.themoviedb.org/3/discover/tv?api_key=MY_API_KEY&with_networks=213
Request Method: GET
Status Code: 401 Internal Redirect
Antwoord deur ticao2 π§π· pt-BR
op 16 Maart 2023 om 1:51 NM
This API Request of yours is working smoothly for me.
https://api.themoviedb.org/3/discover/tv?api_key=THE_KEY&with_networks=213
I believe that whoever is sending this error response is not the TMDb server.
It must probably be your installed Netlify.
So you should ask for help on their website.
https://www.netlify.com/
Antwoord deur ritkg_05
op 23 Oktober 2023 om 2:07 NM
hey i try to Authenticate my api_key but it is showing error 401 "status_code": 7, "status_message": "Invalid API key: You must be granted a valid key.", "success": false
Antwoord deur robbie3999
op 24 Oktober 2023 om 4:58 NM
Hi @ritkg_05, in order to get help you need to supply more information. What is the exact api URL you are trying to use that gives the error message. Replace your api key with a string like "xxxxxx".
Antwoord deur ritkg_05
op 20 November 2023 om 3:26 VM
The link i am using is
https://api.themoviedb.org/3/genre/movie/list?api_key=THE_KEY
Antwoord deur ticao2 π§π· pt-BR
op 20 November 2023 om 9:58 VM
I tested your URL in my Firefox browser on my Win11 note and it worked correctly.
Have you tried opening this URL in a new window or tab on your browser?
Preferably do not use a mobile device. Support is not good for them.
And answer here if it worked or didn't work correctly.
PS: I exchanged your API Key for THE_KEY
Antwoord deur InflammableBot
op 3 Junie 2024 om 2:39 NM
it's give me either (Status code: 401) here is the whole response Request URL:
https://api.themoviedb.org/3/movie/11?api_key=1097bff1d2323aa07c0086a420ba61d7
{ "status_code": 7, "status_message": "Invalid API key: You must be granted a valid key.", "success": false }
Antwoord deur ticao2 π§π· pt-BR
op 11 Junie 2024 om 1:54 NM
On this page of your profile
https://www.themoviedb.org/settings/api
there is an option in the menu: "Regenerate Key".