return APIException for sliceplus errors instead of valueerror