cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Flow Not Saving

I created a Flow and all was working fine yesterday - no errors.  I am gettind ready to turn the solution over to the team that will be managing it.  I saved the flow to have a back-up copy.  I demoed the Flow today and everything worked from start to finish.  However this Flow is sending emails and there were a few changes to the emails and fields that were being pulled in.  When I went to update the Flow I get the following error -  I went back to the original flow and tried to save with no changes and still get this error.  I also now get it when I try to save a copy.  So even though the Flow is working at this time I can make no upates.  HELP

Flow save failed with code 'DynamicOperationRequestClientFailure' and message 'The dynamic operation request to API 'sharepointonline' operation 'GetTable' failed with status code 'NotFound'. This may indicate invalid input parameters. Error response: { "error": { "code": 404, "source": "flow-apim-msmanaged-na-eastus2-01.azure-apim.net", "clientRequestId": "d14abfc7-bd52-476c-8c9b-5e4fafacc576", "message": "The response is not in a JSON format.", "innerError": "404 FILE NOT FOUND" } }'.
 
 
14 REPLIES 14
Gristy
Resident Rockstar
Resident Rockstar

Following as i had a similar thing with some flows showing that the trigger was broken with a similar message.

 

What if you export and import the flow again?

Anonymous
Not applicable

Same thing - all the connections import in but it fails on Importing the workflow.Error.jpg

edgonzales
Most Valuable Professional
Most Valuable Professional

What does the Get Table step look like?

Anonymous
Not applicable

So there are 2 Get steps  - Get Form Reponses & Get Manager - what I am struggling with is that the flow works fine - I just cannot make any changes.

 

Thanks for looking at this.

 

Get Responses from Form

{
"inputs": {
"host": {
"connectionName": "shared_microsoftforms",
"operationId": "GetFormResponseById",
"apiId": "/providers/Microsoft.PowerApps/apis/shared_microsoftforms"
},
"parameters": {
"form_id": "J75p7jjZtU6HEcXmnKQ3GM8RKip8-7tBvGYZeyAtj51URDREOUhCVFI3NlczRjlOSDNSSkQ2RjFWMSQlQCN0PWcu",
"response_id": "@items('Apply_to_each')?['resourceData/responseId']"
},
"authentication": "@parameters('$authentication')"
},
"description": "Gets the responses entered into the Form"

Get Manager

"inputs": {
"host": {
"connectionName": "shared_office365users",
"operationId": "Manager_V2",
"apiId": "/providers/Microsoft.PowerApps/apis/shared_office365users"
},
"parameters": {
"id": "@outputs('Get_response_details_from_Form')?['body/responder']"
},
"authentication": "@parameters('$authentication')"
}
}

 

edgonzales
Most Valuable Professional
Most Valuable Professional

Is the Get Manager step missing a "{" in the beginning? Or did it just not make the copy for this post?

 

Just ruling out the easy stuff first.  If you look at past runs, are all of the steps giving the expected output?

Anonymous
Not applicable

Sorry - it was just missed in the cut and paste - all the { are there.  

 

When I look at both of this Get statements on a successful WF completion the info is there - (I removed some of the info for Manager but it all came through)

Get Form Responses Inputs

{
"host": {
"apiId": "subscriptions/c44298d0-c055-4569-9fb2-6ab8693eb98a/providers/Microsoft.Web/locations/westus/runtimes/msmanaged-na/apis/microsoftforms",
"connectionReferenceName": "shared_microsoftforms",
"operationId": "GetFormResponseById"
},
"parameters": {
"form_id": "J75p7jjZtU6HEcXmnKQ3GM8RKip8-7tBvGYZeyAtj51URDREOUhCVFI3NlczRjlOSDNSSkQ2RjFWMSQlQCN0PWcu",
"response_id": 82
}
}

OutPuts -

{
"statusCode": 200,
"headers": {},
"body": {
"responder": "mkaminsk@starbucks.com",
"submitDate": "8/21/2019 5:22:58 PM",
"r0809f396c2e6440ab944648c98903bd7": "This is a test to see emails",
"r163c4854c31b4e5a8b7af1e395d66424": "Provide EDAP Data access to an Existing Workspace",
"rce24298cdf264eb1af6fcb0a9f0432cf": "",
"r076a5f31d6364234bdd5d8a1c686b003": "",
"r0cc147771c5a4c279587a51a9faa0926": "",
"rf8f8f6fdd07a47eba0bd6e7b1f414f95": "2019-08-24",
"r0d3bdd9e8d2745648ff8dc3546018913": "Mary Kaminski",
"rc869e25647674b0b948ec658dbeb94a2": "",
"rdae13aa74f4a437ab512f32a28d46955": "Customer Marketing Analytics",
"r475821097d9548ffbde1f1f27d1100ef": "",
"r53da2bab6db440e29d2f7d186d3da710": "",
"r3e054f00aa0d4a129c1c65ff260d4ec2": "",
"r3419131bc52543a9a5603b9596b430e9": "",
"r1cbf62bfc5e34db9b46057994196a5cf": "Testing",
"r7b35b515e6f74c80a2b67d14f2a9aa38": "",
"r7fa0599c09db4b63a73d49adb7fe8e25": "mkaminsk@starbucks.com",
"rfb0c6e29cd7f40f39fc68da465d2971f": "mkaminsk@starbucks.com",
"r83ce693d3c7d4a37b73aa2eb83aa4da5": "",
"r153b8f0466c34e22bb8f329e7bac7d94": "[\"Customer _ Customer360 \",\"Customer _ CustomerAccount \",\"Customer _ CustomerDevice\",\"Customer _ CustomerInsight\"]",
"r5831b48481424e6588b06d4903e78705": "Restricted"
}
}

Get Manager Input
{
"host": {
"apiId": "subscriptions/c44298d0-c055-4569-9fb2-6ab8693eb98a/providers/Microsoft.Web/locations/westus/runtimes/msmanaged-na/apis/office365users",
"connectionReferenceName": "shared_office365users",
"operationId": "Manager_V2"
},
"parameters": {
"id": "mkaminsk@starbucks.com"
}
}

Output
{
"statusCode": 200,
"headers": {},
"body": {
"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#directoryObjects(aboutMe,accountEnabled,birthday,business...",
"@odata.type": "#microsoft.graph.user",
"accountEnabled": true,
"businessPhones": [],
"city": "Seattle",
"companyName": "Starbucks Corp",
"department": "",
"displayName": " ",
"givenName": "Jeff",
"id": " ",
"jobTitle": "mgr technology solutions",
"mail": "jjohnso@starbucks.com",
"mailNickname": " ",
"officeLocation": " ",
"postalCode": " ",
"state": "WA",
"streetAddress": ",
"surname": "Johnson",
"userPrincipalName": "jjohnso@starbucks.com",
"userType": "Member"
}
}

 

edgonzales
Most Valuable Professional
Most Valuable Professional

Ok, so re-reading the error (I'm not super familiar with SP), it really feels like the call is working, but SP is returning 'nonsense' and Flow doesn't know what to make of it.

But you're saying that the Flow is working and continues to work?  Is that when it's triggered organically (using whatever trigger is built-in)? Or are you running a test or manual trigger?

 

Which step does the "flow checker" take you to when it bombs?  Can you show a screenshot of the step (from the edit, not during a run)?  Getting closer, I think.

Anonymous
Not applicable

The trigger is Submitting the form.  Once the form is submitted the workflow starts and completes,  So I thought all was fine as it was working for UAT.  The issue arose when I was asked to make a few changes to the emails that the users receive.  I went to make the changes and got the error when I went to save the workflow.  The error appears at the top of the screen and not anywhere else,  So it really does not tell me where it is failing.

 

 

edgonzales
Most Valuable Professional
Most Valuable Professional

Ok, one suggestion I got from the team was to delete the Get Responses From Form action, and hardcode the ID in the Get Manager action.  See if that lets you save.

kensley
Resolver I
Resolver I

Sorry for posting this late.

If this happens again, here is one thing you can check:

  • Make sure if you are relying on any outside applications (i.e. Forms, SharePoint, etc..), that you have the proper sharing permissions applied to these apps after you move your flow from one environment into another.  I am assuming the new environment is a new account.  If that is the case, "that account" needs collaboration rights as "owner" or such, to all these other connected applications.

Once applied, you should then be able to "import" or "Save as" your original flow into the new environment.

 

 

brego
Frequent Visitor

Hello all. Has any of the suggestions in the discussion above been found to be the solution to the 'Flow not Saving' issue that started this thread? I'm running into what seems to be the same problem, w/ same error message. The flow was working perfectly, then I added a new user to the list that provides the flow a group of users to be the approvers. Now I am getting the Flow save error. Permissions were set for this additional approver as 'user' on the SP list, PowerApp, and PowerAutomate levels of my solution but, once I found that I could not save or save as any longer, went back to that approver's permissions and elevated her to 'Owner' in hopes that I would be able to save the Flow again. However, I was given the Flow Save error and am not able to save. Is the solution to remove and replace the Get functions in order to get the Flow to save and work again? 

Thanks,

Brett

Mattw112IG
Impactful Individual
Impactful Individual

me too

brego
Frequent Visitor

Short story: I changed my list name and needed to use the correct step to get mine to save again. Long story: At least for my situation here, I think I figured out what I did. I created a solution in a development stage - then wanted to polish it up for presentation to others and move it to production. As such, I went back to my SP list and changed the list name to a friendly-name. I was unaware that I had used the Get File Properties step in my Flow, which asks for a library not a list. Before I changed my list name to the friendly name, the Get File Properties step worked just fine with me entering the list name into the library field. That was my screw up. After the name change, however, all Flow components updated with the new list name except for the Get File Properties steps – which were looking for an actual library. I replaced each Get File Properties with a Get Item, which looks for a List entry rather than Library, and everything worked once again and allowed me to save. Be sure to look for the 'X' in the form fields (rather than the dropdown arrow) as that might be a clue that whatever value you are passing cannot be found. Anyway, I found my mistake but I'm not certain that my resolution here gets to what this thread is looking to expose/solve. However, changing the Get File Properties step to a Get Item step and entering my SP list name for each place where I had used the wrong step worked to get me back on track and resolve the unable to save issue. Hopefully it can help you all too.  

renewtx
Frequent Visitor

Hello,

I encountered the same issue today.  In my case I was using an existing flow as a template to create a copy that I could apply to another site/list.  When I tried to save the flow under a new name using Save As, I got this error.  The issue in my case was two-fold:

  1. One was that the site/list that the flow had previously been connected to no longer existed (it had been deleted). 
  2. The other issue was that, after changing the flow's trigger action to connect to a list that still existed, I still got the same error, but now it was becuase the various flow actions that required a connection were using an account that did not have access to the list in SharePoint. 

Once I connect the flow's trigger action to a valid site/list and then gave the relevant user account access to the site/list, I was able to save the flow and subsequently also perform a save as.

Hope this helps.

Helpful resources

Announcements

Exclusive LIVE Community Event: Power Apps Copilot Coffee Chat with Copilot Studio Product Team

It's time for the SECOND Power Apps Copilot Coffee Chat featuring the Copilot Studio product team, which will be held LIVE on April 3, 2024 at 9:30 AM Pacific Daylight Time (PDT).     This is an incredible opportunity to connect with members of the Copilot Studio product team and ask them anything about Copilot Studio. We'll share our special guests with you shortly--but we want to encourage to mark your calendars now because you will not want to miss the conversation.   This live event will give you the unique opportunity to learn more about Copilot Studio plans, where we’ll focus, and get insight into upcoming features. We’re looking forward to hearing from the community, so bring your questions!   TO GET ACCESS TO THIS EXCLUSIVE AMA: Kudo this post to reserve your spot! Reserve your spot now by kudoing this post.  Reservations will be prioritized on when your kudo for the post comes through, so don't wait! Click that "kudo button" today.   Invitations will be sent on April 2nd.Users posting Kudos after April 2nd at 9AM PDT may not receive an invitation but will be able to view the session online after conclusion of the event. Give your "kudo" today and mark your calendars for April 3, 2024 at 9:30 AM PDT and join us for an engaging and informative session!

Tuesday Tip: Unlocking Community Achievements and Earning Badges

TUESDAY TIPS are our way of communicating helpful things we've learned or shared that have helped members of the Community. Whether you're just getting started or you're a seasoned pro, Tuesday Tips will help you know where to go, what to look for, and navigate your way through the ever-growing--and ever-changing--world of the Power Platform Community! We cover basics about the Community, provide a few "insider tips" to make your experience even better, and share best practices gleaned from our most active community members and Super Users.   With so many new Community members joining us each week, we'll also review a few of our "best practices" so you know just "how" the Community works, so make sure to watch the News & Announcements each week for the latest and greatest Tuesday Tips!     THIS WEEK'S TIP: Unlocking Achievements and Earning BadgesAcross the Communities, you'll see badges on users profile that recognize and reward their engagement and contributions. These badges each signify a different achievement--and all of those achievements are available to any Community member! If you're a seasoned pro or just getting started, you too can earn badges for the great work you do. Check out some details on Community badges below--and find out more in the detailed link at the end of the article!       A Diverse Range of Badges to Collect The badges you can earn in the Community cover a wide array of activities, including: Kudos Received: Acknowledges the number of times a user’s post has been appreciated with a “Kudo.”Kudos Given: Highlights the user’s generosity in recognizing others’ contributions.Topics Created: Tracks the number of discussions initiated by a user.Solutions Provided: Celebrates the instances where a user’s response is marked as the correct solution.Reply: Counts the number of times a user has engaged with community discussions.Blog Contributor: Honors those who contribute valuable content and are invited to write for the community blog.       A Community Evolving Together Badges are not only a great way to recognize outstanding contributions of our amazing Community members--they are also a way to continue fostering a collaborative and supportive environment. As you continue to share your knowledge and assist each other these badges serve as a visual representation of your valuable contributions.   Find out more about badges in these Community Support pages in each Community: All About Community Badges - Power Apps CommunityAll About Community Badges - Power Automate CommunityAll About Community Badges - Copilot Studio CommunityAll About Community Badges - Power Pages Community

Tuesday Tips: Powering Up Your Community Profile

TUESDAY TIPS are our way of communicating helpful things we've learned or shared that have helped members of the Community. Whether you're just getting started or you're a seasoned pro, Tuesday Tips will help you know where to go, what to look for, and navigate your way through the ever-growing--and ever-changing--world of the Power Platform Community! We cover basics about the Community, provide a few "insider tips" to make your experience even better, and share best practices gleaned from our most active community members and Super Users.   With so many new Community members joining us each week, we'll also review a few of our "best practices" so you know just "how" the Community works, so make sure to watch the News & Announcements each week for the latest and greatest Tuesday Tips!   This Week's Tip: Power Up Your Profile!  🚀 It's where every Community member gets their start, and it's essential that you keep it updated! Your Community User Profile is how you're able to get messages, post solutions, ask questions--and as you rank up, it's where your badges will appear and how you'll be known when you start blogging in the Community Blog. Your Community User Profile is how the Community knows you--so it's essential that it works the way you need it to! From changing your username to updating contact information, this Knowledge Base Article is your best resource for powering up your profile.     Password Puzzles? No Problem! Find out how to sync your Azure AD password with your community account, ensuring a seamless sign-in. No separate passwords to remember! Job Jumps & Email Swaps Changed jobs? Got a new email? Fear not! You'll find out how to link your shiny new email to your existing community account, keeping your contributions and connections intact. Username Uncertainties Unraveled Picking the perfect username is crucial--and sometimes the original choice you signed up with doesn't fit as well as you may have thought. There's a quick way to request an update here--but remember, your username is your community identity, so choose wisely. "Need Admin Approval" Warning Window? If you see this error message while using the community, don't worry. A simple process will help you get where you need to go. If you still need assistance, find out how to contact your Community Support team. Whatever you're looking for, when it comes to your profile, the Community Account Support Knowledge Base article is your treasure trove of tips as you navigate the nuances of your Community Profile. It’s the ultimate resource for keeping your digital identity in tip-top shape while engaging with the Power Platform Community. So, dive in and power up your profile today!  💪🚀   Community Account Support | Power Apps Community Account Support | Power AutomateCommunity Account Support | Copilot Studio  Community Account Support | Power Pages

Super User of the Month | Chris Piasecki

In our 2nd installment of this new ongoing feature in the Community, we're thrilled to announce that Chris Piasecki is our Super User of the Month for March 2024. If you've been in the Community for a while, we're sure you've seen a comment or marked one of Chris' helpful tips as a solution--he's been a Super User for SEVEN consecutive seasons!   Since authoring his first reply in April 2020 to his most recent achievement organizing the Canadian Power Platform Summit this month, Chris has helped countless Community members with his insights and expertise. In addition to being a Super User, Chris is also a User Group leader, Microsoft MVP, and a featured speaker at the Microsoft Power Platform Conference. His contributions to the new SUIT program, along with his joyous personality and willingness to jump in and help so many members has made Chris a fixture in the Power Platform Community.   When Chris isn't authoring solutions or organizing events, he's actively leading Piasecki Consulting, specializing in solution architecture, integration, DevOps, and more--helping clients discover how to strategize and implement Microsoft's technology platforms. We are grateful for Chris' insightful help in the Community and look forward to even more amazing milestones as he continues to assist so many with his great tips, solutions--always with a smile and a great sense of humor.You can find Chris in the Community and on LinkedIn. Thanks for being such a SUPER user, Chris! 💪 🌠  

Tuesday Tips: Community Ranks and YOU

TUESDAY TIPS are our way of communicating helpful things we've learned or shared that have helped members of the Community. Whether you're just getting started or you're a seasoned pro, Tuesday Tips will help you know where to go, what to look for, and navigate your way through the ever-growing--and ever-changing--world of the Power Platform Community! We cover basics about the Community, provide a few "insider tips" to make your experience even better, and share best practices gleaned from our most active community members and Super Users.   With so many new Community members joining us each week, we'll also review a few of our "best practices" so you know just "how" the Community works, so make sure to watch the News & Announcements each week for the latest and greatest Tuesday Tips!This Week: Community Ranks--Moving from "Member" to "Community Champion"   Have you ever wondered how your fellow community members ascend the ranks within our community? What sets apart an Advocate from a Helper, or a Solution Sage from a Community Champion? In today’s #TuesdayTip, we’re unveiling the secrets and sharing tips to help YOU elevate your ranking—and why it matters to our vibrant communities. Community ranks serve as a window into a member’s role and activity. They celebrate your accomplishments and reveal whether someone has been actively contributing and assisting others. For instance, a Super User is someone who has been exceptionally helpful and engaged. Some ranks even come with special permissions, especially those related to community management. As you actively participate—whether by creating new topics, providing solutions, or earning kudos—your rank can climb. Each time you achieve a new rank, you’ll receive an email notification. Look out for the icon and rank name displayed next to your username—it’s a badge of honor! Fun fact: Your Community Engagement Team keeps an eye on these ranks, recognizing the most passionate and active community members. So shine brightly with valuable content, and you might just earn well-deserved recognition! Where can you see someone’s rank? When viewing a post, you’ll find a member’s rank to the left of their name.Click on a username to explore their profile, where their rank is prominently displayed. What about the ranks themselves? New members start as New Members, progressing to Regular Visitors, and then Frequent Visitors.Beyond that, we have a categorized system: Kudo Ranks: Earned through kudos (teal icons).Post Ranks: Based on your posts (purple icons).Solution Ranks: Reflecting your solutions (green icons).Combo Ranks: These orange icons combine kudos, solutions, and posts. The top ranks have unique names, making your journey even more exciting! So dive in, collect those kudos, share solutions, and let’s see how high you can rank!  🌟 🚀   Check out the Using the Community boards in each of the communities for more helpful information!  Power Apps, Power Automate, Copilot Studio & Power Pages

Find Out What Makes Super Users So Super

We know many of you visit the Power Platform Communities to ask questions and receive answers. But do you know that many of our best answers and solutions come from Community members who are super active, helping anyone who needs a little help getting unstuck with Business Applications products? We call these dedicated Community members Super Users because they are the real heroes in the Community, willing to jump in whenever they can to help! Maybe you've encountered them yourself and they've solved some of your biggest questions. Have you ever wondered, "Why?"We interviewed several of our Super Users to understand what drives them to help in the Community--and discover the difference it has made in their lives as well! Take a look in our gallery today: What Motivates a Super User? - Power Platform Community (microsoft.com)

Users online (6,297)