本文主要介绍使用API管理热词时的常见状态码以及错误信息描述。
HTTP status code | 状态码 | 状态信息 | 描述 |
500 | ServerError | Server error. | 系统错误 |
400 | BRK.InvalidPhrasesParameter | Invalid hotwords parameter. | 参数错误 |
400 | BRK.InvalidPhrasesParameterLength | The length of the parameter does not conform to the specification. | 参数长度超过限制 |
400 | BRK.InvalidPhrasesWordNum | The number of words in the argument exceeded the maximum value or was empty. | 热词词表的数量超过限制 |
400 | BRK.InvalidPhrasesWordLength | The length of the phrase in the parameter is too large or empty. | 热词的长度超过限制 |
400 | BRK.InvalidPhrasesWeight | The weight of the words in the parameter is not in the correct interval. | 热词权重参数不为整数或超出限制 |
0 | PHS.Exceed | The num of the phrase exceeds the upper limit. | 用户的拥有的词表数量达到上限(默认为10) |
0 | PHS.InvalidId | The phrase id is invalid. | 热词ID无效 |
该文章对您有帮助吗?