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
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 June 17, 2022 at 8:46 AM
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.
Reply by vivekpawar.data
on June 17, 2022 at 8:52 AM
i don't want to fetch credit for single movie i want it for all movies
Reply by ticao2 š§š· pt-BR
on June 17, 2022 at 8:56 AM
I repeat.
You stated that an API Request did not work correctly.
Then post here the API Request that didn't work properly.
Reply by vivekpawar.data
on June 17, 2022 at 9:00 AM
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.
Reply by vivekpawar.data
on June 17, 2022 at 9:03 AM
GETTING THIS ERROR
{"success":false,"status_code":34,"status_message":"The resource you requested could not be found."}
Reply by ticao2 š§š· pt-BR
on June 17, 2022 at 9:04 AM
This API Request must contain the Movie ID, and is missing the Movie ID.
What data did you expect to receive with this Request?
Reply by ticao2 š§š· pt-BR
on June 17, 2022 at 9:05 AM
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.
Reply by vivekpawar.data
on June 17, 2022 at 9:08 AM
Yes i have taken test it works but i getting status code 34 as error
Reply by ticao2 š§š· pt-BR
on June 17, 2022 at 9:18 AM
Excellent
This error 34 refers to:
I repeat, post here the API Request you are sending to our server.