cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
thokin
New Member

Invalid type. Expected String but got Null.

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"
                ]
            }
        }
    }
}
1 REPLY 1
Paulie78
Super User
Super User

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?

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (1,233)