Share via

Server can not process request when sending audio realtime api

Alta Saunders 25 Reputation points
2025-05-26T06:57:20.3633333+00:00

When sending audio bytes with the request (input_audio_buffer.append) for the realtime api, I get the following error:

{'type': 'error', 'event_id': 'event_BbLkzxTgSJvg6hrELg7qk', 'error': {'type': 'server_error', 'code': None, 'message': 'The server had an error while processing your request. Sorry about that! Please contact us by filing an Azure support request in the portal. You can find information on how to do that here: https://learn.microsoft.com/azure/ai-services/cognitive-services-support-options if the error persists. (include session ID in your message: sess_BbLkzvkPQRZQhOmdHIjxk). We recommend you retry your request. If the problem persists, contact us by filing an Azure support request in the portal. You can find information on how to do that here: https://learn.microsoft.com/azure/ai-services/cognitive-services-support-options . (Please include the session ID sess_BbLkzvkPQRZQhOmdHIjxk in your message.)', 'param': None, 'event_id': None}}

However if I call the api through openai directly and not through the api for the model deployed on ai foundry, then I do not have any problems.

What is causing this problem?

Azure OpenAI in Foundry Models

Answer accepted by question author

Manas Mohanty 17,015 Reputation points Microsoft External Staff Moderator
2025-05-27T09:51:18.6233333+00:00

Hi Alta Saunders

Attached case summary for reference.

Issue

'error': {'type': 'server_error', 'code': None, 'message': 'The server had an error while processing your request. Sorry about that! Please contact us by filing an Azure support request in the portal.

while sending audio_chunks in real time api

Solution

Customer found the param responsible triggering server error

input_audio_noise_reduction"

Customer was suggested to use boolean value instead of dictionary value mentioned in Azure OpenAI.

Status: Customer is able to get results by modifying the concerned param.

Please take a moment to accept this answer if you acknowledged our inputs.

Thank you.

Was this answer helpful?

0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.