InvalidOperationException: An asynchronous module or handler completed while an asynchronous operation was still pending

I made a change to Behavior of Viewing in UX Only USERROLE()=โ€œADMINโ€ to blanking that requirement so everyone can see the new view. but now when opening the app I get this error on the front end and this error on the back

FRONT
body {font-family:โ€œVerdanaโ€;font-weight:normal;font-size: .7em;color:black;}

p {font-family:โ€œVerdanaโ€;font-weight:normal;color:black;margin-top: -5px}

b {font-family:โ€œVerdanaโ€;font-weight:bold;color:black;margin-top: -5px}

H1 { font-family:โ€œVerdanaโ€;font-weight:normal;font-size:18pt;color:red }

H2 { font-family:โ€œVerdanaโ€;font-weight:normal;font-size:14pt;color:maroon }

pre {font-family:โ€œConsolasโ€,โ€œLucida Consoleโ€,Monospace;font-size:11pt;margin:0;padding:0.5em;line-height:14pt}

.marker {font-weight: bold; color: black;text-decoration: none;}

.version {color: gray;}

.error {margin-bottom: 10px;}

.expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:pointer; }

@media screen and (max-width: 639px) {

pre { width: 440px; overflow: auto; white-space: pre-wrap; word-wrap: break-word; }

}

@media screen and (max-width: 479px) {

pre { width: 280px; }

}

Server Error in โ€˜/โ€™ Application.

An asynchronous module or handler completed while an asynchronous operation was still pending.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.InvalidOperationException: An asynchronous module or handler completed while an asynchronous operation was still pending.

Source Error:

``

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

``

[InvalidOperationException: An asynchronous module or handler completed while an asynchronous operation was still pending.]

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4210.0

In the editor
The NewApp-1197080 app did not load successfully. Please contact the app creator.

An asynchronous module or handler completed while an asynchronous operation was still pending. body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;} p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px} b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px} H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red } H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon } pre {font-family:"Consolas","Lucida Console",Monospace;font-size:11pt;margin:0;padding:0.5em;line-height:14pt} .marker {font-weight: bold; color: black;text-decoration: none;} .version {color: gray;} .error {margin-bottom: 10px;} .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:pointer; }
0 13 1,306
13 REPLIES 13

Exactly same error here. No changes made.

Exactly same error here. No changes made.

Same issue, but only 1 of my users. All other accounts are fine.

Also only 1 user so far (diagnostics below). Iโ€™ve made some tests and couldnโ€™t replicate the issue on other devices.

3X_8_c_8c557e6a6b1e04ce90cd9bbbb618044eb1820689.png

Same issue on multiple devices. Needs to be resolved urgently.

yip, we have it down here in New Zealand tooโ€ฆ not all users. Interestingly itโ€™s not just the apps we have made, but also the Sample Apps from the Appsheet website.

I searched for this issue (โ€œAn asynchronous module or handler completed while an asynchronous operation was still pendingโ€) and nothing came up, so I created my own thread minutes ago
https://community.appsheet.com/t/app-did-not-load-successfully-please-contact-the-app-creator/32516

Itโ€™s very likely to be an error outside of AppSheetโ€™s control, or one of a recent update from AppSheet in their web-request handling, but now is all our problem. Funny, I donโ€™t have the issue on my Android or Windows 7 computer, but my friend does while accessing with his account via his Windows 10 computers.

Iโ€™ve received a response from support confirming the issue is due to the latest update, they are currently rolling it back

They just confirmed itโ€™s rolled back, it should be working as expected now.

Weโ€™re getting warmer!
Now Iโ€™m getting,
โ€œUnable to fetch app definitionโ€
&
โ€œError:Object reference not set to an instance of an object.โ€

I know I saw a lot of those, โ€œUnable to fetch app definitionโ€ threads while searching for solutions to this threadโ€™s issue. Iโ€™ll post here for others when I figure out how to correct this recent issue. Refreshing the editor page doesnโ€™t fix it, nor did deleting all unused columns to the right of the most recently added column in my Google Sheet.

This morning the error again changed, into:
โ€œUnable to fetch app definition.Error: Data table sample is not accessible due to: File not foundโ€
Frustrating, because within the editor I could see the table linked, and clicking on the tableโ€™s View Source button within the editor opened a new browser tab with all the correct data.

Turns out the account attempting to use our AppSheet didnโ€™t yet have permission to access the Google Sheet. Fixed by changing the user icon (while viewing the Google Sheet), which popped up with the prompt to request access. Request email sent to owner of the Google Sheet, accepted and weโ€™re up and running.

weโ€™re all good again down here, as at about an hour ago

Top Labels in this Space