错误码信息
<h2>1. HTTP错误码</h2>
<table>
<thead>
<tr>
<th>错误码</th>
<th>响应消息</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>120</td>
<td>http未知异常</td>
<td>未知异常</td>
</tr>
<tr>
<td>121</td>
<td>CODE_CONNECT_EXCEPTION</td>
<td>连接异常</td>
</tr>
<tr>
<td>122</td>
<td>TimeoutException</td>
<td>超时异常</td>
</tr>
<tr>
<td>123</td>
<td>NetworkErrorException</td>
<td>网络错误异常</td>
</tr>
<tr>
<td>124</td>
<td>UnknownHostException</td>
<td>host未知异常</td>
</tr>
<tr>
<td>125</td>
<td>ParseException</td>
<td>数据解析异常</td>
</tr>
<tr>
<td>126</td>
<td>HttpException</td>
<td>http异常</td>
</tr>
<tr>
<td>127</td>
<td></td>
<td>ssl握手失败</td>
</tr>
</tbody>
</table>
<h2>2. license校验错误码</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>授权码没有使用数量</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>
<h2>3. 服务器统一错误码</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>199</td>
<td>Parameters error</td>
<td>参数错误</td>
</tr>
<tr>
<td>1001</td>
<td>Token is missing or invalid.</td>
<td>没有token或者验证不通过</td>
</tr>
</tbody>
</table>
<h2>4. 书本识别错误码</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>5. 手指检测识别错误码</h2>
<table>
<thead>
<tr>
<th>返回码</th>
<th>响应消息</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>-1</td>
<td>detect error</td>
<td>手指检测失败</td>
</tr>
<tr>
<td>2</td>
<td>multiple fingers</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 style="text-align: left;">返回码</th>
<th style="text-align: left;">响应消息</th>
<th style="text-align: left;">描述</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">70001</td>
<td style="text-align: left;">This is an illegal QR code.</td>
<td style="text-align: left;">无效二维码</td>
</tr>
<tr>
<td style="text-align: left;">70002</td>
<td style="text-align: left;">The number of QR codes has been used up</td>
<td style="text-align: left;">二维码次数使用完</td>
</tr>
<tr>
<td style="text-align: left;">70003</td>
<td style="text-align: left;">The generated License is empty</td>
<td style="text-align: left;">生成License为空</td>
</tr>
</tbody>
</table>