Skip to content

Bug report: Gateway timeout on flow export #3393

@RobertHoegner

Description

@RobertHoegner

Description

everytime i try to export a flow I am getting a timeout for the Microsoft.BusinessAppPlatform gateway.

Steps to reproduce

example export command: m365 flow export --id XXX --environment XXXX --packageDisplayName UnlockEscalatedWorkspace --debug

Error received:
Request error:
{
"url": "https://management.azure.com/providers/Microsoft.BusinessAppPlatform/environments/XXXX/exportPackage?api-version=2016-11-01",
"status": 504,
"statusText": "Gateway Timeout",
"headers": {
"cache-control": "no-cache",
"pragma": "no-cache",
"content-type": "application/json; charset=utf-8",
"expires": "-1",
"x-ms-failure-cause": "service",
"x-ms-ratelimit-remaining-tenant-writes": "1199",
"x-ms-request-id": "XXX",
"x-ms-correlation-request-id": "XX",
"x-ms-routing-request-id": "GERMANYWESTCENTRAL:20220610T114843Z:3e986632-9248-4600-a6d3-e394b831d3bf",
"strict-transport-security": "max-age=31536000; includeSubDomains",
"x-content-type-options": "nosniff",
"date": "Fri, 10 Jun 2022 11:48:42 GMT",
"connection": "close",
"content-length": "157"
},
"error": {
"error": {
"code": "GatewayTimeout",
"message": "The gateway did not receive a response from 'Microsoft.BusinessAppPlatform' within the specified time period."
}
}
}
Error: The gateway did not receive a response from 'Microsoft.BusinessAppPlatform' within the specified time period.

Expected results

flow succesfully exported

Actual results

gateway timeout

Diagnostics

{
"url": "https://management.azure.com/providers/Microsoft.BusinessAppPlatform/environments/XXXX/exportPackage?api-version=2016-11-01",
"status": 504,
"statusText": "Gateway Timeout",
"headers": {
"cache-control": "no-cache",
"pragma": "no-cache",
"content-type": "application/json; charset=utf-8",
"expires": "-1",
"x-ms-failure-cause": "service",
"x-ms-ratelimit-remaining-tenant-writes": "1199",
"x-ms-request-id": "XXX",
"x-ms-correlation-request-id": "XX",
"x-ms-routing-request-id": "GERMANYWESTCENTRAL:20220610T114843Z:3e986632-9248-4600-a6d3-e394b831d3bf",
"strict-transport-security": "max-age=31536000; includeSubDomains",
"x-content-type-options": "nosniff",
"date": "Fri, 10 Jun 2022 11:48:42 GMT",
"connection": "close",
"content-length": "157"
},
"error": {
"error": {
"code": "GatewayTimeout",
"message": "The gateway did not receive a response from 'Microsoft.BusinessAppPlatform' within the specified time period."
}
}
}
Error: The gateway did not receive a response from 'Microsoft.BusinessAppPlatform' within the specified time period.

CLI for Microsoft 365 version

5.3.0

nodejs version

18.3.0

Operating system (environment)

Windows

Shell

Windows PowerShell

cli doctor

{
"os": {
"platform": "win32",
"version": "Windows 10 Pro",
"release": "10.0.19044"
},
"cliVersion": "5.3.0",
"nodeVersion": "v18.3.0",
"cliAadAppId": "31359c7f-bd7e-475c-86db-fdb8c937548e",
"cliAadAppTenant": "common",
"authMode": "DeviceCode",
"cliEnvironment": "",
"cliConfig": {
"showHelpOnFailure": true
},
"roles": [],
"scopes": [
"AllSites.FullControl",
"AppCatalog.ReadWrite.All",
"AuditLog.Read.All",
"ChannelMember.ReadWrite.All",
"ChannelMessage.Read.All",
"ChannelMessage.Send",
"ChannelSettings.ReadWrite.All",
"Chat.Read",
"Chat.ReadWrite",
"Directory.AccessAsUser.All",
"Directory.ReadWrite.All",
"Group.ReadWrite.All",
"IdentityProvider.ReadWrite.All",
"Mail.ReadWrite",
"Mail.Send",
"Place.Read.All",
"Policy.Read.All",
"Reports.Read.All",
"SecurityEvents.Read.All",
"ServiceHealth.Read.All",
"ServiceMessage.Read.All",
"ServiceMessageViewpoint.Write",
"Tasks.ReadWrite",
"Team.Create",
"TeamMember.ReadWrite.All",
"TeamsApp.ReadWrite.All",
"TeamsAppInstallation.ReadWriteForUser",
"TeamSettings.ReadWrite.All",
"TeamsTab.ReadWrite.All",
"TermStore.ReadWrite.All",
"User.Invite.All",
"User.ReadWrite.All",
"profile",
"openid",
"email",
"user_impersonation",
"user_impersonation"
]
}

Additional Info

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions