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 / After Changing Paramet...
Power Automate
Answered

After Changing Parameter to pass to Desktop flow i get a Parametername: Key can not be Null Error

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I call a Desktop Flow from an other Desktop Flow and it was working fine until i had to add additional Input Variables. Since then i get the Error. All Parameter are definitively not Null. 

 

Sorry, system is in German.

 

LaurentWagner_0-1657616428961.png

LaurentWagner_1-1657616521063.png

 

Regards

Laurent

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Here the full Error Message. The Sub-Flow i'm calling is working fine with the default Parameters/Variables

     

    : System.ArgumentNullException: Der Wert darf nicht NULL sein.
    Parametername: key
    bei System.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
    bei System.Collections.Generic.Dictionary`2.FindEntry(TKey key)
    bei System.Collections.Generic.Dictionary`2.TryGetValue(TKey key, TValue& value)
    bei Microsoft.Flow.RPA.Desktop.Robin.Engine.Execution.StatementExecutionHandler.<>c__DisplayClass112_0.<EvaluateDynamicInputs>g__EvaluateInputArgument|0(IDynamicInputArgument inputArgument)
    bei System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
    bei System.Linq.Buffer`1..ctor(IEnumerable`1 source)
    bei System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
    bei Microsoft.Flow.RPA.Desktop.Robin.Engine.Execution.StatementExecutionHandler.EvaluateDynamicInputs(IStatementWithArguments statement, ProcessArgument[]& dynamicInputs)
    bei Microsoft.Flow.RPA.Desktop.Robin.Engine.Execution.StatementExecutionHandler.Visit(IRunFlowStatement statement)
    bei Microsoft.Flow.RPA.Desktop.Robin.Engine.Execution.StatementExecutionHandler.ExecuteStatementWithException(IStatementWithException statement)
    bei Microsoft.Flow.RPA.Desktop.Robin.Engine.Execution.StatementExecutionHandler.Execute(IStatement statement)
    bei Microsoft.Flow.RPA.Desktop.Robin.Engine.Execution.StatementExecutionHandler.<>c__DisplayClass114_0.<ExecuteScope>g__ExecuteStatement|0(IStatement statement)
    bei Microsoft.Flow.RPA.Desktop.Robin.Engine.Execution.StatementExecutionHandler.ExecuteScope(IScope scope)
    bei Microsoft.Flow.RPA.Desktop.Robin.Engine.Execution.StatementExecutionHandler.ExecuteLoop(LoopBaseScope loopScope)
    bei Microsoft.Flow.RPA.Desktop.Robin.Engine.Execution.StatementExecutionHandler.Visit(ForEachScope scope)
    bei Microsoft.Flow.RPA.Desktop.Robin.Engine.Execution.StatementExecutionHandler.Execute(IStatement statement)
    bei Microsoft.Flow.RPA.Desktop.Robin.Engine.Execution.StatementExecutionHandler.<>c__DisplayClass114_0.<ExecuteScope>g__ExecuteStatement|0(IStatement statement)
    bei Microsoft.Flow.RPA.Desktop.Robin.Engine.Execution.StatementExecutionHandler.ExecuteScope(IScope scope)
    bei Microsoft.Flow.RPA.Desktop.Robin.Engine.Execution.StatementExecutionHandler.Execute(IStatement statement)
    bei Microsoft.Flow.RPA.Desktop.Robin.Engine.Execution.Runner.Run(Program program, RunMode mode, ProcessArgument[] arguments, DebugInfo debugInfo)

  • Verified answer
    Gidi Profile Picture
    601 on at

    Well, there must be a mistake somewhere 😉 

    Try with setting a break point and check if the values of CurrentItem are really not null or somewhere is a typo.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Indeed the CurrentItem Field Name was misstyped. But still, the Error Message is not very helpfull 😉

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

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 389

#2
11manish Profile Picture

11manish 345 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 308

Last 30 days Overall leaderboard