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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Desktop Flow run fails...
Power Automate
Unanswered

Desktop Flow run fails after solution upgrade

(1) ShareShare
ReportReport
Posted on by 26

After the solution upgrade, invoking the desktop flow fails with the below error. I will repackage the flow into a new solution and deploy it, it works fine. Any help is appreciated.

 

Encountered an unexpected error with the Desktop flow repository: 'Microsoft.Flow.RPA.Desktop.Robin.Core.Packager.Exceptions.RepositoryException: Failed to deserialize Images.

   at Microsoft.Flow.RPA.Desktop.Robin.Core.Packager.ProjectValidator.CreateAndReturnFinalValidationResult()

   at Microsoft.Flow.RPA.Desktop.Robin.Core.Packager.ProjectValidator.ValidateProject()

   at Microsoft.Flow.RPA.Desktop.Robin.Engine.Packager.PackageProvider.UpgradeAndValidateProject(Project project, Nullable`1 flowId, Boolean throwExceptionWhenInvalid)

   at Microsoft.Flow.RPA.Agent.Server.Components.ScriptEngines.RobinEngine.Helpers.RobinHelpers.PackProjectToDirectory(ILifetimeScope lifetimeScope, Project project, String directory, Guid flowId)

   at Microsoft.Flow.RPA.Agent.Server.Components.ScriptEngines.RobinEngine.DataResolvers.DataResolverV2.GetFlowDataAndSetState(Guid scriptId, Guid runId, Dictionary`2 flowInfoCache, String directory)

   at Microsoft.Flow.RPA.Agent.Server.Components.ScriptEngines.RobinEngine.RobinScriptProvider.ResolvePackagePath(Guid flowId)

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

   at Microsoft.Flow.RPA.Agent.Server.Components.ScriptEngines.RobinEngine.RobinEngine.<Execute>d__23.MoveNext()'.

  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    Has your tenant perhaps been upgraded to the V2 schema? Try checking this article to see if it helps fix your problem: https://poszytek.eu/en/microsoft-en/office-365-en/rpa-en/upgrading-power-automate-desktop-to-v2-schema/ 

  • AppDeveloper1 Profile Picture
    26 on at

    Thanks for responding, Agnius! 

    Both environments are using v2 schema. 

  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    Have you made the changes listed in the article to make sure your flows are also upgraded properly?

  • Kujo_DK Profile Picture
    91 on at

    Hi Agnius.

    This helped me so much as i am right  moving to new env. and solutions are acting up with a lot of the same problems shared in this post.

  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    Glad to hear it helped you!

  • AppDeveloper1 Profile Picture
    26 on at

    Yes, All steps have been followed as in the article. At this time, have opened a support ticket with Microsoft. The support agent suspects this could be a bug on a recent release. I will keep posted if I reach a resolution. 

  • Abbiramy-126 Profile Picture
    5 on at

    Hi Any updates on this?

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 227 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 221 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 132

Last 30 days Overall leaderboard