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 Automate
Suggested Answer

Parse JSON failed

(2) ShareShare
ReportReport
Posted on by 8
Hi, 
I have an error during schedule flow running as follows
 
 
I have done "resubmit" and flow run successfully. Please help to find the reason and fix this issue permanently.
Categories:
I have the same question (0)
  • Suggested answer
    Vish WR Profile Picture
    3,206 on at
     
     

    Parse JSON action failed because the input does not match the defined schema.

    Common reasons:

    Input is null or empty

    Schema expects an object but receives an array (or vice versa)

    Data types don’t match (e.g., string vs null)

    Required fields are missing

    Wrong content passed (e.g., not using the correct body)

    Please double-check if the input schema will always be the same or it could be different, if it could be different, then u need to have a proper schema to have successful parsing

     

     
     
      Vishnu WR
     
    Please  Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider answering Yes to Was this reply helpful? or give it a Like 
     
     
     

     

  • Suggested answer
    11manish Profile Picture
    2,293 on at
    It seems that issue is due to :
    • Inconsistent or delayed data reaching Parse JSON
    Permanent fix:
    • Validate input → Make schema flexible → Add retry/delay → Handle nulls
    Add Pre-Validation 
    Before Parse JSON, add condition:
    • if(empty(body('YourAction')))
    If empty → skip Parse JSON
  • BK-16040433-0 Profile Picture
    8 on at
    I have not done any changes in the flow, just "resubmit" flow got successful. 
  • Vish WR Profile Picture
    3,206 on at
     
    Parse will fail if the input data does not match the schema definition.  It is based on the data it received, not on the flow change 
     
    You check the failed flow, get the input data, and see if there is any mismatch in the schema 
     
    If you paste the input data and schema definition i can help to check if there is any schema mismatch.  
     
     
     
      Vishnu WR
     
    Please  Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider answering Yes to Was this reply helpful? or give it a Like 
     
     
     
  • Haque Profile Picture
    3,202 on at
     
    When you say "I have not done any changes in the flow, just "resubmit" flow got successful." is this happening now every time or once you resumit it successfully runs?
     
    Can you please post a part of json file so that structure can be evealuated? Along with that, when it succeeed and when it fials, can you please capture two scnearios and paste here? 
  • Suggested answer
    Valantis Profile Picture
    5,267 on at
     
    The fact that it worked on resubmit tells you the input to Parse JSON was different between the two runs. The schema was fine, the data was not.
     
    Most common causes for intermittent Parse JSON failures in scheduled flows:
     
    1. The previous action returned null or empty. If the action feeding Parse JSON returned nothing (empty response, no results, API timeout), Parse JSON has nothing to parse and fails. Add a condition before Parse JSON to check the input is not blank before attempting to parse.
    2. The input sometimes returns a different structure. For example an API that returns a single object when there is one result but an array when there are multiple. The schema only covers one shape so it fails on the other.
    3. Transient upstream failure. The source (API, SharePoint, HTTP call) had a temporary error and returned an error response instead of valid JSON. The resubmit worked because the source was back online.
     
    try this to fix it:

    - Add a Compose action before Parse JSON and log the output of the previous action so you can see exactly what was passed when it fails next time
    - Wrap Parse JSON in a Scope block with Configure run after set to run on failure, and send yourself the raw input to inspect it
    - If it is a transient upstream issue, add a retry policy on the action feeding Parse JSON
    What action is feeding the Parse JSON and what does the schema look like? That will confirm which of these is the actual cause.
     

     

    Best regards,

    Valantis

     

    ✅ If this helped solve your issue, please Accept as Solution so others can find it quickly.

    ❤️ If it didn’t fully solve it but was still useful, please click “Yes” on “Was this reply helpful?” or leave a Like :).

    🏷️ For follow-ups  @Valantis.

    📝 https://valantisond365.com/

     

  • Valantis Profile Picture
    5,267 on at

    Hi @BK-16040433-0 ,

    Just wanted to check in and see if everything is working now. If you still need any help, feel free to let me know.

    Also, if the issue is resolved, it would be great if you could mark the answer as solved so others with the same question can find it easily.

     

    Thanks and have a great day!

     

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