You need to enable JavaScript to run this app.
导航

错误码

最近更新时间2023.02.15 19:04:53

首次发布时间2023.02.15 19:04:53

本文汇总了边缘函数中可能出现的错误码。

公共错误码

具体公共错误码请参考公共错误码文档。

业务错误码

通用错误码

CodeNCode备注Message
10200SuccessSuccess请求成功
10400BadRequestBad request非法请求
10401UnauthorizedUnauthorized未授权
10403NoPermissionNo permissions无权访问
10404RecordNotFoundRecord not found资源不存在
10408RpcTimeOutTimeout远程调用超时
10500InternalServerErrorInternal server error服务内部错误

边缘函数错误码

CodeNCode备注Message
11002ErrInvalidCronJobNameInvalid cron job name非法的任务名
11003ErrInvalidCronExpressionInvalid cron expression非法的任务表达式
11004ErrRequestTooFastRequest too fast请求过快
11005ErrClazzNotFoundClazz not found套餐不存在
11006ErrClusterNotFoundCluster not found集群不存在
11007ErrCronJobNotFoundCron job not found任务不存在
11008ErrRevisionNotFoundRevision not found版本不存在
11010ErrSparrowNotFoundSparrow not found函数不存在
11011ErrTicketNotFoundTicket not found工单不存在
11013ErrUnknownMetricsTypeUnknown metrics type未知监控类型
11014ErrTooLargeSourceCodeToo large source code代码大小超出限制
11015ErrDuplicateEnvKeyDuplicate env key环境变量关键字重复
11016ErrTooLargeEnvToo large env环境变量大小超出限制
11017ErrSparrowQuotaNotEnoughSparrow quota not enough函数配额不足
11018ErrSparrowJobQuotaNotEnoughSparrow job quota not enough任务配额不足
11023ErrServiceNotAvailableService not available服务不可用
11024ErrSparrowDomainExistedSparrow domain existed域名已存在
11025ErrCronJobNameExistedCron job name existed任务名已存在
11026ErrIllegalDomainIllegal domain非法域名
11027ErrInvalidNameInvalid name无效名字
11028ErrInvalidDomainInvalid domain无效域名
11029ErrInvalidKeyInvalid key无效关键字
11030ErrCronTaskNotFoundCron task not found调度记录不存在
11031ErrIllegalOrderTypeIllegal order type非法搜索类型
11032ErrIllegalSourceCodeIllegal source code非法代码
11033ErrUnknownClusterTypeUnknown cluster type未知集群类型
11034ErrUnknownCronTypeUnknown cron type未知调度类型
11035ErrIllegalRegionIllegal region非法大区名
11036ErrIllegalCityIllegal city非法城市名
11037ErrInvalidClustersInvalid clusters无效集群
11038ErrAccountPlanExistedAccount plan existed账号已存在
11039ErrAccountPlanNotFoundAccount plan not found账号不存在
11040ErrNoPurchasePermissionNo purchase permission无购买权限
11041ErrOrderFailedOrder failed下单失败
11042ErrAccountInArrearsAccount in arrears账号欠费
11043ErrNotVerifiedAccountNot verified account账户未做实名认证