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 / Parse JSON Error Message
Power Automate
Unanswered

Parse JSON Error Message

(1) ShareShare
ReportReport
Posted on by
Hi All,
I have a flow which is trigged by entering information into the Forms and looks for approval to the right window. The error message show as picture 1. Comparing with another flow that can be used successfully, I found that there is an extra string here.
 
My current flow is as follows. I'm not sure if the yellow background part in the second picture is missing, and how can I confirm the string after "body/"?
It will be appreciated if someone could tell me how to change my code.
{
  "type": "ParseJson",
  "inputs": {
    "content": "@triggerOutputs()?['body/resourceData']",
    "schema": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "link": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "type": {},
          "size": {
            "type": "integer"
          },
          "referenceId": {
            "type": "string"
          },
          "driveId": {
            "type": "string"
          },
          "status": {
            "type": "integer"
          },
          "uploadSessionUrl": {}
        },
        "required": [
          "name",
          "link",
          "id",
          "type",
          "size",
          "referenceId",
          "driveId",
          "status",
          "uploadSessionUrl"
        ]
      }
    }
  },
  "runAfter": {
    "Send_an_email_(V2)_1": [
      "Succeeded"
    ]
  },
  "metadata": {
    "operationMetadataId": "fc0540d7-bcf4-4e63-b800-1f66c1cdcf92"
  }
}
 
Categories:
I have the same question (0)
  • David_MA Profile Picture
    12,970 Super User 2025 Season 2 on at
    Looking at the scheme, you have at least two invalid entries. You need to define the values for these two lines:
    1.  "type": {},
    2.  "uploadSessionUrl": {}
    You must have something in the curly braces. For example:
    {
      "type": "ParseJson",
      "inputs": {
        "content": "@triggerOutputs()?['body/resourceData']",
        "schema": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string"
              },
              "link": {
                "type": "string"
              },
              "id": {
                "type": "string"
              },
              "type": {
                "type": "string"
              },
                         "type": "integer"
              },
              "referenceId": {
                "type": "string"
              },
              "driveId": {
                "type": "string"
              },
              "status": {
                "type": "integer"
              },
              "uploadSessionUrl": {
                "type": "string"
              }
            },
            "required": [
              "name",
              "link",
              "id",
              "type",
              "size",
              "referenceId",
              "driveId",
              "status",
              "uploadSessionUrl"
            ]
          }
        }
      },
      "runAfter": {
        "Send_an_email_(V2)_1": [
          "Succeeded"
        ]
      },
      "metadata": {
        "operationMetadataId": "fc0540d7-bcf4-4e63-b800-1f66c1cdcf92"
      }
    }
     
  • stampcoin Profile Picture
    5,058 Super User 2025 Season 2 on at
    You can delete "type", and "uploadSessionUrl" from the schema, and try. 
     
     
     
    If it won't give you error, and you need those two field back, and assign it with "type": "string".
     
  • WL-28040838-0 Profile Picture
    on at
     
    Hi,
    Appreciated for your reply.
    I have assign two field backs with "type": "string". However, the flow still shows error message. Not sure if the red line is problematic.
      
    The first screenshot is my current selection of content in Parse JSON.
    The second screenshot is what I put in the flow before. I found that there is an extra string after the second "body/". I am not sure whether this makes the pervious flow work successfully. And I can't select it directly from the system, but I would like to know how to view this string after "body/".

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

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard