It is returning 404 only in case when client asks for a particular resource(via email, username, user_id filter)