More APIError stuff