|
| 1 | +--- |
| 2 | +title: Troubleshooting call end response codes for Call Automation SDK |
| 3 | +description: include file |
| 4 | +services: azure-communication-services |
| 5 | +author: slpavkov |
| 6 | +manager: aakanmu |
| 7 | + |
| 8 | +ms.service: azure-communication-services |
| 9 | +ms.subservice: azure-communication-services |
| 10 | +ms.date: 7/22/2024 |
| 11 | +ms.topic: include |
| 12 | +ms.custom: include file |
| 13 | +ms.author: slpavkov |
| 14 | +--- |
| 15 | +## Call Automation SDK error codes |
| 16 | + |
| 17 | +The following error codes are exposed by the Call Automation SDK. |
| 18 | + |
| 19 | +| SubCode | Code | Message | Result Categories | Advice | |
| 20 | +|--- |--- |--- |--- |--- | |
| 21 | +| | 400 | Bad request | | The input request is invalid. Look at the error message to determine which input is incorrect. | |
| 22 | +| | 400 | Play Failed | | Ensure your audio file is WAV, 16 KHz, or Mono, and make sure the file URL is publicly accessible. | |
| 23 | +| | 400 | Recognize Failed | | Check the error message. The message highlights if this failure is due to timeout being reached or if operation was canceled. For more information about the error codes and messages, see [gathering user input](../../../../../how-tos/call-automation/recognize-action.md#event-codes). | |
| 24 | +| | 401 | Unauthorized | | HMAC authentication failed. Verify whether the connection string used to create CallAutomationClient is correct. | |
| 25 | +| | 403 | Forbidden | | Request is forbidden. Make sure that you can have access to the resource you're trying to access. | |
| 26 | +| | 404 | Resource not found | | The call you're trying to act on doesn't exist. For example, transferring a call that previously disconnected. | |
| 27 | +| | 429 | Too many requests | | Retry after a delay suggested in the Retry-After header, then exponentially backoff. | |
| 28 | +| | 500 | Internal server error | | Retry after a delay. If it persists, raise a support ticket. | |
| 29 | +| | 500 | Play Failed | | File a support request through the Azure portal. | |
| 30 | +| | 500 | Recognize Failed | | Check error message and confirm the audio file format is valid (WAV, 16 KHz, Mono). If the file format is valid, file a support request through Azure portal. | |
| 31 | +| | 502 | Bad gateway | | Retry after a delay with a fresh http client. | |
0 commit comments