cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
blue_lotus
Helper III
Helper III

unknown error occured

Hello,

 

I am patching data form a collection to an Excel file located on my One drive.

My app ahs been working fine for the last 2 months. But since yesterday, when I patch the data I sometimes get a message in a red band saying "an unknown error occured".

WHen the patch was finished, I checked, and the data had not been patched in my Excel file.

It was lost!!!

Does anyone know where this error is coming from / how to solve it?

And how to avoid losing data. This is really a big problem...

Many thanks,

10 REPLIES 10

@seadude.  I'm happy to post my findings.  I don't know how enlightening it will be.  I had a collection that was something like

 

ForAll(Data1,Patch(Table1,Defaults(Table1),
{Date:Date,
Company: Company1,
Commodity: Commodity1,
Pack: Pack1,
Label: Label,
CrewSize: CrewSize,
}))

 

In my brilliance, I named my dataset columns and app field columns the same thing so I didn't realize I was referencing the wrong thing until I changed my app field names to company1.  After that, it fixed the problem

 

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (3,386)