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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Getting "Failed to des...
Power Automate
Unanswered

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,335 Super User 2025 Season 2 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,058 Super User 2025 Season 2 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,058 Super User 2025 Season 2 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,058 Super User 2025 Season 2 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard