Netflix API Forums

I Need Help!

RSS Feed

Error 422 when adding instant movie

    • Tim
    • Topic created 3 years ago

    Something I just noticed while developing my application: if I try to add a movie that's not available for instant viewing to the instant queue, I get an error 422 back. The API defines 422 as "title has already been rated." This seems like it can't possibly be right. Is this a bug with the API? I realize I should be checking whether the title is available for instant watching before attempting to add it to the instant queue, but I thought this was an issue worth raising in any case, just to make sure the status codes are correct.

    Message edited by Tim 3 years ago

  1. Michael Hart3 years ago

    This is a bug. The response should be a 400 with a subcode of 660, in case you want to handle the 400 more gracefully.

[ Page 1 of 1 ]