My webhook throws a BadHttpRequestException "Unexpected end of request content."

Julian Kopka Heerup 0 Reputation points
2025-02-06T07:33:48.55+00:00

I have a webhook that receives updates from Azure AI Speech when a batch transcription is complete and I am regularly getting Microsoft.AspNetCore.Server.Kestrel.Core.BadHttpRequestException "Unexpected end of request content.".

My function app is implemented in python, so the exception is thrown by the function runtime as it is decoding it for the http-trigger.

The function app is running on a Linux Consumption plan in West-Europe.

Azure AI Speech
Azure AI Speech
An Azure service that integrates speech processing into apps and services.
1,910 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,414 questions
{count} votes

Your answer

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