Api is not working, we get axios error 404 (AxiosError {message: 'Request failed with status code 404', name: 'AxiosError', code: 'ERR_BAD_REQUEST', config: {…}, request: XMLHttpRequest)
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 7, 2023 at 10:40 AM
It makes solving your problem much easier when you post the API Request used here.
Problems with API Request
In order for someone to help you with API Request questions,
it is critical that you post here the API Request you are sending to the TMDb server.
Remember to replace your Key with MY_KEY , YOUR_KEY , THE_KEY , or something like that.
Not the programming code/script you used to build the API Request.
But the API Request that is sent to the TMDb server.
Or the API Request you would like to send.
Reply by Travis Bell
on May 7, 2023 at 12:16 PM
Indeed @kartikey12, you can see here your request is working properly (replace ### with your API key):
With regards to Axios, unless somebody who is familiar with Axios comes across this, you might not get the help you're looking for. I usually recommend heading over to Stack Overflow where you can ask a specific question to those familiar with the technology you're using.
Reply by ticao2 🇧🇷 pt-BR
on May 8, 2023 at 11:07 AM
If the problem is AXIOS, maybe these conversations can help.
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
Reply by kartikey12
on May 9, 2023 at 2:26 PM
I am still getting error 404 using this code.
Reply by robbie3999
on May 9, 2023 at 5:32 PM
A 404 error usually means you messed up the path and not the query. I see you are using
/search/multi?
maybe you need
/3/search/multi?