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 III
Super User III

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
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

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.

Users online (3,339)