ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
~~~ {'error':'0', 'error_description':'success'}, {'error':'1', 'error_description':'response_type非法'}, {'error':'2', 'error_description':'client_id不存在'}, {'error':'3', 'error_description':'redirect_uri不匹配'}, {'error':'4', 'error_description':'client_id、response_type、state均不允许为空'}, {'error':'5', 'error_description':'client_id或client_secret错误'}, {'error':'6', 'error_description':'code错误或已过期'}, {'error':'7', 'error_description':'账号密码错误'}, {'error':'8', 'error_description':'打印机信息错误,参数有误'}, {'error':'9', 'error_description':'连接打印机失败,参数有误'}, {'error':'10', 'error_description':'权限不足'}, {'error':'11', 'error_description':'sign验证失败'}, {'error':'12', 'error_description':'缺少必要参数'}, {'error':'13', 'error_description':'打印失败,参数有误'}, {'error':'14', 'error_description':'access_token错误'}, {'error':'15', 'error_description':'权限不能大于初次授权的权限'}, {'error':'16', 'error_description':'不支持k1,k2,k3机型'}, {'error':'17', 'error_description':'该打印机已被易联云账号绑定'}, {'error':'18', 'error_description':'access_token过期或错误,请刷新access_token或者重新授权'}, {'error':'19', 'error_description':'应用未上架或已下架'}, {'error':'20', 'error_description':'refresh_token已过期,请重新授权'} {'error':'21', 'error_description':'关闭或重启失败'}, {'error':'22', 'error_description':'声音设置失败'}, {'error':'23', 'error_description':'获取机型和打印宽度失败'}, {'error':'24', 'error_description':'操作失败,没有订单可以被取消'}, {'error':'25', 'error_description':'未找到机型的硬件和软件版本'}, {'error':'26', 'error_description':'取消logo失败'}, {'error':'27', 'error_description':'请设置scope,权限默认为all'}, {'error':'28', 'error_description':'设置logo失败'}, {'error':'29', 'error_description':'client_id,machine_code,qr_key不能为空'}, {'error':'30', 'error_description':'machine_code,qr_key错误'}, {'error':'31', 'error_description':'接口不支持自有应用服务模式'}, {'error':'32', 'error_description':'订单确认设置失败'}, {'error':'33', 'error_description':'Uuid不合法'}, {'error':'34', 'error_description':'非法操作'}, {'error':'35', 'error_description':'machine_code或msign错误'}, {'error':'36', 'error_description':'按键打印开启或关闭失败'}, {'error':'37', 'error_description':'添加应用菜单失败'}, {'error':'38', 'error_description':'应用菜单内容错误,content必须是Json数组'}, {'error':'39', 'error_description':'应用菜单个数超过最大个数'}, {'error':'40', 'error_description':'应用菜单内容错误,content中的name值重名'}, {'error':'41', 'error_description':'获取或更新access_token的次数,已超过最大限制次数!'}, {'error':'42', 'error_description':'该机型不支持面单打印'}, {'error':'43', 'error_description':'shipper_type错误'}, {'error':'45', 'error_description':'系统错误!请立即反馈'}, {'error':'46', 'error_description': 'picture_url错误或格式错误'}, {'error':'47', 'error_description':'参数错误',"body":"xxxxx"}, {'error':'48', 'error_description': '无法设置,该型号版本不支持!'}, {'error':'49', 'error_description': '错误',"body":"xxxxx"}, {'error':'50', 'error_description': '错误',"body":"xxxxx"}, ~~~ ## 常见错误码说明及处理! ××返回错误码`2` or `5`,说明`client_id`和`client_secret`错误, 应用信息获取方式登录[开放平台](https://dev.yilianyun.net),完善信息后创建应用获取! ××返回错误码`3`,说明`redirect_uri`错误与在开放型应用下设置的回调地址不一致,重新比对检查下即可! ××返回错误码`6` ,说明`code`已使用或已过期,重新获取授权码即可 ! ××返回错误码`8`,说明`machine_code` or `msign` 错误,请重新比对检查下!也有可能是未绑定在应用下,需去授权绑定下即可使用!   ××返回错误码`9`,说明打印终端机`未在线`,重新登录即可!   ××返回错误码`11` ,说明`sign`错误,请检查下应用信息(`client_id` or `client_secret`)是否正确和参与计算的`timestamp`是否与请求参数`timestamp`一致!   ××返回错误码`12`,说明缺少调用`API`的参数,请比对下接口所需的参数信息!若参数未有缺失请设置**Content-Type:application/x-www-form-urlencoded**并检查下请求体是否是一个`urlencode`之后的请求字符串! ××返回错误码`16`,说明机型错误,请检查下打印终端机型号!或者是请求参数`machine_code`错误,检查比对下!   ××返回错误码`18`,说明`access_token`失效或过期!请重新获取、刷新即可!   ××返回错误码`33`,说明`id`不符合`uuid`协议规范,详情请看[示例](http://doc2.10ss.net/332000)! ××返回错误码`41`,说明调用授权接口超过当日最大限制20次,暂时无法获取调用凭证`access_token`信息!请在群里`@曲子陌`并说明情况,届时`子陌`会重置次数或帮你找回当前的`access_token`!