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

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / The work queue item in...
Power Automate
Answered

The work queue item input is not a valid JSON or XML

(1) ShareShare
ReportReport
Posted on by 17
I'm trying to add items to the work queue and this is my JSON input:
{
    "V_Code": "%V_Code_Count%",
    "Count": "%Count%",
    "Path": "%Path%",
    "File_Name": "%File_Name%"
}
and the same is mentioned in the work queue as well

when I'm trying to add the item to the queue, it throws an error that says, "The work queue item input is not a valid JSON or XML"

is something wrong with my JSON input?
Screenshot 2024-10-23 224514.png
I have the same question (0)
  • Nived_Nambiar Profile Picture
    18,136 Super User 2026 Season 1 on at
    Hi,
     
    could you share a screenshot of how you have passed the work item using the action ?
     
    I have tried like below and it worked up as well
     
     
  • Verified answer
    trice602 Profile Picture
    15,890 Super User 2026 Season 1 on at
    Hi,
     
    The root cause here is that your work queue does not have a JSON format schema.  Open up your work queue and look at the settings.  Unfortunately, you cannot change the schema type once it is created so you will need to create a new one.  Notice here in this example, the schema was created with none.  It is grayed out and cannot be changed.
     
     
    That said, there's nothing wrong with your JSON - it is accurate so it's definitely the work queue itself.
     
    ------------------------------------------------


    If this was helpful, please like and/or mark as a verified answer to help others find this too!


    Always glad to help! 💯💯💯💯💯

    Tom 

    Follow me on LinkedIn - Thomas Rice, PMP | LinkedIn

     


     
  • Verified answer
    Srividya Profile Picture
    17 on at
    Hi @trice602 and @Nived_Nambiar,

    Thanks for your responses, I did input the schema in the work queue, the issue was with one of the values (Path) in the input schema, which contained backslash (\).
    After replacing it with a different character, it worked.

    Thanks!

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…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 237 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 176 Super User 2026 Season 1

#3
Power Platform 1919 Profile Picture

Power Platform 1919 96 Super User 2026 Season 1

Last 30 days Overall leaderboard