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

Unable to import Components

@Mr-Dang-MSFT 

Brain,  I was trying to export and import components from one app to another today.  The export appeared to work OK, but when I tried to import into another simple app I had started with Components turned on but containing NO components, I got a server error.  (FYI, I did this twice so it is a repeatable error).

Import.jpg

I closed the dialog box and tried again.  This time I got a replace prompt as if it thought it had completed the import the first time.  

Import2.jpg

I hit replace and got this error.

Import3.jpg

I hit close and it threw an exception:

 

WebAuthoring abnormal termination.
Client date/time: 2019-04-19T21:15:04.921Z
Version: 3.19042.26 (v3.19042.26.110977078)
Session ID: f76913f7-9571-48a5-a348-ea9f216ec8ac
description: {"exception":{"message":"XMLHttpRequest error(string). {\"traceLevel\":3,\"message\":\"An error occurred in Document API document.importcomponentsasync, activity id b05b985e-87a6-499c-8c4c-f31685b5d54e\",\"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":38,"done":"[function]","then":"[function]"},"id":38,"setPromise":"[function]"}
stack: UnhandledError: XMLHttpRequest error(string). {"traceLevel":3,"message":"An error occurred in Document API document.importcomponentsasync, activity id b05b985e-87a6-499c-8c4c-f31685b5d54e","status":500}
at t [as constructor] (https://cdn-paaprodeus.azureedge.net/v3.19042.26.110977078/studio/js/Core.js?v=3.19042.26.110977078:...)
at new t (https://cdn-paaprodeus.azureedge.net/v3.19042.26.110977078/studio/js/Core.js?v=3.19042.26.110977078:...)
at o._translateError (https://cdn-paaprodeus.azureedge.net/v3.19042.26.110977078/studio/js/AppMagic.WebAuthoring.js?v=3.19...)
at o._raiseTerminalError (https://cdn-paaprodeus.azureedge.net/v3.19042.26.110977078/studio/js/AppMagic.WebAuthoring.js?v=3.19...)
at o._unhandledException (https://cdn-paaprodeus.azureedge.net/v3.19042.26.110977078/studio/js/AppMagic.WebAuthoring.js?v=3.19...)
at o.<anonymous> (https://cdn-paaprodeus.azureedge.net/v3.19042.26.110977078/studio/js/AppMagic.WebAuthoring.js?v=3.19...)
at https://cdn-paaprodeus.azureedge.net/v3.19042.26.110977078/studio/js/Core.js?v=3.19042.26.110977078:...
at Object.throw (https://cdn-paaprodeus.azureedge.net/v3.19042.26.110977078/studio/js/Core.js?v=3.19042.26.110977078:...)
at u (https://cdn-paaprodeus.azureedge.net/v3.19042.26.110977078/studio/js/Core.js?v=3.19042.26.110977078:...)
at Object.q [as _notify] (https://cdn-paaprodeus.azureedge.net/v3.19042.26.110977078/studio/openSource/modified/winjs/js/base....)
errorNumber: 0
errorMessage: XMLHttpRequest error(string). {"traceLevel":3,"message":"An error occurred in Document API document.importcomponentsasync, activity id b05b985e-87a6-499c-8c4c-f31685b5d54e","status":500}
callStack: UnhandledError: XMLHttpRequest error(string). {"traceLevel":3,"message":"An error occurred in Document API document.importcomponentsasync, activity id b05b985e-87a6-499c-8c4c-f31685b5d54e","status":500}
at t [as constructor] (https://cdn-paaprodeus.azureedge.net/v3.19042.26.110977078/studio/js/Core.js?v=3.19042.26.110977078:...)
at new t (https://cdn-paaprodeus.azureedge.net/v3.19042.26.110977078/studio/js/Core.js?v=3.19042.26.110977078:...)
at o._translateError (https://cdn-paaprodeus.azureedge.net/v3.19042.26.110977078/studio/js/AppMagic.WebAuthoring.js?v=3.19...)
at o._raiseTerminalError (https://cdn-paaprodeus.azureedge.net/v3.19042.26.110977078/studio/js/AppMagic.WebAuthoring.js?v=3.19...)
at o._unhandledException (https://cdn-paaprodeus.azureedge.net/v3.19042.26.110977078/studio/js/AppMagic.WebAuthoring.js?v=3.19...)
at o.<anonymous> (https://cdn-paaprodeus.azureedge.net/v3.19042.26.110977078/studio/js/AppMagic.WebAuthoring.js?v=3.19...)
at https://cdn-paaprodeus.azureedge.net/v3.19042.26.110977078/studio/js/Core.js?v=3.19042.26.110977078:...
at Object.throw (https://cdn-paaprodeus.azureedge.net/v3.19042.26.110977078/studio/js/Core.js?v=3.19042.26.110977078:...)
at u (https://cdn-paaprodeus.azureedge.net/v3.19042.26.110977078/studio/js/Core.js?v=3.19042.26.110977078:...)
at Object.q [as _notify] (https://cdn-paaprodeus.azureedge.net/v3.19042.26.110977078/studio/openSource/modified/winjs/js/base....)

 

After this, I tried importing into a brand new app with nothing in it at all (and Components turned on) and it worked just fine.  Any thoughts on what might be happening when you try to import into an existing app?

LRVinNC

------------------
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
3 REPLIES 3
Power Apps
Power Apps

@LRVinNC, I've brought this to the attention of our team and get back to you to ask any additional information we may need.

Power Apps
Power Apps

A fix to this issue is on the way to be shipped. Estimate date is around the week of May 13th. Thanks for reporting the issue and happy building with components!

Hi @yfw,

any updates on this? I'm facing a similar issue today while trying to import component into my canvas app.

Can you have a look at it?

 

Stacktrace:

WebAuthoring abnormal termination.
Client date/time: 2020-03-11T07:29:53.982Z
Version: 3.20022.19 (v3.20022.19.141980634)
Session ID: d19eddba-5272-47f5-acba-3b5848229f23
description: {"exception":{"message":"XMLHttpRequest error(string). {\"traceLevel\":3,\"message\":\"An error occurred in Document API document.importcomponentsasync, activity id c18b41a0-a03b-4d46-9a64-a4730d5d6c4e\",\"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":31,"done":"[function]","then":"[function]"},"id":31,"setPromise":"[function]"}
stack: UnhandledError: XMLHttpRequest error(string). {"traceLevel":3,"message":"An error occurred in Document API document.importcomponentsasync, activity id c18b41a0-a03b-4d46-9a64-a4730d5d6c4e","status":500}
at t [as constructor] (https://cdn-paaprodneu.azureedge.net/v3.20022.19.141980634/studio/js/Core.js?v=3.20022.19.141980634:...)
at new t (https://cdn-paaprodneu.azureedge.net/v3.20022.19.141980634/studio/js/Core.js?v=3.20022.19.141980634:...)
at o._translateError (https://cdn-paaprodneu.azureedge.net/v3.20022.19.141980634/studio/js/AppMagic.WebAuthoring.js?v=3.20...)
at o._raiseTerminalError (https://cdn-paaprodneu.azureedge.net/v3.20022.19.141980634/studio/js/AppMagic.WebAuthoring.js?v=3.20...)
at o._unhandledException (https://cdn-paaprodneu.azureedge.net/v3.20022.19.141980634/studio/js/AppMagic.WebAuthoring.js?v=3.20...)
at o.<anonymous> (https://cdn-paaprodneu.azureedge.net/v3.20022.19.141980634/studio/js/AppMagic.WebAuthoring.js?v=3.20...)
at https://cdn-paaprodneu.azureedge.net/v3.20022.19.141980634/studio/js/Core.js?v=3.20022.19.141980634:...
at Object.throw (https://cdn-paaprodneu.azureedge.net/v3.20022.19.141980634/studio/js/Core.js?v=3.20022.19.141980634:...)
at u (https://cdn-paaprodneu.azureedge.net/v3.20022.19.141980634/studio/js/Core.js?v=3.20022.19.141980634:...)
at Object.q [as _notify] (https://cdn-paaprodneu.azureedge.net/v3.20022.19.141980634/studio/openSource/modified/winjs/js/base....)
errorNumber: 0
errorMessage: XMLHttpRequest error(string). {"traceLevel":3,"message":"An error occurred in Document API document.importcomponentsasync, activity id c18b41a0-a03b-4d46-9a64-a4730d5d6c4e","status":500}
callStack: UnhandledError: XMLHttpRequest error(string). {"traceLevel":3,"message":"An error occurred in Document API document.importcomponentsasync, activity id c18b41a0-a03b-4d46-9a64-a4730d5d6c4e","status":500}
at t [as constructor] (https://cdn-paaprodneu.azureedge.net/v3.20022.19.141980634/studio/js/Core.js?v=3.20022.19.141980634:...)
at new t (https://cdn-paaprodneu.azureedge.net/v3.20022.19.141980634/studio/js/Core.js?v=3.20022.19.141980634:...)
at o._translateError (https://cdn-paaprodneu.azureedge.net/v3.20022.19.141980634/studio/js/AppMagic.WebAuthoring.js?v=3.20...)
at o._raiseTerminalError (https://cdn-paaprodneu.azureedge.net/v3.20022.19.141980634/studio/js/AppMagic.WebAuthoring.js?v=3.20...)
at o._unhandledException (https://cdn-paaprodneu.azureedge.net/v3.20022.19.141980634/studio/js/AppMagic.WebAuthoring.js?v=3.20...)
at o.<anonymous> (https://cdn-paaprodneu.azureedge.net/v3.20022.19.141980634/studio/js/AppMagic.WebAuthoring.js?v=3.20...)
at https://cdn-paaprodneu.azureedge.net/v3.20022.19.141980634/studio/js/Core.js?v=3.20022.19.141980634:...
at Object.throw (https://cdn-paaprodneu.azureedge.net/v3.20022.19.141980634/studio/js/Core.js?v=3.20022.19.141980634:...)
at u (https://cdn-paaprodneu.azureedge.net/v3.20022.19.141980634/studio/js/Core.js?v=3.20022.19.141980634:...)
at Object.q [as _notify] (https://cdn-paaprodneu.azureedge.net/v3.20022.19.141980634/studio/openSource/modified/winjs/js/base....)

 

Helpful resources

Announcements
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (62,106)