Hi!
I'm using the API and trying to handle errors but I receive some inconsistent errors here:
Fetching reviews with an invalid movie id: curl -X get https://api.themoviedb.org/3/movie/4/reviews\?api_key\= => {"status_code":34,"status_message":"The resource you requested could not be found."}%
Feching recommendations with an invalid movie id: curl -X get https://api.themoviedb.org/3/movie/1/recommendations?api_key= => {"status_code":11,"status_message":"Internal error: Something went wrong, contact TMDb."}%
The response should have the status code 34 in both cases.
Thanks in advance,
Brenda
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 Travis Bell
on June 1, 2017 at 6:27 PM
Hi @bren717 Yup, they should both be returning a 404. I've created a new ticket for this here.
Cheers.
Reply by bren717
on June 2, 2017 at 3:12 AM
Great, thanks Travis!