提交 8cf4274b 编写于 作者: 雪洛's avatar 雪洛

docs: add uniCloud system error

上级 0bbf6187
* [什么是uniCloud](uniCloud/README.md)
* [快速上手](uniCloud/quickstart.md)
* [免费版和商用版](uniCloud/price.md)
* [什么是uniCloud](README.md)
* [快速上手](quickstart.md)
* [免费版和商用版](price.md)
* 基本概念
* [服务空间](uniCloud/concepts/space.md)
* [数据库](uniCloud/concepts/database.md)
* [云函数/云对象](uniCloud/concepts/cloudfunction.md)
* [服务空间](concepts/space.md)
* [数据库](concepts/database.md)
* [云函数/云对象](concepts/cloudfunction.md)
* 云函数/云对象
* [综述](uniCloud/cf-functions.md)
* [云对象](uniCloud/cloud-obj.md)
* [普通云函数(callFunction)](uniCloud/cf-callfunction.md)
* [云公共模块](uniCloud/cf-common.md)
* [定时触发](uniCloud/trigger.md)
* [云函数URL化](uniCloud/http.md)
* [综述](cf-functions.md)
* [云对象](cloud-obj.md)
* [普通云函数(callFunction)](cf-callfunction.md)
* [云公共模块](cf-common.md)
* [定时触发](trigger.md)
* [云函数URL化](http.md)
* [IP防刷](ip-filter.md)
* [安全网络](secure-network.md)
* 云数据库
* [云数据库入门](uniCloud/hellodb.md)
* [DB Schema表结构](uniCloud/schema.md)
* [DB Schema扩展(数据库触发器)](uniCloud/jql-schema-ext.md)
* [openDB](uniCloud/opendb)
* [数据库索引](uniCloud/db-index.md)
* [JQL语法](uniCloud/jql.md)
* [客户端通过JQL操作数据库](uniCloud/clientdb.md)
* [unicloud-db前端组件](uniCloud/unicloud-db.md)
* [云函数通过JQL操作数据库](uniCloud/jql-cloud.md)
* [JQL调试器](uniCloud/jql-runner.md)
* [云数据库入门](hellodb.md)
* [DB Schema表结构](schema.md)
* [DB Schema扩展(数据库触发器)](jql-schema-ext.md)
* [openDB](opendb)
* [数据库索引](db-index.md)
* [JQL语法](jql.md)
* [客户端通过JQL操作数据库](clientdb.md)
* [unicloud-db前端组件](unicloud-db.md)
* [云函数通过JQL操作数据库](jql-cloud.md)
* [JQL调试器](jql-runner.md)
* [schema2code自动生成代码](schema2code.md)
* [性能优化](uniCloud/db-performance.md)
* [缓存JQL查询到redis](uniCloud/jql-cache-redis.md)
* [JQL常用运算方法](uniCloud/jql-operator-example.md)
* [云函数通过传统方式操作数据库](uniCloud/cf-database.md)
* [获取集合的引用](uniCloud/cf-database.md?id=get-collection)
* [新增文档](uniCloud/cf-database.md?id=add)
* [查询文档](uniCloud/cf-database.md?id=query)
* [删除文档](uniCloud/cf-database.md?id=remove)
* [更新文档](uniCloud/cf-database.md?id=update)
* [GEO地理位置](uniCloud/cf-database.md?id=geo)
* [事务](uniCloud/cf-database.md?id=transaction)
* [聚合操作](uniCloud/cf-database-aggregate.md)
* [数据库操作符](uniCloud/cf-database-dbcmd.md)
* [数据库运算方法](uniCloud/cf-database-aggregate-operator.md)
* [性能优化](db-performance.md)
* [缓存JQL查询到redis](jql-cache-redis.md)
* [JQL常用运算方法](jql-operator-example.md)
* [云函数通过传统方式操作数据库](cf-database.md)
* [获取集合的引用](cf-database.md?id=get-collection)
* [新增文档](cf-database.md?id=add)
* [查询文档](cf-database.md?id=query)
* [删除文档](cf-database.md?id=remove)
* [更新文档](cf-database.md?id=update)
* [GEO地理位置](cf-database.md?id=geo)
* [事务](cf-database.md?id=transaction)
* [聚合操作](cf-database-aggregate.md)
* [数据库操作符](cf-database-dbcmd.md)
* [数据库运算方法](cf-database-aggregate-operator.md)
* 云存储
* [云存储API](uniCloud/storage.md)
* [腾讯云自定义登录](uniCloud/authentication.md)
* [腾讯云权限管理](uniCloud/policy-tcb.md)
* [云存储API](storage.md)
* [腾讯云自定义登录](authentication.md)
* [腾讯云权限管理](policy-tcb.md)
* uni-id用户体系
* [综述](uniCloud/uni-id-summary.md)
* [uni-id-pages](uniCloud/uni-id-pages.md)
* [uni-id-common](uniCloud/uni-id-common.md)
* [老版uni-id 3.x文档](uniCloud/uni-id.md)
* [uni手机号一键登录](uniCloud/univerify.md)
* [发送短信](uniCloud/send-sms.md)
* [综述](uni-id-summary.md)
* [uni-id-pages](uni-id-pages.md)
* [uni-id-common](uni-id-common.md)
* [老版uni-id 3.x文档](uni-id.md)
* [uni手机号一键登录](univerify.md)
* [发送短信](send-sms.md)
* Redis扩展库
* [简介](uniCloud/redis-introduction.md)
* [费用说明](uniCloud/redis-buy.md)
* [开发文档](uniCloud/redis.md)
* [简介](redis-introduction.md)
* [费用说明](redis-buy.md)
* [开发文档](redis.md)
<!-- * 实人认证
* [简介](uniCloud/frv/introduction.md)
* [费用说明](uniCloud/frv/price.md)
* [开通服务](uniCloud/frv/service.md)
* [开发文档](uniCloud/frv/dev.md) -->
* [简介](frv/introduction.md)
* [费用说明](frv/price.md)
* [开通服务](frv/service.md)
* [开发文档](frv/dev.md) -->
* Push扩展库(socket)
* [业务文档](/unipush-v2.md)
* 开发文档
* [服务端api](uniCloud/uni-cloud-push/api.md)
* [服务端api](uni-cloud-push/api.md)
* [客户端api](/api/plugins/push.md)
* [uni-push、uni-id、uni统计的协作](uniCloud/uni-cloud-push/mate.md)
* [扩展参数](uniCloud/uni-cloud-push/options.md)
* [运行与调试](uniCloud/rundebug.md)
<!-- * [日志输出](uniCloud/cf-logger.md) -->
* [发行](uniCloud/publish.md)
* [前端网页托管](uniCloud/hosting.md)
* [客户端API](uniCloud/client-sdk.md)
* [uni-push、uni-id、uni统计的协作](uni-cloud-push/mate.md)
* [扩展参数](uni-cloud-push/options.md)
* [运行与调试](rundebug.md)
<!-- * [日志输出](cf-logger.md) -->
* [发行](publish.md)
* [前端网页托管](hosting.md)
* [客户端API](client-sdk.md)
* [系统错误码](system-error.md)
* [web控制台](https://unicloud.dcloud.net.cn)
* 重要开源库```{"collapsable": false}```
* [uni-config-center 配置中心](uniCloud/uni-config-center.md)
* [uni-starter](uniCloud/uni-starter.md)
* [uni-admin](uniCloud/admin.md)
* [uni-upgrade-center App升级中心](uniCloud/upgrade-center.md)
* [uni-config-center 配置中心](uni-config-center.md)
* [uni-starter](uni-starter.md)
* [uni-admin](admin.md)
* [uni-upgrade-center App升级中心](upgrade-center.md)
* uni-pay 统一支付```{"collapsable": true}```
* * [uni-pay 云端一体页面模板](uniCloud/uni-pay.md)
* * [uni-pay 公共模块](uniCloud/unipay.md)
* [uni-im](uniCloud/uni-im.md)
* * [uni-pay 云端一体页面模板](uni-pay.md)
* * [uni-pay 公共模块](unipay.md)
* [uni-im](uni-im.md)
* [uSearch 云端一体搜索](https://ext.dcloud.net.cn/plugin?id=3851)
* [uni-captcha 图形验证码](uniCloud/uni-captcha.md)
* [uni-captcha 图形验证码](uni-captcha.md)
* [uni-sec-check 内容安全](https://ext.dcloud.net.cn/plugin?id=5460)
* [统一发行页面](uni-portal.md)
* [uni-cloud-router](uniCloud/uni-cloud-router.md)
* [uni-open-bridge](uniCloud/uni-open-bridge.md)
* [案例](uniCloud/resource.md)
* [开发者使用反馈](uniCloud/feedback.md)
* [uni-cloud-router](uni-cloud-router.md)
* [uni-open-bridge](uni-open-bridge.md)
* [案例](resource.md)
* [开发者使用反馈](feedback.md)
* [DCloud行业认证服务商](https://ask.dcloud.net.cn/article/39388)
* [学习资料](uniCloud/learning.md)
* [常见问题](uniCloud/faq.md)
* [已知问题](uniCloud/known-issue.md)
* [微信云开发转uniCloud](uniCloud/wx2unicloud.md)
* [阿里云公测版迁移正式版](uniCloud/aliyun-migrate-business.md)
* [uniCloud产品服务协议](uniCloud/agreement.md)
* [更新日志](uniCloud/release.md)
* [学习资料](learning.md)
* [常见问题](faq.md)
* [已知问题](known-issue.md)
* [微信云开发转uniCloud](wx2unicloud.md)
* [阿里云公测版迁移正式版](aliyun-migrate-business.md)
* [uniCloud产品服务协议](agreement.md)
* [更新日志](release.md)
## 发送短信
<!--
/// meta
keyword: 短信,sms
-->
### 云函数API
> 自`HBuilderX 3.3.0`起,本接口支持传入phoneList参数批量发送短信,其他参数均于发送单条短信相同
......@@ -95,7 +90,7 @@ keyword: 短信,sms
2. 使用该模板也会正常收取费用,请保证账户有充足余额。
**返回值**
#### 返回值
接口调用失败时会直接抛出错误,调用成功时才会有返回值。
......@@ -106,7 +101,7 @@ keyword: 短信,sms
|errCode|Number|成功返回0,调用失败错误码见下表 |
|errMsg|String|错误描述,调用失败时返回 |
**错误码说明**
#### 错误码说明
|错误码 |错误 |
|:-: |:-: |
......@@ -118,7 +113,7 @@ keyword: 短信,sms
|5000 |服务错误,请联系DCloud进行排查 |
|5001 |服务器异常,请重试! |
**调用示例**
#### 调用示例
```js
// 发送单条短信示例
......
## 阿里云系统错误@aliyun
|错误码 |含义 |状态码 |错误示例 |可能异常原因 |
|:-: |:-: |:-: |:-: |:-: |
|RequestTimeout |服务器响应超时 |400 |The request has timed out. |服务空间长时间无访问,数据库对应的索引被数据库存储引擎淘汰 |
|InternalError |服务器发生未知错误 |500 |The request processing has failed due to some unknown error. | |
|InvalidBody.Format |body格式不正确 |400 |The request Body is not valid. |云函数url化body无法解析 |
|SignatureNotMatch |客户端参数签名不正确 |403 |The signature we calculated is: %s |客户端spaceId或clientSecret错误,请排查客户端uniCloud.init方法或uniCloud.database内传入的参数|
|InvalidParams.Format |body中params参数格式不正确 |400 |The Params is not valid. | |
|MissingParams |body中缺少参数params |400 |Params is mandatory for this request. | |
|MissingMethod |body中缺少参数method |400 |Method is mandatory for this request. | |
|InvalidMethod.Format |参数method格式不正确 |400 |The specified Method is not valid. | |
|InvalidSpaceId.NotFound |服务空间不存在 |404 |The specified SpaceId does not exist. | |
|InvalidSpace.Deleted |服务空间已销毁 |404 |The space is already deleted. | |
|InvalidSpace.NotInService |服务空间不在服务中 |404 |The space is not in service. | |
|Throttling.Api |QPS流控 |400 |Request was denied due to api flow control. |云函数、固定ip代理等由QPS系统限制的服务超出了限制 |
|Throttling.Api.Concurrency |并发流控 |400 |Request was denied due to api concurrency control. | |
|InvalidCustomDomain.NotFound |云函数url化自定义域名不存在 |400 |The specified CustomDomain does not exist. | |
|HttpCustomDomainCnameNotAllowed|云函数url化不允许直接使用cname访问 |400 |Http custom domain cname can not be used for http trigger. | |
|ClientIpNotAllowed |前端网页托管默认域名clientIP禁止访问 |403 |Your clientIp %s does not in the whitelist. |前端网页托管默认域名白名单未配置,或当天访问默认域名的ip过多 |
|InvalidComposedResponseBody |云函数url化响应body格式出错 |400 |The Body of ComposedResponse is not valid. | |
|InvalidRequestContentType |云函数url化不支持的body类型 |400 |The request ContentType is not supported. | |
|RequestContentLength.Exceeded |云函数url化请求内容长度超限 |400 |The request ContentLength exceeds the limit. | |
|ResponseContentLength.Exceeded |云函数url化响应内容长度超限 |400 |The response ContentLength exceeds the limit. | |
|InternalServerError |服务器发生未知错误 |200 |%s | |
|InternalBizError |服务器发生业务错误 |200 | | |
|ParamInvalid |上传文件格式不支持 |200 |Unsupported file type. | |
| |上报文件Id不存在 |200 |The specified Id does not exist or has expired. | |
| |批量删除或查询文件信息数量超限 |200 |No more than 50 files at a time. | |
| |删除或查询的文件不存在 |200 |The specified file does not exist. | |
|FunctionResourceExhausted |函数实例资源不足 |200 | | |
|FunctionServerError |函数内部错误 |200 | | |
|PrePayResourceExhausted |套餐资源不足,请升配 |200 | | |
|FunctionBizError |用户的函数业务错误,请检查代码逻辑 |200 | | |
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册