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 / Error when running clo...
Power Automate
Suggested Answer

Error when running cloud flow which run desktop from after deplyoying in Test from Dev environment

(0) ShareShare
ReportReport
Posted on by 2
I am getting the below errror after exporting the power automate solution into other environment. The solution has no issue or error when run in dev but when I try to run in Test, it's failing with below error.
 

Action 'Run_a_flow_built_with_Power_Automate_for_desktop' failed: Encountered an unexpected error during Desktop flow initialization: 'Microsoft.Flow.RPA.Desktop.Robin.Core.Packager.Exceptions.PackagerValidationException: A validation error occurred during project unbundling.
   at Microsoft.Flow.RPA.Desktop.Robin.Core.Packager.ProjectValidator.CreateAndReturnFinalValidationResult(IModuleManager moduleManager, Boolean throwExceptionWhenInvalid)
   at Microsoft.Flow.RPA.Desktop.Robin.Core.Packager.ProjectValidator.<ValidateProjectAsync>d__11.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Flow.RPA.Desktop.Robin.Engine.Packager.PackageProvider.<UpgradeAndValidateProjectImplAsync>d__21.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Flow.RPA.Desktop.Robin.Engine.Packager.PackageProvider.<UpgradeAndValidateProjectAsync>d__15.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Flow.RPA.Agent.Server.Components.ScriptEngines.RobinEngine.Helpers.RobinHelpers.PackProjectToDirectory(ILifetimeScope lifetimeScope, Project project, String directory, Guid flowId, String flowETag, List`1 dfmEtags)
   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__24.MoveNext()'.



 

What could be the solution for this?

Thanks in advance! 

 
I have the same question (0)
  • Suggested answer
    11manish Profile Picture
    3,333 on at
    Since your flow works in Dev but fails in Test, this is typically due to a metadata mismatch or serialization issue caused during the export/import process.

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 377

#2
11manish Profile Picture

11manish 279

#3
David_MA Profile Picture

David_MA 234 Super User 2026 Season 1

Last 30 days Overall leaderboard