Hi,
I have a flow for one of my clients which starts by creating a subsite in SPO from a template after an item is added to a SPO list. Sometimes - not always - the action returns a 502 BadGateway error with the message:
"The local device name is already in use. (Exception from HRESULT: 0x80070055)\r\nclientRequestId: 1ed14b79-cd60-425e-99f6-b0f8085b2b8e\r\nserviceRequestId: 0104bd9e-50d7-8000-a6fb-e989a4ef95b4"
The action has the following configuration:

Retry policy is set to none so I can trap the 504 error when the action takes longer than 120s to return after an additional delay with its 'configure run after' set for success, failed and timed out.
When it fails with 502 the result is:


Headers:
x-ms-request-id: 0104bd9e-50d7-8000-a6fb-e989a4ef95b4
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff
x-ms-apihub-cached-response: true
Cache-Control: no-store, no-cache
Date: Tue, 05 Feb 2019 14:33:39 GMT
Set-Cookie: ARRAffinity=f4c9d7678d483c59c6591ee7ac9cee291acdcebda37e73a76f523837ae44913b;Path=/;HttpOnly;Domain=sharepointonline-we.azconn-we.p.azurewebsites.net
Content-Type: application/json
Body:
{
"error": {
"code": 502,
"source": "flow-apim-europe-001-northeurope-01.azure-apim.net",
"clientRequestId": "1ed14b79-cd60-425e-99f6-b0f8085b2b8e",
"message": "BadGateway",
"innerError": {
"message": "The local device name is already in use. (Exception from HRESULT: 0x80070055)\r\nclientRequestId: 1ed14b79-cd60-425e-99f6-b0f8085b2b8e\r\nserviceRequestId: 0104bd9e-50d7-8000-a6fb-e989a4ef95b4",
"status": 502,
"source": "https://*************.sharepoint.com/sites/************/_api/web/webinfos/add",
"errors": [
"-2147024811",
"Microsoft.SharePoint.SPException"
]
}
}
}
The message is different when a site with the same URL already exists, so I know that is not the reason.
I reran this flow with the same values and it worked fine - hence this is an intermittent problem.
Any ideas what 'The local device name is already in use.' could mean and how to treat it?
Thanks