cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

Cannot read property 'push' of undefined

Hi i am facing issue while using process and save information from form in Power Automate flow. I'm using a trigger from when an new email arrives with attachment then i'm retrieving attachment content for form processing action.

But ended by getting "Cannot read property 'push' of undefined" what might be the issue..

 Please Help me

16 REPLIES 16
Anonymous
Not applicable

Me too...If you know how to deal with this type of error I would appreciate if you share 🙂

 

Best regards,

 

Edgar Simões

Anonymous
Not applicable

I was getting this issue using the CDS current environment connector.

 

In your flow run history, are you getting any other information? For mine, I was getting a banner across the top saying "Cannot read property 'push' of undefined". In the step that failed, it was telling me there was a syntax error, which took me a while to figure out that it had not saved a closing bracket for one of my lookup fields.

 

If you have any other information on what is happening, it would help to figure out where/why the problem is occurring.

schuess3
Kudo Kingpin
Kudo Kingpin

Any updates anyone can share?

PMac
Helper II
Helper II

I was hoping to find an answer here too.  I have a flow which has been working fine for months, but now it's not and i can't see why - just getting the above error.  hopefully one of the Power Automate elves will be online this week to help.....

 

aniebel
Frequent Visitor

Same here. Had a working Flow that is now suddenly failing. At the step where we are looping through (apply to each) assignments (that's nested in a tasks 'apply to each'), it seems to only fail on those tasks with multiple assignees. I guess something changed in Microsoft's code that is causing the error.

Share-and-Flow
Frequent Visitor

Faced similar issue today for a flow that was working.

Getting attachments from list items and creating files in a document library.

Share-and-Flow_0-1609824554998.png

 

Anonymous
Not applicable

I am having the same issue in a flow that was working just fine before I left for the holiday 2 weeks ago. Come back to my flow failing every time I use "Send an email" (3 times). 

 

forbidden.jpg

Anonymous
Not applicable

Can you guys share the message you're getting on the step? This is where I was able to see what it was saying the issue was and it might be able to help us figure out what is going on for you.

Hi Zuleikav,

The error message within the flow is showing as:

{
  "status"404,
  "message""File not found\r\nclientRequestId: dec105ae-82c5-416c-9555-7bdb8aeabbef\r\nserviceRequestId: dec105ae-82c5-416c-9555-7bdb8aeabbef"
}
However below are screenshots of the other error messages.  Let me know if you need me to provide more information as any help I can get with this is very much appreciated.
 
File Content issue.PNGFile Content issue 2.PNG

Hi all, just an update on what I found. I had a user profile of someone who no longer was in the business. I unassigned Planner tasks from this person and re-ran the flow it it succeeded.

Anonymous
Not applicable

I was able to resolve mine. I created this process, but I have a co-owner of it. The co-owner had updated Send an email (V2) to show as sending from their email address. Even though they input the address (not me), it would not allow the flow to send since I created the process. We "saved as" in my co-owner's name and repeated the change, and the flow now works with no issues.

Anonymous
Not applicable

It looks like it can't find the file. I'm not sure what you're flow is doing before it gets to this point, so these are just some general questions. I'm also no expert in flows 🙂

 

Have you checked the file exists?

Are you getting the error message if you do a new run (rather than resubmitting a previous or using the test run)?

Are you manually creating the link, or using dynamic content?

Add some compose steps and see what the data it's trying to use is.

Have you tried searching for solutions for the file not found error?

 

It seems like the 'cannot read property push of undefined' error we have all gotten is more generic and there's a different underlying issue for each of us.

It is a form with an attachment.  In answer to your questions, yes the file exists, no I haven't tested with something new as the person who submitted the failed flow has submitted previously with no issues.  I've tried both ways, dynamic and creating a link, it already has a compose step in it (required to create to the parse JSON) and yes I've searched - this was the only conversation that was remotely relevant.

Looks like I'm going to have to do more research - even create the flow from scratch and see if Microsoft has changed one of the actions which is impacting the flow.

 

mjackson
Regular Visitor

I am having a similar issues, but connections that were working before are now failing for some reason.

The current one is a create file (SharePoint) connector. Flow has been acting very strange this week.

If it helps,

 

I found the issue for my instance, it was a DATA error, as the data had an Appostraphy in the data which caused this failure when I was using functions like below. So I just stripped out illegal characters before the compare and it worked ok.

 

not contains(cr0d6_primarypostiontitle,'CRSW - YRR's - Seaford') and cr0d6_employeeid eq '46244' and contains(cr0d6_occupancytypecode,'P')

 

Unfortunately that doesn't seem to be my issue as no apostrophes.  I think it is a bug with the action as it was previously working fine and now I can't get it to work at all.  I'm now trying to find a way to log this as a bug as it still seems to be an issue - and normally it's resolved before I get this far.

 

Helpful resources

Announcements

Community will be READ ONLY July 16th, 5p PDT -July 22nd

Dear Community Members,   We'd like to let you know of an upcoming change to the community platform: starting July 16th, the platform will transition to a READ ONLY mode until July 22nd.   During this period, members will not be able to Kudo, Comment, or Reply to any posts.   On July 22nd, please be on the lookout for a message sent to the email address registered on your community profile. This email is crucial as it will contain your unique code and link to register for the new platform encompassing all of the communities.   What to Expect in the New Community: A more unified experience where all products, including Power Apps, Power Automate, Copilot Studio, and Power Pages, will be accessible from one community.Community Blogs that you can syndicate and link to for automatic updates. We appreciate your understanding and cooperation during this transition. Stay tuned for the exciting new features and a seamless community experience ahead!

Summer of Solutions | Week 4 Results | Results posted on July 24th

We are excited to announce the Summer of Solutions Challenge!    This challenge is kicking off on Monday, June 17th and will run for (4) weeks.  The challenge is open to all Power Platform (Power Apps, Power Automate, Copilot Studio & Power Pages) community members. We invite you to participate in a quest to provide solutions to as many questions as you can. Answers can be provided in all the communities.    Entry Period: This Challenge will consist of four weekly Entry Periods as follows (each an “Entry Period”)   - 12:00 a.m. PT on June 17, 2024 – 11:59 p.m. PT on June 23, 2024 - 12:00 a.m. PT on June 24, 2024 – 11:59 p.m. PT on June 30, 2024 - 12:00 a.m. PT on July 1, 2024 – 11:59 p.m. PT on July 7, 2024 - 12:00 a.m. PT on July 8, 2024 – 11:59 p.m. PT on July 14, 2024   Entries will be eligible for the Entry Period in which they are received and will not carryover to subsequent weekly entry periods.  You must enter into each weekly Entry Period separately.   How to Enter: We invite you to participate in a quest to provide "Accepted Solutions" to as many questions as you can. Answers can be provided in all the communities. Users must provide a solution which can be an “Accepted Solution” in the Forums in all of the communities and there are no limits to the number of “Accepted Solutions” that a member can provide for entries in this challenge, but each entry must be substantially unique and different.    Winner Selection and Prizes: At the end of each week, we will list the top ten (10) Community users which will consist of: 5 Community Members & 5 Super Users and they will advance to the final drawing. We will post each week in the News & Announcements the top 10 Solution providers.  At the end of the challenge, we will add all of the top 10 weekly names and enter them into a random drawing.  Then we will randomly select ten (10) winners (5 Community Members & 5 Super Users) from among all eligible entrants received across all weekly Entry Periods to receive the prize listed below. If a winner declines, we will draw again at random for the next winner.  A user will only be able to win once overall. If they are drawn multiple times, another user will be drawn at random.  Individuals will be contacted before the announcement with the opportunity to claim or deny the prize.  Once all of the winners have been notified, we will post in the News & Announcements of each community with the list of winners.   Each winner will receive one (1) Pass to the Power Platform Conference in Las Vegas, Sep. 18-20, 2024 ($1800 value). NOTE: Prize is for conference attendance only and any other costs such as airfare, lodging, transportation, and food are the sole responsibility of the winner. Tickets are not transferable to any other party or to next year’s event.   ** PLEASE SEE THE ATTACHED RULES for this CHALLENGE**   Week 1 Results: Congratulations to the Week 1 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge.   Community MembersNumber SolutionsSuper UsersNumber Solutions Deenuji 9 @NathanAlvares24  17 @Anil_g  7 @ManishSolanki  13 @eetuRobo  5 @David_MA  10 @VishnuReddy1997  5 @SpongYe  9JhonatanOB19932 (tie) @Nived_Nambiar  8 @maltie  2 (tie)   @PA-Noob  2 (tie)   @LukeMcG  2 (tie)   @tgut03  2 (tie)       Week 2 Results: Congratulations to the Week 2 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Week 2: Community MembersSolutionsSuper UsersSolutionsPower Automate  @Deenuji  12@ManishSolanki 19 @Anil_g  10 @NathanAlvares24  17 @VishnuReddy1997  6 @Expiscornovus  10 @Tjan  5 @Nived_Nambiar  10 @eetuRobo  3 @SudeepGhatakNZ 8     Week 3 Results: Congratulations to the Week 3 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Week 3:Community MembersSolutionsSuper UsersSolutionsPower Automate Deenuji32ManishSolanki55VishnuReddy199724NathanAlvares2444Anil_g22SudeepGhatakNZ40eetuRobo18Nived_Nambiar28Tjan8David_MA22   Week 4 Results: Congratulations to the Week 4 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Week 4:Community MembersSolutionsSuper UsersSolutionsPower Automate Deenuji11FLMike31Sayan11ManishSolanki16VishnuReddy199710creativeopinion14Akshansh-Sharma3SudeepGhatakNZ7claudiovc2CFernandes5 misc2Nived_Nambiar5 Usernametwice232rzaneti5 eetuRobo2   Anil_g2   SharonS2  

Check Out | 2024 Release Wave 2 Plans for Microsoft Dynamics 365 and Microsoft Power Platform

On July 16, 2024, we published the 2024 release wave 2 plans for Microsoft Dynamics 365 and Microsoft Power Platform. These plans are a compilation of the new capabilities planned to be released between October 2024 to March 2025. This release introduces a wealth of new features designed to enhance customer understanding and improve overall user experience, showcasing our dedication to driving digital transformation for our customers and partners.    The upcoming wave is centered around utilizing advanced AI and Microsoft Copilot technologies to enhance user productivity and streamline operations across diverse business applications. These enhancements include intelligent automation, AI-powered insights, and immersive user experiences that are designed to break down barriers between data, insights, and individuals. Watch a summary of the release highlights.    Discover the latest features that empower organizations to operate more efficiently and adaptively. From AI-driven sales insights and customer service enhancements to predictive analytics in supply chain management and autonomous financial processes, the new capabilities enable businesses to proactively address challenges and capitalize on opportunities.    

Updates to Transitions in the Power Platform Communities

We're embarking on a journey to enhance your experience by transitioning to a new community platform. Our team has been diligently working to create a fresh community site, leveraging the very Dynamics 365 and Power Platform tools our community advocates for.  We started this journey with transitioning Copilot Studio forums and blogs in June. The move marks the beginning of a new chapter, and we're eager for you to be a part of it. The rest of the Power Platform product sites will be moving over this summer.   Stay tuned for more updates as we get closer to the launch. We can't wait to welcome you to our new community space, designed with you in mind. Let's connect, learn, and grow together.   Here's to new beginnings and endless possibilities!   If you have any questions, observations or concerns throughout this process please go to https://aka.ms/PPCommSupport.   To stay up to date on the latest details of this migration and other important Community updates subscribe to our News and Announcements forums: Copilot Studio, Power Apps, Power Automate, Power Pages

Top Kudoed Authors
Users online (2,533)