cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
KC Continued Contributor
Continued Contributor

Can no longer edit one of my PowerApps

PowerApps version: 3.19022.17

AppId: dce7de14-c9ea-4af9-89c7-5e74e34f59ea

 

As of about 30 minutes ago, when trying to edit and test this app, my iPad screen went completely white 

I saved the app in the editor and closed it and tried reopening it

Now I keep getting the error message:

 

Error Opening the File

Contract Failure: Unspecified

 

Tried:

Cleared the browser cache

Restarted the browser

Restored app to a previous version (several attempts)

 

Still get the error message

 

Other apps do not seem to be affected.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Power Apps
Power Apps

Re: Can no longer edit one of my PowerApps

Hi @KC, I believe I have narrowed the issue to be related to a combination of two experimental features, Components and formula error management.

 

Here are some mitigation steps while we fix the issue, please bear with me as it requires some steps:

 

1- Navigate to https://create.powerapps.com

2- Open the Developer tools of your browser (Ctrl+Shft+i in chrome for example)

DevTools.png

 

3- In the Console type the following command and press enter: 

Contracts.checkNumberOrNull = function(){}

Console.png

4- Close the developer tools window (makes things faster).

5- Open your app and open App Settings (File -> App Settings)

6- In Advanced Settings scroll down to Experimental features and disable "Formula-level error management"

7- Save your app

 

After reloading the page, you should be able to load your app again.

 

Thanks,

Alan

View solution in original post

11 REPLIES 11
Super User
Super User

Re: Can no longer edit one of my PowerApps

@KChave you tried to export the App and then Import it back in?

Not necessarily the solution here, but would be curious to know if you can successfully Export it.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.
KC Continued Contributor
Continued Contributor

Re: Can no longer edit one of my PowerApps

Unfortunately, the import is getting the same error also.

Power Apps
Power Apps

Re: Can no longer edit one of my PowerApps

@KC can you share the difference between the live version and past versions? What changes have you made?

 

Have you tried restoring another version?

KC Continued Contributor
Continued Contributor

Re: Can no longer edit one of my PowerApps

@Mr-Dang-MSFT Yes, I tried restoring the previous 3 versions, none are editable. Contract Error message: unspecified. When I try to open the app from my desktop, phone and tablet, all I see is a white screen. The latest version, the only thing I did was add a function to copy the color value into a collection. 

 

Weird thing was , on my iPad the app appeared to be working, then I left the room and when I returned, the screen was white, so I went back into the editor closed the app and tried to reopen, then I started getting the Contract Failure: Unspecified message.

Power Apps
Power Apps

Re: Can no longer edit one of my PowerApps

@KC 

Clarification: I noticed you tagged this post with 'Components.' Did you add a component to this app and it failed shortly thereafter? If so, can you roll back to a version of the app that does not involve components?

Power Apps
Power Apps

Re: Can no longer edit one of my PowerApps

@KC, by the way, I had forwarded your information to the team as FYI.

 

CC @AlanC 

KC Continued Contributor
Continued Contributor

Re: Can no longer edit one of my PowerApps

@Mr-Dang-MSFT I was building a component library, this app so far contains 7 components and a container screen to test the components, including the one I added a function to. All were working in the last version, prior to the last function I created. 

 

It worked when launched in design mode, it was only after I published it that the error appeared.

 

Not sure why this affected the prior versions of the app though, they do not contain the last changes.

KC Continued Contributor
Continued Contributor

Re: Can no longer edit one of my PowerApps

@Mr-Dang-MSFT  Thank you 

Power Apps
Power Apps

Re: Can no longer edit one of my PowerApps


@KC wrote:

@Mr-Dang-MSFT I was building a component library, this app so far contains 7 components and a container screen to test the components, including the one I added a function to. All were working in the last version, prior to the last function I created. 

 

It worked when launched in design mode, it was only after I published it that the error appeared.

 

Not sure why this affected the prior versions of the app though, they do not contain the last changes.


Can you share more about this function? Did it involve collections, data, or something that is currently a limitation? 

See list of limitations at the bottom: 

https://powerapps.microsoft.com/blog/components-start-your-journey-with-reusable-controls/

 

Another initial thought is I am wondering if there might be a circular logic in it as well. 

Helpful resources

Announcements
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!

Power Platform 2020 release wave 1 plan

Power Platform 2020 release wave 1 plan

Features releasing from April 2020 through September 2020

Top Solution Authors
Top Kudoed Authors
Users online (7,585)