Endless retries - StatusCode: '500' (InternalServerError)
Closed this issue · 0 comments
kaiaschulz commented
AzAPICall is causing an endless loop with an internal server error:
AzAPICall -uri $Uri -AzAPICallConfiguration $azAPICallConf -Method $method -currentTask $currentTask -body $body -listenOn 'Content'
[AzAPICall] DEBUGTASK: exportTemplate -> unexpectedError: false
[AzAPICall] DEBUGTASK: exportTemplate -> apiStatusCode: '500' (InternalServerError)
[AzAPICallErrorHandler] exportTemplate try #345; return: (StatusCode: '500' (InternalServerError)) <.code: ''> <.error.code: 'InternalServerError'> | <.message: ''> <.error.message: 'Encountered internal server error. Diagnostic information: timestamp '20221216T074356Z', subscription id 'xxxxxxxx, tracking id 'xxxxxxxx, request correlation id 'xxxxxxxx'.'> - AzAPICall: try again in 345 second(s)
[AzAPICall] DEBUGTASK: exportTemplate -> [AzAPICall] exportTemplate - retry
[AzAPICall] DEBUGTASK: exportTemplate -> attempt#346 processing: exportTemplate uri: 'https://management.azure.com/subscriptions/xxxxxxxx/resourceGroups/xxxxxxxx/exportTemplate?api-version=2019-05-01' body: '{
"resources": [
"*"
],
"options": "IncludeParameterDefaultValue"
}
'