Issue #148: friendships/lookup returning 404 for some users

New description:
Executing friendships/lookup with criteria that do not exist (like user_ids of deleted or non-existent users) will cause the entire request to 404 rather than serving the elements that could be serviced.

Original description:
I'm doing a friendships/lookup on a number of user-ids and for some reason it sometimes is returning a 404 with the following JSON payload:

This particular case is completely repeatable, in this example the authenticating user is 'code warden' and these user-ids were gotten from the list of user that 'andicried' is following.

  1. {"error":"Not found","request":"\/1\/friendships\/lookup.json?user_id=119810452%2C206533155%2C216819829%2C231965435%2C164418186%2C25140900%2C246226955%2C28240696%2C241675276%2C108369004%2C236400015%2C40724787%2C61228608%2C36916922%2C89523939%2C22034218%2C47211010%2C101532373%2C228264692%2C15635729%2C201357927%2C52221945%2C178963530%2C55306695%2C27685955%2C186343486%2C18764536%2C125968046%2C234344628%2C185314895%2C21019241%2C36160885%2C150050612%2C28803677%2C172394505%2C90068794%2C88066036%2C41716273%2C224809313%2C36423214%2C759251%2C19802037%2C32122637%2C98173691%2C16867526%2C222111764%2C135460245%2C50200114%2C81230241%2C215957468"}

Updates

  • There are times when our friendship service is particularly stressed and has trouble with some of these. If you're still having difficulty, please create a discussion topic with more details on your steps to reproduce this. Thanks!
  • Re-opening with better understanding of the issue.