Hi,
There has same issue. My connector is working with own account. But other user cannot connect to the CustomAPI.
Here is Error Message from Event Log.
App <App> terminated itself by calling terminateApp API. App details are as follows: Display Name:<PowerApps>, AppUserModelId: <Microsoft.MSApps_8wekyb3d8bbwe!App> Package Identity:<Microsoft.MSApps_2.0.500.0_neutral__8wekyb3d8bbwe> PID:<6996>. The API was called from the context of the following HTML document: </default.html>. Error object passed to terminateApp carried the following details Description:<{"exception":{},"error":{"description":"Unable to get property 'toDiagnosticMessage' of undefined or null reference","number":-2146823281,"stack":"TypeError: Unable to get property 'toDiagnosticMessage' of undefined or null reference\n at tryGetDiagnosticMessage (ms-appx://microsoft.msapps/js/Core.js:886:13)\n at AddConnectionViewModel.prototype._handleError (ms-appx://microsoft.msapps/js/Core.Authoring.js:1469:33)\n at Anonymous function (ms-appx://microsoft.msapps/js/Core.Authoring.js:1416:45)\n at notifyError (ms-appx://microsoft.msapps/openSource/modified/winjs/js/base.js:2062:25)\n at state_error_notify.enter (ms-appx://microsoft.msapps/openSource/modified/winjs/js/base.js:1754:21)\n at _run (ms-appx://microsoft.msapps/openSource/modified/winjs/js/base.js:1921:17)\n at _error (ms-appx://microsoft.msapps/openSource/modified/winjs/js/base.js:1894:13)\n at Anonymous function (ms-appx://microsoft.msapps/js/AppMagic.Runtime.js:455:33)\n at ErrorPromise_done (ms-appx://microsoft.msapps/openSource/modified/winjs/js/base.js:2231:25)\n at notifyError (ms-appx://microsoft.msapps/openSource/modified/winjs/js/base.js:2077:17)"},"promise":{"_value":"[circular]","_isException":false,"_errorId":12},"id":12,"setPromise":"[function]"}>, and Stack Trace:- TypeError: Unable to get property 'toDiagnosticMessage' of undefined or null reference
at tryGetDiagnosticMessage (ms-appx://microsoft.msapps/js/Core.js:886:13)
at AddConnectionViewModel.prototype._handleError (ms-appx://microsoft.msapps/js/Core.Authoring.js:1469:33)
at Anonymous function (ms-appx://microsoft.msapps/js/Core.Authoring.js:1416:45)
at notifyError (ms-appx://microsoft.msapps/openSource/modified/winjs/js/base.js:2062:25)
at state_error_notify.enter (ms-appx://microsoft.msapps/openSource/modified/winjs/js/base.js:1754:21)
at _run (ms-appx://microsoft.msapps/openSource/modified/winjs/js/base.js:1921:17)
at _error (ms-appx://microsoft.msapps/openSource/modified/winjs/js/base.js:1894:13)
at Anonymous function (ms-appx://microsoft.msapps/js/AppMagic.Runtime.js:455:33)
at ErrorPromise_done (ms-appx://microsoft.msapps/openSource/modified/winjs/js/base.js:2231:25)
at notifyError (ms-appx://microsoft.msapps/openSource/modified/winjs/js/base.js:2077:17)
.
Did you report the issue to PowerApps using the "Send feedback" button?
- Yes, I did and i sent error message to one of PowerApps/Support team member.
Note. I haven't try with reimport method.
Regards,