An Azure service that provides an event-driven serverless compute platform.
Hi @Nayana Ramaiah,
The errors you're seeing, like InternalServerError and BadGateway, are likely due to temporary issues with the Azure Function App or its infrastructure. Since re-running the same request without changes leads to success, it suggests the problem isn't with your code but due to service disruptions or resource constraints.
These transient errors can happen during load spikes or brief outages and typically resolve after a retry. Other causes might include heavy load on your function app, network issues, or function timeouts. To address this, monitor performance, check connectivity, review timeout settings, and enable error logging. Implementing a retry mechanism in your pipeline can help handle these transient errors more smoothly.
For further clarification, please refer to the following documentations: Document1, Document2
I hope this helps resolve your issue. Feel free to reach out if you have further concerns.