Skip to content

Change Cosmos DB service unavailable error code to 503

Neha Khandelwal requested to merge cosmosdb-service-unavailable into master

Currently, Storage batch API responds with 500 error code due to ServiceUnavailableException on CosmosDB. Indexer service, which uses Storage batch API, does not retry if downstream services are responding with 500 error code. Storage batch API should respond with 503 error code when CosmosDB service cannot be reached to allow Indexer to retry.

Merge request reports