Hi,
When issuing a request to the movie endpoint with a long enough id, for example GET /movies/9999999999999999999
the response comes back with a http status code 200 OK
but a code 6
message:
{'status_code': 6, 'status_message': 'Invalid id: The pre-requisite id is invalid or not found.'}
This should probably send a 404
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 November 27, 2017 at 1:48 PM
What's the full URL you're requesting? My tests show a proper 404.
Reply by ejcaropr
on November 28, 2017 at 3:02 AM
This is the full request and response headers
And this yields a
status_code
6, not 34, like the test you provided.Reply by Travis Bell
on November 28, 2017 at 9:20 PM
Interesting, for some reason doing a
HEAD
request does the right thing, while aGET
doesn't. But the issue is more complicated than that, it only happens when the int is a bignum. A regular int is fine.