web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Fix invalid expression...
Power Automate
Unanswered

Fix invalid expression(s) for the input parameters of operation parseJson

(0) ShareShare
ReportReport
Posted on by

Dear community, Below json is valid when put into json validation. But when used in parse json is giving an expression error. Can someone suggest correct way to use it?

 

 
{
  {
    "type": "object",
    "properties": {"@@odata.etag": "\"1\"",
  "ItemInternalId": "1",
  "ID": 1,
  "Username": {
    "@odata.type": "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
    "Claims": "i:0#.f|membership|ABC@xyz.com",
    "DisplayName": "ABC",
    "Email": "ABC@xyz.com",
    "Department": null,
    "JobTitle": "Consultant"
  },
  "Username#Claims": "i:0#.f|membership|ABC@xyz.com",
  "DelegateStart": "2023-02-10",
  "DelegateUntil": "2023-02-11",
  "DelegateTo": {
    "@odata.type": "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
    "Claims": "i:0#.f|membership|ABC@xyz.com",
    "DisplayName": "ABC",
    "Email": "ABC@xyz.com",
    "Department": null,
    "JobTitle": "Consultant"
  },
  "DelegateTo#Claims": "i:0#.f|membership|ABC@xyz.com",
  "Modified": "2023-02-10T11:15:04Z",
  "Created": "2023-02-10T11:15:04Z",
  "Author": {
    "@odata.type": "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
    "Claims": "i:0#.f|membership|ABC@xyz.com",
    "DisplayName": "ABC",
    "Email": "ABC@xyz.com",
    "Department": null,
    "JobTitle": "Consultant"
  },
  "Author#Claims": "i:0#.f|membership|ABC@xyz.com",
  "Editor": {
    "@odata.type": "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
    "Claims": "i:0#.f|membership|ABC@xyz.com",
    "DisplayName": "ABC",
    "Email": "ABC@xyz.com",
    "Department": null,
    "JobTitle": "Consultant"
  },
  "Editor#Claims": "i:0#.f|membership|ABC@xyz.com",
  "{Identifier}": "Lists%252fDelegation%252f1_.000",
  "{IsFolder}": false,
  "{Thumbnail}": {
    "Large": null,
    "Medium": null,
    "Small": null
  },
  "{Name}": "",
  "{FilenameWithExtension}": "",
  "{Path}": "Lists/Delegation/",
  "{FullPath}": "Lists/Delegation/1_.000",
  "{HasAttachments}": false,
  "{VersionNumber}": "1.0"}
}
}
Categories:
I have the same question (0)
  • Sundeep_Malik Profile Picture
    6,484 on at
    Re: Fix invalid expression(s) for the input parameters of operation parseJson

    Hey @Vaibhav_k 

     

    Remove the 1st and last curly brackets, that worked for me. 


    {
    "type": "object",
    "properties": {"@@odata.etag": "\"1\"",
    "ItemInternalId": "1",
    "ID": 1,
    "Username": {
    "@odata.type": "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
    "Claims": "i:0#.f|membership|ABC@xyz.com",
    "DisplayName": "ABC",
    "Email": "ABC@xyz.com",
    "Picture": "https://PQR.sharepoint.com/sites/SPTeamPlayGround/_layouts/15/UserPhoto.aspx?Size=L&AccountName=ABC@...",
    "Department": null,
    "JobTitle": "Consultant"
    },
    "Username#Claims": "i:0#.f|membership|ABC@xyz.com",
    "DelegateStart": "2023-02-10",
    "DelegateUntil": "2023-02-11",
    "DelegateTo": {
    "@odata.type": "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
    "Claims": "i:0#.f|membership|ABC@xyz.com",
    "DisplayName": "ABC",
    "Email": "ABC@xyz.com",
    "Picture": "https://PQR.sharepoint.com/sites/SPTeamPlayGround/_layouts/15/UserPhoto.aspx?Size=L&AccountName=ABC@...",
    "Department": null,
    "JobTitle": "Consultant"
    },
    "DelegateTo#Claims": "i:0#.f|membership|ABC@xyz.com",
    "Modified": "2023-02-10T11:15:04Z",
    "Created": "2023-02-10T11:15:04Z",
    "Author": {
    "@odata.type": "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
    "Claims": "i:0#.f|membership|ABC@xyz.com",
    "DisplayName": "ABC",
    "Email": "ABC@xyz.com",
    "Picture": "https://PQR.sharepoint.com/sites/SPTeamPlayGround/_layouts/15/UserPhoto.aspx?Size=L&AccountName=ABC@...",
    "Department": null,
    "JobTitle": "Consultant"
    },
    "Author#Claims": "i:0#.f|membership|ABC@xyz.com",
    "Editor": {
    "@odata.type": "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
    "Claims": "i:0#.f|membership|ABC@xyz.com",
    "DisplayName": "ABC",
    "Email": "ABC@xyz.com",
    "Picture": "https://PQR.sharepoint.com/sites/SPTeamPlayGround/_layouts/15/UserPhoto.aspx?Size=L&AccountName=ABC@...",
    "Department": null,
    "JobTitle": "Consultant"
    },
    "Editor#Claims": "i:0#.f|membership|ABC@xyz.com",
    "{Identifier}": "Lists%252fDelegation%252f1_.000",
    "{IsFolder}": false,
    "{Thumbnail}": {
    "Large": null,
    "Medium": null,
    "Small": null
    },
    "{Link}": "https://PQR.sharepoint.com/sites/SPTeamPlayGround/_layouts/15/listform.aspx?PageType=4&ListId=1c0a26...",
    "{Name}": "",
    "{FilenameWithExtension}": "",
    "{Path}": "Lists/Delegation/",
    "{FullPath}": "Lists/Delegation/1_.000",
    "{HasAttachments}": false,
    "{VersionNumber}": "1.0"}
    }

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

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard