Every time I try to save or publish the changes to my Power App, it just keeps loading for several minutes before returning an error. I can save the same Power App in another environment without any problems.
The error says:
Didn't save
There was a problem saving to Power Apps.
Error saving to document server. Code: failedToPutApp Error: {"code":"UnexpectedError","message":"An unexpected error occurred."}
StackLength: 1460
Stack: Core.ApplicationError
at n.t [as constructor] (https://content.powerapps.com/resource/webauth/v3.25063.6.336954057/studio/js/Core.js?v=3.25063.6.336954057:2:301770)
at new t (https://content.powerapps.com/resource/webauth/v3.25063.6.336954057/studio/js/Core.js?v=3.25063.6.336954057:2:409660)
at n.<anonymous> (https://content.powerapps.com/resource/webauth/v3.25063.6.336954057/studio/js/appmagic-authoring.js?v=3.25063.6.336954057:1:8440624)
at new n (https://content.powerapps.com/resource/webauth/v3.25063.6.336954057/studio/js/appmagic-authoring.js?v=3.25063.6.336954057:1:523551)
at https://content.powerapps.com/resource/webauth/v3.25063.6.336954057/studio/js/appmagic-authoring.js?v=3.25063.6.336954057:1:542465
at l (https://content.powerapps.com/resource/webauth/v3.25063.6.336954057/studio/js/appmagic-authoring.js?v=3.25063.6.336954057:1:8435884)
at Object.next (https://content.powerapps.com/resource/webauth/v3.25063.6.336954057/studio/js/appmagic-authoring.js?v=3.25063.6.336954057:1:8435171)
at r (https://content.powerapps.com/resource/webauth/v3.25063.6.336954057/studio/js/appmagic-authoring.js?v=3.25063.6.336954057:1:8439279)
at s (https://content.powerapps.com/resource/webauth/v3.25063.6.336954057/studio/js/appmagic-authoring.js?v=3.25063.6.336954057:1:8439476)
at https://content.powerapps.com/resource/webauth/v3.25063.6.336954057/studio/js/appmagic-authoring.js?v=3.25063.6.336954057:1:8439535
Session ID: 32d8569d-8ba0-4e05-9dfe-8f6b3c88dc57
When I try to import the updated solution from the environment that works, I get the error: “Solution <name> failed to import: UserId is empty guid!”
I’ve run out of ideas. I tried rolling back to a previous version of the app, and it showed a message saying the rollback was successful, but no new version appears in the version list.
Can somebody help me with this issue?