This document summarizes all Agent error codes.
Agent API errors
Gateway code | Console code | Message | Description |
|---|---|---|---|
Arrearage | BIL.UserArrears | User is in arrears. | The user account has an overdue payment. Add funds to your account before you proceed. |
InvalidParameter | Agent.InputTextFormatError | Agent Input text format error. | The input text is in an invalid format. To resolve this issue, see the text format requirements in the API documentation. |
InvalidParameter | Agent.InputDataIdIllegal | Agent Input dataId illegal. | The format of the input dataId is invalid. Enter a valid dataId. |
InvalidParameter | Agent.InputDataIdSSRF | DataId broken access control. | The input dataId causes an access control error. Check if the dataId belongs to the correct account and application. |
InvalidParameter | Agent.ModelNotCompatibleWithAppId | Agent model not compatible with appId. | The input model is not compatible with the appId. Enter the correct appId or model parameter. |
InvalidParameter | Agent.InputScoreIllegal | Agent Input score illegal. | The input score is invalid. For more information, see the score format requirements in the API documentation. |
InvalidParameter | Agent.InputTaskIllegal | Agent Input task illegal. | The input task parameter is invalid. Enter a valid taskId. |
InvalidParameter | Agent.InputAppIdIllegal | Agent Input appId illegal. | The input appId is invalid. Enter a valid appId. |
InvalidParameter | Agent.AppNotExist | Agent App not exist. | The application does not exist. Enter an appId that is associated with the API key account. |
InvalidParameter | Agent.AppNotPublished | Agent App not published. | The application is not published. Publish the application before you call it. |
InvalidParameter | Agent.InputInvalidDataId | Agent Input invalid dataId. | The input dataId is from the Model Studio console. The SDK cannot be used to make the call. |
InvalidParameter | Agent.InputDataIdNotMatchAppOrModel | Agent Input dataId not match app or model. | The input dataId does not match the application or model. Enter the correct dataId. |
InvalidParameter | InvalidParameter | Invalid parameter. Please refer to the official documents. | Invalid parameter. Check the documentation. |
InvalidParameter | VerifyFailed | Verify callback failed. | Failed to verify the callback URL. Enter a valid URL for the HTTP callback service. |
InvalidParameter | InvalidAppId | Invalid appId. | Invalid appId. Enter a valid appId. |
InvalidParameter | AppIdIsEmpty | AppId is empty. | The appId is empty. Enter an appId. |
UnpurchasedAccess | BIL.ServiceNotActivate | User hasn't activate service. | The user has not activated the service. Activate the Tongyi Tingwu Agent service first. |
UnsupportedOperation | TaskIsProcessing | Reused task is processing. | The reused task is being processed. Wait for the task to complete before you reuse it. |
UnsupportedOperation | TaskIsFailed | Reused task has failed! | The reused task failed. Reuse a successful task. |