评测错误码

更新时间:

评测错误码快速预览

参数类错误

错误码

错误描述

错误原因

8193/0x2001

参数错误

参数不合法 或 使用空句柄等

8197/0x2005

数据格式不正常

暂未使用

8201/0x2009

Start参数中的coreProvideType字段出错

coreProvideType字段缺失或者设置的值不支持

8202/0x200a

Start参数中的request字段出错

request字段缺失或者格式不正确

8203/0x200b

Start参数中的coreType字段出错

coreType字段缺失或者设置的值不支持

8204/0x200c

New参数中的secretKey字段出错

secretKey字段可能缺失或者字段类型错误

8205/0x200d

New参数中的appKey字段出错

appKey字段可能缺失或者字段类型错误

8206/0x200e

Start参数中的tokenId字段出错

如果外部指定tokenId,确认类型是否正确,如果未指定,SDK内部会自动生成

8209/0x2011

New参数中的native字段出错

native字段格式不正确

8210/0x2012

New参数中的native字段出错

Native的子字段中未找到resresDirPath字段

8211/0x2013

New参数中指定的VAD资源路径不存在

配置vad资源的路径错误

8212/0x2014

New参数中vad字段出错 

Vad的子字段中,未找到res字段

8213/0x2015

New参数中vad字段出错 

vad字段缺失或者格式不正确

8214/0x2016

解析New参数失败

指定的New参数不是合法的json格式

8215/0x2017

New参数指定的native资源路径不存在

解析native的子字段配置的离线资源路径错误

8216/0x2018

未指定日志文件的路径

启动日志功能,但是未配置日志文件

8217/0x2019

解析start参数失败

指定的start参数不是合法的json格式

8218/0x201a

Start参数中的audio字段出错

audio字段缺失或者格式不正确

8219/0x201b

Start参数的audioType字段不合法

audio的子字段audioType缺失或者类型不正确

8220/0x201c

Start参数的sampleRate字段不合法

audio的子字段sampleRate缺失或者类型不正确

8221/0x201d

Start参数的channel字段不合法

audio的子字段channel缺失或者类型不正确

8222/0x201e

Start参数的sampleBytes字段不合法

audio的子字段sampleBytes缺失或者类型不正确

8223/0x201f

New参数的server字段不合法

cloud的子字段server指定的url协议不支持或未指定协议

8224/0x2020

New参数的server字段不合法

cloud的子字段server指定的url可能为空 

8225/0x2021

New参数的server字段不合法

cloud的子字段server指定的url未指定端口号 

28673/0x7001

在线测评可能不支持当前题型

使用在线测评,设置的coreType非法

28691/0x7013

检测到模块的句柄为空

可能是某个模块初始化失败

28692/0x7014

检测到VAD模块的句柄为空

可能未配置vad或者指定的vad资源路径或资源文件格式错误

28693/0x7015

检测到cloud模块的句柄为空

可能未配置cloud模块或者配置的格式有误

28694/0x7016

检测到native模块的句柄为空

可能未配置native或者指定的native资源路径或资源文件格式错误

28695/0x7017

检测到native模块某一题型的句柄为空

可能指定的coreType对应的资源路径、格式错误或者未配置。

28696/0x7018

New参数中没有配置native或者cloud模块

创建引擎时,未配置任何的在线或者离线模块

28697/0x7019

使用没有配置的模块

未对模块做任何的配置,开始使用

28698/0x701a

使用cloud模块但没有配置

在创建引擎时,未配置cloud模块,但后面使用此模块

28699/0x701b

使用native模块但没有配置

在创建引擎时,未配置native模块,但后面使用此模块

28700/0x701c

使用native模块的某一题型,但是未配置

在创建引擎时,未配置native模块的某一题型(coreType),但后面使用该题型

28701/0x701d

Native模块不支持此种题型

离线测评,指定的coreType类型,不支持

60001

param参数错误

param参数非json格式

60002

param参数错误

使用本地服务,param中无request参数

60003

param参数错误

使用云服务,无audioType(音频格式)参数

60004

param参数错误

使用云服务,采样率(sampleRate)设置错误

60005

param参数错误

使用云服务,声道数(channel)设置错误

60006

param参数错误

使用云服务,采样字节数(sampleBytes)设置错误

60007

param参数错误

使用本地服务,设置的coreType不存在

60008

param参数错误

使用本地服务,内核参数无效(start失败)

60009

param参数错误

使用本地服务,保存音频参数设置错误(windows平台)

60012

no native configure

没有本地调用的配置

60013

no cloud configure

没有云端调用的配置

40001

the parameter is empty

参数为空

40002

the item of request is empty in parameter

request参数为空

40092

the duration of the audio is over the limit

音频长度超过限制

41001

the parameter is not the format of json

参数不是json格式

41005

the item of applicationId is empty or isn't the format of string

applicationId为空或不是字符串

41006

the item of applicationId is illegal

applicationId是非法的

41007

the item of audioType is empty

audioType为空

41008

the item's information of audioType is not supported

不支持的audioType

41009

the item of sampleRate is empty or illegal

sampleRate为空或非法

41010

the item of channel is empty or illegal

channel为空或非法

41011

the item of sampleBytes is empty or illegal

sampleBytes为空或非法

41012

the item of audio is empty

audio为空

41014

the item of refText is empty

refText为空

41015

the item of rank is illegal

rank非法

41016

the item of sdk is empty

sdk为空

41017

the item of version in sdk is empty

sdk的版本信息为空

41018

the item of source in sdk is empty

sdksource为空

41019

the item of protocal in sdk is empty

sdkprotocal为空

41020

the item of sig is empty

sig为空

41021

the item of appKey is empty

appKey为空

41022

the item of recordId is empty or isn't the format of string

recordId为空或不是字符串

41023

the item of app is empty

app为空

41024

the item of userId is empty or isn't the format of string

userId为空或不是字符串

41025

the item of timestamp is empty or isn't the format of string

timestamp为空或不是字符串

空间不足

错误码

错误描述

错误原因

8194/0x2002

分配内存失败

可能是当前机器的内存不足

8199/0x2007

分配的存储结果的空间不足

内部错误,申请的空间太小

8230/0x2026

创建websocket对象失败

有可能申请空间失败

8228/0x2024

离线题型申请的空间不足

内部错误

系统错误

错误码

错误描述

错误原因

8195/0x2003

无权限读写文件

对一些待读写的文件,是否有读写权限,暂未使用

8196/0x2004

文件不存在

配置的资源文件不存在,暂未使用

8200/0x2008

使用琐错误

内部错误,使用多线程同步的接口失败

8207/0x200f

构建connect cmd命令出错

内部错误

8208/0x2010

构建start cmd命令出错

内部错误

28676/0x7004

创建线程失败

内部错误,创建线程失败

28674/0x7002

创建新的引擎句柄失败

暂未使用

网络错误

错误码

错误描述

错误原因

8226/0x2022

解析DNS失败

没有解析到符合条件的IP地址

8227/0x2023

检测ip格式不合法

DNS获取的IP地址格式不正确

16385/0x4001

连接服务器失败

与服务器建立连接失败

16386/0x4002

连接服务器超时

建立连接超时或者等待响应超时

16387/0x4003

服务器接收连接请求失败或者请求解析DNS失败

 

16388/0x4004

检测到服务器端已关闭连接

服务器主动或者被动关闭当前连接

16389/0x4005

服务器返回格式不正确

服务器以HTTP协议返回结果

60010

网络异常

使用云服务,设备未连接网络

60014

server timeout

使用云服务,服务响应超时(即在stop60s内无结果返回)

60015

auth failed

授权认证失败

20000

start the core successfully with out return information

启动内核正常,没有返回信息

21000

start the core successfully with return information

启动内核正常,返回了信息

20001

feed the audio successfully with out return information

feed 音频成功,没有返回信息

21001

feed the audio successfully with return information

feed 音频成功,返回了信息

21002

build the result successfully with return information

引擎结果产生成功,返回了信息

20002

build the result successfully with out return information,but it's illegal 

引擎结果产生成功,没有返回信息,但可能是非法的

22001

delete the core successfully without return information

引擎销毁成功,返回了信息

31001

dummy information for Asynchrony mode

异步模式信息返回

41030

unauthorized

未授权

41031

auth server response error

授权服务器返回错误

51000

start the core unsuccessfully

启动内核失败

51001

feed the audio unsuccessfully

feed音频失败

51002

build the result unsuccessfully

内核返回结果失败

51003

delete the core unsuccessfully

销毁内核失败

52000

the process's number of server isn't enough

服务器可用进程不够

53000

the worker process of server is crashed

服务器工作进程崩溃

55200

the internal jumps is too short check the config

内部跳转问题

55201

the unknown error of the internal jumps

内部跳转时的未知错误

55202

can't jump to the virtual core

不能跳转到虚拟内核

55203

failed to init the client of websocket

创建websocket客户端失败

55204

can't connect then internal ginger

无法链接内部引擎

55205

The result after start is not illegal during internal jumping

start后的内部跳转流程不合法

55206

failed to get result during internal jumping

获取内部跳转的结果失败

55207

can't jump to the virtual core

不能跳转到虚拟内核

99999

unknown error

未知错误

内部错误

错误码

错误描述

错误原因

8198/0x2006

超过最大值范围

内部错误,访问越界

8229/0x2025

未指的请求类型

内部错误

28675/0x7003

调用评测接口顺序错误

暂未使用

28677/0x7005

在线测评模块和对应的处理函数不匹配

内部错误

28678/0x7006

离线测评模块和对应的处理函数不匹配

内部错误

28679/0x7007

VAD模块和对应的处理函数不匹配

内部错误

28702/0x701e

未找到模块对应的处理函数

内部错误

28703/0x701f

未找到cloud模块对应的处理函数

内部错误

28704/0x7020

未找到vad模块对应的处理函数

内部错误

28705/0x7021

未找到native模块对应的处理函数

内部错误

28708/0x7024

测评失败后,SDK使用重新机制时,检测到缺少数据包 

一次完整的评测流程需要start/feed/stop数据包,但是检测到数据包不全

28709/0x7025

异步模式多次请求题型不同

异步模式下,连续进行的多次评测题型必须相同

使用不存在的功能

错误码

错误描述

错误原因

8231/0x2027

不支持VAD功能

 

8232/0x2028

不支持离线测评功能

 

8233/0x2029

不支持SSL功能

 

70001

sdk need to update

sdk需要更新

调用顺序错误

错误码

错误描述

错误原因

28680/0x7008

调用评测接口顺序错误

调用顺序从stop进入未知状态

28681/0x7009

调用评测接口顺序错误

调用顺序从stop进入idle状态

28682/0x700a

调用评测接口顺序错误

调用顺序从stop进入perform(feed)状态

28683/0x700b

调用评测接口顺序错误

调用顺序从perform(feed)进入未知状态

28684/0x700c

调用评测接口顺序错误

调用顺序从perform(feed)进入idle状态

28685/0x700d

调用评测接口顺序错误

调用顺序从perform(feed)进入start状态

28686/0x700e

调用评测接口顺序错误

调用顺序从start进入未知状态

28687/0x700f

调用评测接口顺序错误

调用顺序从idle进入未知状态

28688/0x7010

调用评测接口顺序错误

idle进入idle状态

28689/0x7011

调用评测接口顺序错误

调用顺序从idle进入stop状态

28690/0x7012

调用评测接口顺序错误

调用顺序从idle进入perform(feed)状态

60011

Interface calls in the wrong order

SDK接口调用序错误

42003

Illegal order of execution

调用评测流程不正确

资源不正确

错误码

错误描述

错误原因

28706/0x7022

解析vad资源文件失败

当前的SDK解析VAD文件失败,可使用最新的资源文件

28707/0x7023

解析native资源文件失败

当前的SDK解析离线资源文件失败,可使用最新的资源文件