Throw error on empty or no pixel id received