https://api.themoviedb.org/3/movie/{movie_id}/credits?api_key=<>&language=en-US
ABOVE LINK IS NOT WORKING TO FETCH ALL CREDITS OF MOVIE AS PER movie_id
Не можете найти фильм или сериал? Войдите на сайт, чтобы добавить его.
Хотите поставить оценку или добавить в список?
Нет аккаунта?
Ответ от ticao2 🇧🇷 pt-BR
, 17 июня 2022 в 08:46
Please post a complete example here, with the Movie ID.
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 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.
Ответ от vivekpawar.data
, 17 июня 2022 в 08:52
i don't want to fetch credit for single movie i want it for all movies
Ответ от ticao2 🇧🇷 pt-BR
, 17 июня 2022 в 08:56
I repeat.
You stated that an API Request did not work correctly.
Then post here the API Request that didn't work properly.
Ответ от vivekpawar.data
, 17 июня 2022 в 09:00
https://api.themoviedb.org/3/movie/{movie_id}/credits?api_key=<>&language=en-US
Error: Network Error
Check the developer tools console, it might have more information on the error.
Ответ от vivekpawar.data
, 17 июня 2022 в 09:03
GETTING THIS ERROR
{"success":false,"status_code":34,"status_message":"The resource you requested could not be found."}
Ответ от ticao2 🇧🇷 pt-BR
, 17 июня 2022 в 09:04
This API Request must contain the Movie ID, and is missing the Movie ID.
What data did you expect to receive with this Request?
Ответ от ticao2 🇧🇷 pt-BR
, 17 июня 2022 в 09:05
Take a Test
Click to go to your Profile > API: https://www.themoviedb.org/settings/api
At the bottom of the page, below, you'll find the Example API Request.
https://api.themoviedb.org/3/movie/550?api_key=THE_KEY
Use this example to do a search using a new tab in your browser.
You will receive the basic data of the Movie Fight Club (1999)
https://www.themoviedb.org/movie/550-fight-club
If it works, your Key is OK.
When there is a problem, the TMDb Server sends a message.
Can you tell which message the server sent?
Here is a list of possible messages:
https://www.themoviedb.org/documentation/api/status-codes
If it does not work, let us know right here.
Ответ от vivekpawar.data
, 17 июня 2022 в 09:08
Yes i have taken test it works but i getting status code 34 as error
Ответ от ticao2 🇧🇷 pt-BR
, 17 июня 2022 в 09:18
Excellent
This error 34 refers to:
I repeat, post here the API Request you are sending to our server.