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 ?
No trobeu una pel路l铆cula o una s猫rie? Inicieu la sessi贸 per a crear-la.
Desitgeu valorar o afegir aquest element a una llista?
No en sou membre?
Resposta per ticao2 馃嚙馃嚪 pt-BR
el 16 l de 2023 a les 10:29 A.M.
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?
Resposta per Abdelrahman14
el 16 l de 2023 a les 1:17 P.M.
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
Resposta per ticao2 馃嚙馃嚪 pt-BR
el 16 l de 2023 a les 1:51 P.M.
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/
Resposta per ritkg_05
el 23 e de 2023 a les 2:07 P.M.
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
Resposta per robbie3999
el 24 e de 2023 a les 4:58 P.M.
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".
Resposta per ritkg_05
el 20 r de 2023 a les 3:26 A.M.
The link i am using is
https://api.themoviedb.org/3/genre/movie/list?api_key=THE_KEY
Resposta per ticao2 馃嚙馃嚪 pt-BR
el 20 r de 2023 a les 9:58 A.M.
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
Resposta per InflammableBot
el 3 " de 2024 a les 2:39 P.M.
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 }
Resposta per ticao2 馃嚙馃嚪 pt-BR
el 11 " de 2024 a les 1:54 P.M.
On this page of your profile
https://www.themoviedb.org/settings/api
there is an option in the menu: "Regenerate Key".