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)
Не вдалося знайти фільм або серіал? Увійдіть, щоб додати.
Хочете оцінити чи додати до списку?
Немає облікового запису?
Відповідь від ticao2 🇧🇷 pt-BR
7 травня 2023, 10:40
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.
Відповідь від Travis Bell
7 травня 2023, 12:16
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.
Відповідь від ticao2 🇧🇷 pt-BR
8 травня 2023, 11:07
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
Відповідь від kartikey12
9 травня 2023, 14:26
I am still getting error 404 using this code.
Відповідь від robbie3999
9 травня 2023, 17:32
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?