Hi, i have this today. yestarday it worked but not today, my 2nd get -
https://api.themoviedb.org/3/search/movie?api_key=THE_KEY&query=${searchTerm}
is working well, but not this one :
https://api.themoviedb.org/3/movie/${movieId}?api_key=THE_KEY
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by ticao2 š§š· pt-BR
on May 15, 2023 at 7:06 PM
I tested your API Request in my browser and it worked without any problems.
Test yourself too to confirm my OK result.
I was unable to reproduce the error.
See the list of TMDb server error warnings here.
https://www.themoviedb.org/documentation/api/status-codes
In your case:
TMDb server error 404 should probably be 6.
Can you let us know which of these error responses you received?
If this is true, probably the ID used must have something else or be in error.
Maybe it's a code error.
Or else this 404 error is being reported by your code/tool and not by the TMDb server.
PS: It's not a good idea to give out your API Key. I changed it to THE_KEY
Reply by ticao2 š§š· pt-BR
on May 15, 2023 at 7:08 PM
Or else it could be a problem generated by AXIOS.
In that case, see the links below.
Axios Issues
https://www.themoviedb.org/talk/63e3d510db154f00812e67c6
https://www.themoviedb.org/talk/6037bbc2afa1b00043a76e2c
https://www.themoviedb.org/talk/5f621eae93388b003864513c
https://www.themoviedb.org/talk/5f55e3dd713ed40037f090d4
https://www.themoviedb.org/talk/5d5901d21749730017dd837a
https://www.themoviedb.org/talk/5bab86480e0a2664d4022f98