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 / Cant read second prope...
Power Automate
Answered

Cant read second property of object

(0) ShareShare
ReportReport
Posted on by 15

Hi everyone, 

 

currently building a flow that needs to grab information from an object, but ive found that JSON PARSE isnt getting information from the second property onward, is there a problem with my JSON?

 

getting more specific, the Parse JSON correctly validates the object, when I change "label" too an integer it fails, but it fails in conditions and when put into compose it input and outputs an empty html page.

 

screenshots are simplified for testing but cause the same error.

 

jelittle_0-1679061448443.png

jelittle_1-1679061771283.png

this is the JSON Schema:

{
    "type""object",
    "properties": {
        "ItestName": {
            "type""object",
            "properties": {
                "id": {
                    "type""integer"
                },
                "label": {
                    "type""string"
                }
            }
        }
    }
}

 

 

Categories:
I have the same question (0)
  • Sundeep_Malik Profile Picture
    6,484 on at

    Hey @jelittle 

     

    Not sure this will fix your problem or not, but in schema you can write the type of label to string and integer both.

    So make this change to your schema:

     

    {
    "type": "object",
    "properties": {
    "ItestName": {
    "type": "object",
    "properties": {
    "id": {
    "type": "integer"
    },
    "label": {
    "type": ["string","integer"]
    }
    }
    }
    }
    }

     

    Hopefully this works 🙂

  • Verified answer
    jelittle Profile Picture
    15 on at

    Hi @Sundeep_Malik,

     

    error turned out to be a simple blindness, I have glasses now, The error in the original schema was an that there was an extra '.' in the "label" string, so it was calling for "label" instead of ".label".

     

    in my test example, "ItestName" should be 'testName", very unlucky on my end that I managed to miss the typo. 

    I would be intrigued to know why the flow was still verifying the schema properly, but wasn't able to use the data.

     

    Thanks for the help either way! 

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
Haque Profile Picture

Haque 67

#2
David_MA Profile Picture

David_MA 64 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 39 Most Valuable Professional

Last 30 days Overall leaderboard