The Movie Database Support

Error status code: 404 Error body: {"success":false,"status_code":34,"status_message":"The resource you requested could not be found."}

I can't fetch credits for a movie. get( '${AppConstants.apiBaseKey}movie/$movieId/credits?api_key=${AppConstants.apiKey}' );

Also tried fetching with a hardcoded id , or to fetch from a person endpoint still does not work. Even tho the TRY IT option on site works.

The apiBaseKey and apiKey are fine , because they fetch movies with no problems

2 replies (on page 1 of 1)

Jump to last post

@Senadin said:
Error 404 on movie/credits
Error status code: 404
Error body: {"success":false,"status_code":34,"status_message":"The resource you requested could not be found."}

I can't fetch credits for a movie.
get( '${AppConstants.apiBaseKey}movie/$movieId/credits?api_key=${AppConstants.apiKey}' );

Also tried fetching with a hardcoded id , or to fetch from a person endpoint still does not work.
Even tho the TRY IT option on site works.

The apiBaseKey and apiKey are fine , because they fetch movies with no problems

It is not finding the ID you specified.
The problem must be in your $movieId parameter.
Check that the API Request sent by your code is correct.
It's normal to have problems because of some small error.
An extra character, a space, etc...

Thanks for the reply! The problem was that i did not use headers , which was working for my movie id request somehow but for credits did not.

Can't find a movie or TV show? Login to create it.

ყველგან

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

მედიის გვერდზე

b go back (or to parent when applicable)
e go to edit page

ტელევიზიის სეზონების გვერდზე

(right arrow) go to next season
(left arrow) go to previous season

ტელევიზიის ეპიზოდების გვერდზე

(right arrow) go to next episode
(left arrow) go to previous episode

გამოსახულებების გვერდზე

a open add image window

რედაქტირების ყველა გვერდზე

t open translation selector
ctrl+ s submit form

დისკუსიების გვერდზე

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Settings

გსურთ შეაფასოთ ან დაამატოთ ეს ელემენტი სიაში?

ავტორიზაცია