云平台接口 错误码
<h2>1、统一异常错误码</h2>
<table>
<thead>
<tr>
<th>返回码</th>
<th>响应消息</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>error</td>
<td>错误</td>
</tr>
<tr>
<td>2</td>
<td>Request timeout</td>
<td>请求超时</td>
</tr>
<tr>
<td>3</td>
<td>Net error</td>
<td>系统通讯异常</td>
</tr>
<tr>
<td>4</td>
<td>API NO EXISTS</td>
<td>接口不存在</td>
</tr>
<tr>
<td>5</td>
<td>API error</td>
<td>接口异常</td>
</tr>
<tr>
<td>6</td>
<td>TOO MANY Exception</td>
<td>查询结果不唯一</td>
</tr>
<tr>
<td>7</td>
<td>API DISABLE</td>
<td>接口不可用</td>
</tr>
<tr>
<td>10</td>
<td>System is busy, please try again later</td>
<td>系统繁忙,请稍候再试</td>
</tr>
<tr>
<td>11</td>
<td>API Not Supported</td>
<td>接口请求方式不对</td>
</tr>
<tr>
<td>12</td>
<td>Up System is busy, please try again later</td>
<td>下游系统繁忙,请稍候再试</td>
</tr>
<tr>
<td>13</td>
<td>gateway inner error, please try again later</td>
<td>网关内部异常,请稍候再试</td>
</tr>
<tr>
<td>101</td>
<td>Incoming parameters cannot be empty</td>
<td>传入参数不能为空</td>
</tr>
<tr>
<td>102</td>
<td>Unable to parse the incoming parameters</td>
<td>传入参数无法解析</td>
</tr>
<tr>
<td>103</td>
<td>Incoming parameters format error</td>
<td>传入参数格式错误</td>
</tr>
<tr>
<td>104</td>
<td>Missing Parameters</td>
<td>缺少必要参数</td>
</tr>
<tr>
<td>105</td>
<td>Incoming parameters values are not legal</td>
<td>传入参数值不合法</td>
</tr>
<tr>
<td>109</td>
<td>Parameters error</td>
<td>参数错误</td>
</tr>
<tr>
<td>1001</td>
<td>Token is missing or invalid.</td>
<td>没有token或者验证不通过</td>
</tr>
<tr>
<td>1002</td>
<td>qr code had login by other device</td>
<td>被其他用户挤下线了</td>
</tr>
</tbody>
</table>
<h2>2、获取设备参数</h2>
<table>
<thead>
<tr>
<th>返回码</th>
<th>响应消息</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>—</td>
<td>—</td>
<td>—</td>
</tr>
</tbody>
</table>
<h2>3、书本识别定位接口</h2>
<table>
<thead>
<tr>
<th>返回码</th>
<th>响应消息</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>10000</td>
<td>No valid page of book can be found in the image.</td>
<td>找不到图片对应的书本信息 (关联的资源库里找不到书本对应的资源)</td>
</tr>
<tr>
<td>10007</td>
<td>recognize failed</td>
<td>识别失败(当前不支持识别)</td>
</tr>
<tr>
<td>10010</td>
<td>Recognition service is updating for new book data. Try again for a while.</td>
<td>识别服务正在更新数据,请稍后再试 (当前不支持识别)</td>
</tr>
<tr>
<td>10011</td>
<td>recognize img failed</td>
<td>图片识别异常 (当前不支持识别)</td>
</tr>
<tr>
<td>10012</td>
<td>book is forbidden to be recognized.</td>
<td>该书被禁用</td>
</tr>
<tr>
<td>10014</td>
<td>book resources do not exist</td>
<td>书本资源不存在 (关联的资源库里找不到书本对应的资源)</td>
</tr>
<tr>
<td>10016</td>
<td>Read the requested image exception.</td>
<td>读取请求的图片异常</td>
</tr>
<tr>
<td>10017</td>
<td>FDS server exception</td>
<td>FDS服务异常 (请求点读功能,参数doLocation确为false则报此异常)</td>
</tr>
<tr>
<td>10018</td>
<td>bookIdForm only allows values of 0 or 1</td>
<td>bookIdForm只允许值为0或1</td>
</tr>
</tbody>
</table>
<h2>4、二维码授权</h2>
<table>
<thead>
<tr>
<th>返回码</th>
<th>响应消息</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>70001</td>
<td>This is an illegal QR code.</td>
<td>无效二维码</td>
</tr>
<tr>
<td>70002</td>
<td>The number of QR codes has been used up</td>
<td>二维码次数使用完</td>
</tr>
<tr>
<td>70003</td>
<td>The generated License is empty</td>
<td>生成License为空</td>
</tr>
</tbody>
</table>
<h2>5、用户反馈</h2>
<table>
<thead>
<tr>
<th>返回码</th>
<th>响应消息</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>The feedback picture is empty</td>
<td>反馈的图片为空</td>
</tr>
</tbody>
</table>
<h2>6、获取下载资源地址</h2>
<table>
<thead>
<tr>
<th>返回码</th>
<th>响应消息</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>10020</td>
<td>Book ID is invalid, cannot find any book info by this id.</td>
<td>找不到ID对应书本</td>
</tr>
<tr>
<td>10021</td>
<td>Generate picture book's package failed.</td>
<td>打包出错</td>
</tr>
</tbody>
</table>
<h2>7、版本检测</h2>
<table>
<thead>
<tr>
<th>返回码</th>
<th>响应消息</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>该app暂无版本</td>
<td></td>
</tr>
</tbody>
</table>
<h2>8、token刷新</h2>
<table>
<thead>
<tr>
<th>返回码</th>
<th>响应消息</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
</tr>
</tbody>
</table>
<h2>9、登录异常错误码</h2>
<table>
<thead>
<tr>
<th>返回码</th>
<th>响应消息</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>308</td>
<td>The license is invalid.</td>
<td>license无效</td>
</tr>
<tr>
<td>309</td>
<td>No more license can be used</td>
<td>license数量不足</td>
</tr>
<tr>
<td>310</td>
<td>The billing model of current toy is by auth code.</td>
<td>这个应用的计费模式为授权码授权</td>
</tr>
<tr>
<td>311</td>
<td>The qrcode is over the probation period</td>
<td>此授权码已过试用期</td>
</tr>
</tbody>
</table>