查询任务状态task_status
取值 | 对应状态 |
---|---|
Running | 音频合成中 |
Success | 音频合成成功 |
Failure | 音频合成失败 |
错误码
接口错误码
error_code | error_msg | 对应接口 | 描述 |
---|---|---|---|
336200 | internal error | 创建、查询 | 内部错误 |
336201 | unknown task id | 查询 | 未知task id |
336202 | invalid param: task_ids | 创建、查询 | 无效参数值 |
336203 | missing param: 'param_name' | 创建、查询 | 缺少必要参数 |
336204 | Open api total request limit reached | 创建、查询 | 请开通付费,购买调用字符数资源 |
336212 | invalid json | 创建、查询 | 请求数据为非法json |
336213 | missing header: 'header_name' | 创建、查询 | 缺少必要header |
长文本合成结果错误码
err_no | err_msg | 描述 |
---|---|---|
100000 | Inner error | 内部错误 |
100001 | Format is not supported | 不支持的音频格式 |
100002 | Failed to query texts from uri | 获取文本内容失败 |
100003 | Failed to upload results to BOS | 上传音频文件失败 |
100010 | Inner error: TTS failed | 合成音频服务失败 |
100020 | Authentication and Rate Limit Failed | 鉴权流控不通过,请检查额度 |
100022 | A http exception occurred during Authentication and Rate Limitation | HTTP网络交互失败 |