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 / Error: "Invalid type. ...
Power Automate
Unanswered

Error: "Invalid type. Expected Object but got Array."

(1) ShareShare
ReportReport
Posted on by 2
Hello. I'm trying to follow to follow this tutorial (Microsoft OneNote + Power Automate: Automate New Pages WEEKLY! (youtube.com)) but I keep getting a error in the 3 minute mark. 

This is my JSON:
{
"type": "object",
"properties": {
"value": {
"type": "object",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"self": {
"type": "string"
},
"createdTime": {
"type": "string"
},
"name": {
"type": "string"
},
"createdBy": {
"type": "string"
},
"lastModifiedBy": {
"type": "string"
},
"lastModifiedTime": {
"type": "string"
},
"isDefault": {
"type": "boolean"
},
"links": {
"type": "object",
"properties": {
"oneNoteClientUrl": {
"type": "object",
"properties": {
"href": {
"type": "string"
}
}
},
"oneNoteWebUrl": {
"type": "object",
"properties": {
"href": {
"type": "string"
}
}
}
}
},
"pagesUrl": {
"type": "string"
},
"size": {
"type": "integer"
},
"parentNotebook@odata.context": {
"type": "string"
},
"parentNotebook": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"self": {
"type": "string"
}
}
},
"parentSectionGroup@odata.context": {
"type": "string"
}
},
"required": [
"id",
"self",
"createdTime",
"name",
"createdBy",
"lastModifiedBy",
"lastModifiedTime",
"isDefault",
"links",
"pagesUrl",
"size",
"parentNotebook@odata.context",
"parentNotebook",
"parentSectionGroup@odata.context"
]
}
},
"@odata.context": {
"type": "string"
}
}
}

This is my error:

[
{
"message": "Invalid type. Expected Object but got Array.",
"lineNumber": 0,
"linePosition": 0,
"path": "value",
"schemaId": "#/properties/value",
"errorType": "type",
"childErrors": []
}
]
Categories:
I have the same question (0)
  • AnthonyAmador Profile Picture
    2,553 Moderator on at
    Hi, 
     
    Could you try to recreate that part using the Old Designer and check if that fix the issue?
     
    Hope this helps.
    Anthony. 

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

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard