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 / 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?
I have the same question (0)
  • Nived_Nambiar Profile Picture
    18,129 Super User 2025 Season 2 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,404 Super User 2025 Season 2 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…

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 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard