Error codes
This topic describes the common status codes and error messages returned by API Management when you manage hotwords.
HTTP status code | Status code | Status message | Description |
500 | ServerError | Server error. | A system error occurred. |
400 | BRK.InvalidPhrasesParameter | Invalid hotwords parameter. | A parameter is invalid. |
400 | BRK.InvalidPhrasesParameterLength | The length of the parameter does not conform to the specification. | The parameter length exceeds the limit. |
400 | BRK.InvalidPhrasesWordNum | The number of words in the argument exceeded the maximum value or was empty. | The number of hotwords in the vocabulary exceeds the limit. |
400 | BRK.InvalidPhrasesWordLength | The length of the phrase in the parameter is too large or empty. | The length of a hotword exceeds the limit. |
400 | BRK.InvalidPhrasesWeight | The weight of the words in the parameter is not in the correct interval. | The weight parameter for a hotword is not an integer or is out of range. |
0 | PHS.Exceed | The number of the phrase exceeds the upper limit. | The number of vocabularies for the user has reached the upper limit. The default limit is 10. |
0 | PHS.InvalidId | The phrase id is invalid. | The hotword ID is invalid. |