The Movie Database Support

When using my API key to make a request with API 3, I receive results back from various endpoints. However, when I switch to API 4, I get results back for discover but when I try to get data from genre or credits or movie then I receive a status code 34 (The resource you requested could not be found). This occurs both in php using curl and also via the terminal. I am using the API 4 token and even used the exact code on this page for my terminal request...

https://developers.themoviedb.org/3/getting-started/authentication

If I make the genre list request using 3 then it works fine but as soon as I switch it to 4 then I receive the status code 34. Any idea what this could be?

Thanks, Wil

5 replies (on page 1 of 1)

Jump to last post

What is the exact query you are sending ?

This is the API call...

https://api.themoviedb.org/4/genre/movie/list?language=en-US

I am using the Bearer Token method with my API token sent in the curl headers as described in that link in my original post.

The results come back good when I switch to 3 but as soon as I change to 4 it tells me Status Code: 34 Error: 404 - The resource you requested could not be found.

Thanks, Wil

Did you try to use https://api.themoviedb.org/3/genre/movie/list?language=en-US ? Even if you use the bearer token method to authentify, this is still a V3 API call.

Yes, 3 works fine. So I should just use that? Is it best to just use 3 or are there certain calls that 4 is better to use for? I am primarily doing standard movie/tv show discovery and title calls. Don't need access to any of the lists or user account calls.

Thanks, Wil

The only V4 API calls are the ones listed on this documentation page.

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

Global

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

On media pages

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

On TV season pages

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

On TV episode pages

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

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

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

Want to rate or add this item to a list?

Login