An Azure service for ingesting, preparing, and transforming data at scale.
Hi @Santhi Dhanuskodi
Since the Azure Function is completing the processing and writing data successfully, the HTTP 499 error is related to how the connection between ADF and the Function is handled, not a failure in your business logic.
In Azure Data Factory, the Azure Function activity makes a synchronous HTTP call and expects a response within the gateway handling limits. If the function takes several minutes to respond (even if timeouts are configured higher), the connection can still be closed by the underlying service infrastructure, which results in a 499 error.
This explains why:
- Data is generated and stored correctly
- But ADF marks the activity as failed
What you can try first
- Ensure the function returns the HTTP response as soon as processing completes (avoid any delayed response after blob write).
- Check if the function logs show long response serialization or network delays after execution.
- Test invoking the function directly (Postman / curl) to confirm response timing consistency.
Recommended long term approach
If this process may continue to take several minutes, consider using an asynchronous pattern such as:
Durable Functions
Queue-trigger based processing
This avoids keeping the HTTP request open and makes pipeline execution more reliable.