web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Error when saving afte...
Power Automate
Suggested Answer

Error when saving after a second action added.

(0) ShareShare
ReportReport
Posted on by
Hi
 
I created an instant cloud flow and when I add the first action I can save it with no issue.  Then when I add a second action and try to save it I get this :-
 
{"message":"Network Error","name":"AxiosError","code":"ERR_NETWORK","config":{"transitional":{"silentJSONParsing":true,"forcedJSONParsing":true,"clarifyTimeoutError":false},"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxBodyLength":-1,"env":{},"headers":{"Accept":"application/json, text/plain, */*","Content-Type":"application/json","accept-language":"en-US","x-ms-client-session-id":"f8258490-00f2-11f1-bdc9-0f047112ab36","x-ms-client-request-id":"4b30ac1b-d645-4ae0-93c9-2c5750546d76","authorization":""},"operationName":"PROCESSSIMPLE:PATCH/PROVIDERS/MICROSOFT.PROCESSSIMPLE/ENVIRONMENTS/FLOWS/","params":{"api-version":"1","$expand":"properties.connectionreferences.apidefinition,properties.definitionsummary.operations.apioperation,operationDefinition,plan,properties.throttleData,properties.estimatedsuspensiondata,properties.licenseData,properties.billingContext,properties.throttlingBehavior,properties.powerFlowType,properties.protectionStatus,properties.owningUser","telemetryMetadata":"{\"modifiedSources\":\"Portal\"}"},"method":"patch","url":"https://674e16795156ee0bba49b05d6bda12.a1.environment.api.powerplatform.com/powerautomate/flows/59d1d440-c0b8-a89a-09c2-8c160da7cf85","data":"{\"properties\":{\"connectionReferences\":{},\"definition\":{\"$schema\":\"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#\",\"contentVersion\":\"undefined\",\"parameters\":{\"$authentication\":{\"defaultValue\":{},\"type\":\"SecureObject\"},\"$connections\":{\"defaultValue\":{},\"type\":\"Object\"}},\"triggers\":{\"manual\":{\"type\":\"Request\",\"kind\":\"Button\",\"inputs\":{\"schema\":{\"type\":\"object\",\"properties\":{},\"required\":[]}}}},\"actions\":{\"Current_time\":{\"type\":\"Expression\",\"kind\":\"CurrentTime\",\"inputs\":{},\"runAfter\":{}},\"Get_future_time\":{\"type\":\"Expression\",\"kind\":\"GetFutureTime\",\"inputs\":{\"interval\":1,\"timeUnit\":\"Hour\"},\"runAfter\":{\"Current_time\":[\"SUCCEEDED\"]}}}},\"displayName\":\"Button -> Current time\",\"environment\":{\"name\":\"674e1679-5156-ee0b-ba49-b05d6bda12a1\"},\"workflowEntityId\":\"59d1d440-c0b8-a89a-09c2-8c160da7cf85\"},\"name\":\"59d1d440-c0b8-a89a-09c2-8c160da7cf85\",\"telemetryMetadata\":{\"modifiedSources\":\"Portal\"}}","team":"PowerAutomate","bodyDetails":{"locale":"en-US"},"axios-retry":{"retryCount":0,"lastRequestTime":1770118023688},"context":{"ppapiContext":{"endpoint":"674e16795156ee0bba49b05d6bda12.a1.environment.api.powerplatform.com"}},"knownServiceId":"ppapi-pauto","activityId":"99f3c73e-2c73-490e-a976-ac3a411c99db"},"request":{},"isAxiosError":true}
 
To make it as simple as possible the 2 actions I added were "Current time" and "Get future time"
 
Tried it in a private browser and got the same thing
 
The odd thing is that when I add the first action and save it saves fine and then when I add the second one a few seconds later I get this.
 
The console window shows this
 
Access to XMLHttpRequest at 'https://674e16795156ee0bba49b05d6bda12.a1.environment.api.powerplatform.com/powerautomate/flows/59d1d440-c0b8-a89a-09c2-8c160da7cf85?api-version=1&$expand=properties.connectionreferences.apidefinition,properties.definitionsummary.operations.apioperation,operationDefinition,plan,properties.throttleData,properties.estimatedsuspensiondata,properties.licenseData,properties.billingContext,properties.throttlingBehavior,properties.powerFlowType,properties.protectionStatus,properties.owningUser&telemetryMetadata=%7B%22modifiedSources%22:%22Portal%22%7D' from origin 'https://make.powerautomate.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
 
And this
 
main.0597187c.js:2  PATCH https://674e16795156ee0bba49b05d6bda12.a1.environment.api.powerplatform.com/powerautomate/flows/59d1d440-c0b8-a89a-09c2-8c160da7cf85?api-version=1&$expand=properties.connectionreferences.apidefinition,properties.definitionsummary.operations.apioperation,operationDefinition,plan,properties.throttleData,properties.estimatedsuspensiondata,properties.licenseData,properties.billingContext,properties.throttlingBehavior,properties.powerFlowType,properties.protectionStatus,properties.owningUser&telemetryMetadata=%7B%22modifiedSources%22:%22Portal%22%7D net::ERR_FAILED 502 (Bad Gateway)
 
Does this make sense to anyone?
Categories:
I have the same question (0)
  • Suggested answer
    David_MA Profile Picture
    14,956 Super User 2026 Season 1 on at
    I am not positive this is the issue, but look at this information and discuss it with your admins: Enable CORS Policies for Azure API Management Custom Connector | Microsoft Learn. Based on the error message it seems related to this.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 377

#2
11manish Profile Picture

11manish 279

#3
David_MA Profile Picture

David_MA 234 Super User 2026 Season 1

Last 30 days Overall leaderboard