Add missing raise APIError in SelectQuery