web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Power Apps - WebAuthor...
Power Apps
Unanswered

Power Apps - WebAuthoring abnormal termination

(0) ShareShare
ReportReport
Posted on by 984 Super User 2024 Season 1

After enabling Named Formulas, when defining a formula that references a data source, in this case SharePoint, when removing the data source without removing the created formula, the following message appears:

 

 

WebAuthoring abnormal termination.
Client date/time: 2022-10-27T14:46:57.928Z
Version: 3.22103.19 (v3.22103.19.239579412)
Session ID: b5bbee5c-7556-4a4f-87c5-9773d39539e7
description: {"exception":{"message":"XMLHttpRequest error(string). {\"traceLevel\":3,\"message\":\"An error occurred in Document API document.removedatasourceasync, activity id dae81e03-fd80-454b-9b60-cd12ed706de3\",\"status\":500}","name":"UnhandledError","_isCritical":true,"detail":{"exception":{}}},"error":"[circular]","promise":{"_oncancel":null,"_nextState":null,"_state":{"name":"error","enter":"[function]","cancel":"[function]","done":null,"then":null,"_completed":"[function]","_error":"[function]","_notify":"[function]","_progress":"[function]","_setCompleteValue":"[function]","_setErrorValue":"[function]"},"_value":"[circular]","_isException":false,"_errorId":69,"done":"[function]","then":"[function]"},"id":69,"setPromise":"[function]"}
stack: UnhandledError: XMLHttpRequest error(string). {"traceLevel":3,"message":"An error occurred in Document API document.removedatasourceasync, activity id dae81e03-fd80-454b-9b60-cd12ed706de3","status":500}
 at t [as constructor] (https://authoringcdn-prodsbril102.azureedge.net/v3.22103.19.239579412/studio/js/Core.js?v=3.22103.19.239579412:2:264579)
 at new t (https://authoringcdn-prodsbril102.azureedge.net/v3.22103.19.239579412/studio/js/Core.js?v=3.22103.19.239579412:2:363188)
 at @PA-client/appmagic-webauthoring.e._translateError (https://authoringcdn-prodsbril102.azureedge.net/v3.22103.19.239579412/studio/js/AppMagic.WebAuthoring.js?v=3.22103.19.239579412:2:153885)
 at @PA-client/appmagic-webauthoring.e._raiseTerminalError (https://authoringcdn-prodsbril102.azureedge.net/v3.22103.19.239579412/studio/js/AppMagic.WebAuthoring.js?v=3.22103.19.239579412:2:153166)
 at @PA-client/appmagic-webauthoring.e._unhandledException (https://authoringcdn-prodsbril102.azureedge.net/v3.22103.19.239579412/studio/js/AppMagic.WebAuthoring.js?v=3.22103.19.239579412:2:153079)
 at e.<anonymous> (https://authoringcdn-prodsbril102.azureedge.net/v3.22103.19.239579412/studio/js/AppMagic.WebAuthoring.js?v=3.22103.19.239579412:2:151681)
 at https://authoringcdn-prodsbril102.azureedge.net/v3.22103.19.239579412/studio/js/Core.js?v=3.22103.19.239579412:2:454388
 at Object.throw (https://authoringcdn-prodsbril102.azureedge.net/v3.22103.19.239579412/studio/js/Core.js?v=3.22103.19.239579412:2:454494)
 at u (https://authoringcdn-prodsbril102.azureedge.net/v3.22103.19.239579412/studio/js/Core.js?v=3.22103.19.239579412:2:453268)
 at Object.q [as _notify] (https://authoringcdn-prodsbril102.azureedge.net/v3.22103.19.239579412/studio/openSource/modified/winjs/js/base.js?v=3.22103.19.239579412:2:38070)
errorNumber: 0
errorMessage: XMLHttpRequest error(string). {"traceLevel":3,"message":"An error occurred in Document API document.removedatasourceasync, activity id dae81e03-fd80-454b-9b60-cd12ed706de3","status":500}
callStack: UnhandledError: XMLHttpRequest error(string). {"traceLevel":3,"message":"An error occurred in Document API document.removedatasourceasync, activity id dae81e03-fd80-454b-9b60-cd12ed706de3","status":500}
 at t [as constructor] (https://authoringcdn-prodsbril102.azureedge.net/v3.22103.19.239579412/studio/js/Core.js?v=3.22103.19.239579412:2:264579)
 at new t (https://authoringcdn-prodsbril102.azureedge.net/v3.22103.19.239579412/studio/js/Core.js?v=3.22103.19.239579412:2:363188)
 at @PA-client/appmagic-webauthoring.e._translateError (https://authoringcdn-prodsbril102.azureedge.net/v3.22103.19.239579412/studio/js/AppMagic.WebAuthoring.js?v=3.22103.19.239579412:2:153885)
 at @PA-client/appmagic-webauthoring.e._raiseTerminalError (https://authoringcdn-prodsbril102.azureedge.net/v3.22103.19.239579412/studio/js/AppMagic.WebAuthoring.js?v=3.22103.19.239579412:2:153166)
 at @PA-client/appmagic-webauthoring.e._unhandledException (https://authoringcdn-prodsbril102.azureedge.net/v3.22103.19.239579412/studio/js/AppMagic.WebAuthoring.js?v=3.22103.19.239579412:2:153079)
 at e.<anonymous> (https://authoringcdn-prodsbril102.azureedge.net/v3.22103.19.239579412/studio/js/AppMagic.WebAuthoring.js?v=3.22103.19.239579412:2:151681)
 at https://authoringcdn-prodsbril102.azureedge.net/v3.22103.19.239579412/studio/js/Core.js?v=3.22103.19.239579412:2:454388
 at Object.throw (https://authoringcdn-prodsbril102.azureedge.net/v3.22103.19.239579412/studio/js/Core.js?v=3.22103.19.239579412:2:454494)
 at u (https://authoringcdn-prodsbril102.azureedge.net/v3.22103.19.239579412/studio/js/Core.js?v=3.22103.19.239579412:2:453268)
 at Object.q [as _notify] (https://authoringcdn-prodsbril102.azureedge.net/v3.22103.19.239579412/studio/openSource/modified/winjs/js/base.js?v=3.22103.19.239579412:2:38070)

 

 

When you click Close, the platform resets and returns to the home page.
Of course this only happens while having a formula referencing the removed data source. If you remove the formula before removing the data source, no error appears.

 

Version:

Roverandom_0-1666882473775.png

 

Steps to recreate:
1 - Enable Named Formulas;
2 - Add data source (tested with SharePoint);
3 - Create a formula in App.Formulas that references the data source;
4 - Remove the data source.

Categories:
I have the same question (0)
  • JorisdG Profile Picture
    on at

    Thanks for reporting this. I will report this to the team immediately.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard