Azure REST API call failing for no apparent reason

2021-11-16T14:50:11.41+00:00

Querying Azure consumption data across multiple subscriptions using this URL:
'https://management.azure.com/subscriptions/{0}/providers/Microsoft.Billing/billingPeriods/{1}/providers/Microsoft.Consumption/usageDetails?api-version=2019-10-01'

This has run successfully for months. Permissions and Azure service health are fine.
I am now getting {"error":{"code":"504","message":"A task was canceled. " I have the call in a loop to try multiple times to handle the usual "Gateway timeouts". But this "cancel" error does not go away.

Any help appreciated.

Microsoft Partner Center API
Microsoft Partner Center API
Microsoft Partner Center: A Microsoft website for partners that provides access to product support, a partner community, and other partner services.API: A software intermediary that allows two applications to interact with each other.
317 questions
0 comments No comments
{count} votes