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 / Getting "Failed to des...
Power Automate
Suggested Answer

Getting "Failed to deserialize input arguments json" when calling flow with string argument

(2) ShareShare
ReportReport
Posted on by 10
I have a simple flow that takes an Text input argument called "Parameter1"

When the parameter value contains no spaces, it works fine.

"C:\Program Files (x86)\Power Automate Desktop\PAD.Console.Host.exe" "ms-powerautomate:/console/flow/run?environmentid=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx&workflowName=\"Test Flow that takes 1 parameter\"&inputArguments={\"Parameter1\":'Bradwashere'}"
 
When the parameter contains a space, it returns an error.

"C:\Program Files (x86)\Power Automate Desktop\PAD.Console.Host.exe" "ms-powerautomate:/console/flow/run?environmentid=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx&workflowName=\"Test Flow that takes 1 parameter\"&inputArguments={\"Parameter1\":'Brad washere'}"
 
I am running Power Automate Desktop version 2.55.158.25087
 
Screenshot 2025-0...

Your file is currently under scan for potential threats. Please wait while we review it for any viruses or malicious content.

I have the same question (0)
  • Michael E. Gernaey Profile Picture
    53,963 Moderator on at
     
    Can you please type the error in, unfortunately your image probably will never get shown (its a platform thing not your issue"
     
    Also, you have to take into account that you should encode the Uri since it has a space, and then it needs to be decoded after. Since this is essentially a URI
  • Suggested answer
    stampcoin Profile Picture
    5,158 Super User 2026 Season 1 on at
    That doesn't look correct, the value of the parameter should be with double-quoted, not single.
    inputArguments={\"Parameter1\":'Brad washere'}❌
    inputArguments={\"Parameter1\":"Brad washere"}✅
     
     
  • Brad Darragh Profile Picture
    10 on at
    I agree that the JSON Key/Value pair should use double quotes.
     
    The Microsoft documentation indicated that double quotes should use the escape character \"
     
    However, both of these fail.  
     
    "C:\Program Files (x86)\Power Automate Desktop\PAD.Console.Host.exe" "ms-powerautomate:/console/flow/run?environmentid=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx&workflowName=\"Test Flow that takes 1 parameter\"&inputArguments={\"Parameter1\":\"Bradwashere\"}" 
     
    "C:\Program Files (x86)\Power Automate Desktop\PAD.Console.Host.exe" "ms-powerautomate:/console/flow/run?environmentid=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx&workflowName=\"Test Flow that takes 1 parameter\"&inputArguments={\"Parameter1\":\"Brad washere\"}"
     
     
    This is the error message
     
    Exception message: Failed to deserialize input arguments json
     
    I do know that this did work in previous versions of Power Automate Desktop but no longer works in 2.55.
     
     
     
     
  • stampcoin Profile Picture
    5,158 Super User 2026 Season 1 on at
    Could you please reshare your screenshot ? The one you uploaded is not available.
     
  • Brad Darragh Profile Picture
    10 on at
    Here is the screenshot of the error that I am seeing.
     
  • Brad Darragh Profile Picture
    10 on at
    I really think that this is a defect in the current release of Power Automate Desktop.
     
    How do I formally log this defect with Microsoft?
  • Suggested answer
    Brad Darragh Profile Picture
    10 on at
    Hello everyone. 

    After speaking with Microsoft, I solved the issue. 
     
    There are actually two instances of PAD.Console.Host.exe
     
    1. "C:\Program Files (x86)\Power Automate Desktop\PAD.Console.Host.exe"
    2. "C:\Program Files (x86)\Power Automate Desktop\dotnet\PAD.Console.Host.exe"

    I was using the first path and I was getting the error. 
     
    When I use the second path (in the dotnet subdirectory) it works successfully.
     
     
  • stampcoin Profile Picture
    5,158 Super User 2026 Season 1 on at
    Thanks for sharing.👍
     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 816

#2
Valantis Profile Picture

Valantis 603

#3
Haque Profile Picture

Haque 566

Last 30 days Overall leaderboard