Skip to main content
Community site session details

Community site session details

Session Id : xo9sd6qmdUfCyogZhL80PK
Power Automate - Building Flows
Unanswered

Invalid type. Expected String but got Null.

Like (0) ShareShare
ReportReport
Posted on 18 Jan 2021 08:20:03 by 6

Getting a "Invalid type. Expected String but got Null." 
I need to get the url, the exact same parameter that fails. ðŸ˜ª

 

I cant figure out why, 
Its just a simple MS graph query. It does work for other queries, but this one fails somehow. 

 

Any help would be appreceated.

 


The body output from the query: 

{
  "value": [
    {
      "@odata.type""#microsoft.graph.iosVppApp",
      "id""598ac1bc-xxxxx",
      "displayName""6000 Words xxxxx",
      "informationUrl""https://apps.apple.com/no/app/xxxxx"
    },
    {
      "@odata.type""#microsoft.graph.iosVppApp",
      "id""c06003e4-XXXXX",
      "displayName""6000 Words -XXXXX",
      "informationUrl""https://apps.apple.com/no/app/XXXXXX"
    }
]
}


Here are the schema:

{
    "type""object",
    "properties": {
        "@@odata.context": {
            "type""string"
        },
        "@@odata.count": {
            "type""integer"
        },
        "value": {
            "type""array",
            "items": {
                "type""object",
                "properties": {
                    "@@odata.type": {
                        "type""string"
                    },
                    "id": {
                        "type""string"
                    },
                    "displayName": {
                        "type""string"
                    },
                    "informationUrl": {
                        "type""string"
                    }
                },
                "required": [
                    "@@odata.type",
                    "id",
                    "displayName",
                    "informationUrl"
                ]
            }
        }
    }
}
  • Paulie78 Profile Picture
    8,416 Moderator on 18 Jan 2021 at 08:26:48
    Re: Invalid type. Expected String but got Null.

    It works fine when executing using those values in flow manually (though I had to replace the @ symbols in the output body with double @ symbols).

    At what point does it fail?

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2

Loading complete