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 / parse json schema error
Power Automate
Unanswered

parse json schema error

(1) ShareShare
ReportReport
Posted on by 13

Hello,

I trying to get info out off some xml files and I'm changing the files in json format, and then when I'm trying to parse it will error out. Any help is much appreciated. Thanks2024-07-01_11h35_17.png2024-07-01_11h27_24.png

With schema:

{
  "type""array",
  "items": {
    "type""object",
    "properties": {
      "ss:Table": {
        "type""object",
        "properties": {
          "ss:Row": {
            "type""array",
            "items": {
              "type""object",
              "properties": {
                "ss:Cell": {
                  "type""object",
                  "properties": {
                    "ss:Data": {
                      "type""object",
                      "properties": {
                        "#text": {
                          "type""string"
                        },
                        "@ss:Type": {
                          "type""string"
                        }
                      }
                    }
                  }
                },
                "@ss:AutoFitHeight": {
                  "type""string"
                }
              },
              "required": [
                "@ss:AutoFitHeight",
                "ss:Cell"
              ]
            }
          },
          "@ss:ExpandedColumnCount": {
            "type""string"
          },
          "@ss:ExpandedRowCount": {
            "type""string"
          },
          "@x:FullColumns": {
            "type""string"
          },
          "@x:FullRows": {
            "type""string"
          },
          "@ss:DefaultColumnWidth": {
            "type""string"
          },
          "@ss:DefaultRowHeight": {
            "type""string"
          }
        }
      },
      "WorksheetOptions": {
        "type""object",
        "properties": {
          "PageSetup": {
            "type""object",
            "properties": {
              "Header": {
                "type""object",
                "properties": {
                  "@Margin": {
                    "type""string"
                  }
                }
              },
              "Footer": {
                "type""object",
                "properties": {
                  "@Margin": {
                    "type""string"
                  }
                }
              },
              "PageMargins": {
                "type""object",
                "properties": {
                  "@Bottom": {
                    "type""string"
                  },
                  "@Left": {
                    "type""string"
                  },
                  "@Right": {
                    "type""string"
                  },
                  "@Top": {
                    "type""string"
                  }
                }
              }
            }
          },
          "Unsynced": {},
          "Selected": {},
          "Panes": {
            "type""object",
            "properties": {
              "Pane": {
                "type""object",
                "properties": {
                  "Number": {
                    "type""string"
                  },
                  "ActiveRow": {
                    "type""string"
                  },
                  "ActiveCol": {
                    "type""string"
                  }
                }
              }
            }
          },
          "ProtectObjects": {
            "type""string"
          },
          "ProtectScenarios": {
            "type""string"
          },
          "@xmlns": {
            "type""string"
          }
        }
      },
      "@ss:Name": {
        "type""string"
      }
    },
    "required": [
      "@ss:Name",
      "ss:Table",
      "WorksheetOptions"
    ]
  }
}
Categories:
I have the same question (0)
  • v-yueyun-msft Profile Picture
    Microsoft Employee on at

    Hi , @BlackBeardrr 

    According to your screenshot , the error code means that you pass the Object but your Parser json action need an Array type data.

     

    If you pass the "outputs('Compose')" in the input of your Parse Json action, you need to use the whole output of the "Compose" action in your "Generate from sample".

     

    vyueyunmsft_0-1719881750353.png

    If this doesn't help you solve the problem, you can give me the output of your Compose action.

     

    If this reply can help you , you can click mark this reply as solution (Accept solution) which can help more people, thanks in advance! 

     

    Best Regards,

    Yueyun Zhang

     

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!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 62 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 58

#3
Expiscornovus Profile Picture

Expiscornovus 39 Most Valuable Professional

Last 30 days Overall leaderboard