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 Automate
Unanswered

Parse JSON error

(0) ShareShare
ReportReport
Posted on by

I'm following this blog post to create a SharePoint group then assign permissions and users.

My flow fails at step 5 - Parse JSON.

Error message is: Unable to process template language expressions in action 'Parse_JSON_-_Owners' inputs at line '1' and column '16532': 'Required property 'content' expects a value but got null. Path ''.'. Any idea where I could be going wrong with it?

 GroupsFlow.PNG

Categories:
I have the same question (0)
  • Hardesh15 Profile Picture
    7,087 Super User 2024 Season 1 on at

    @Anonymous  when you use sample json which does not handle null value.

    Please go through this post

    https://www.google.com/amp/s/msolenacrm.blog/2020/07/06/power-automate-parse-json-action-with-value-or-null/amp/

    Please 'Thumbs Up' the posts that helped you and 'Mark as Solution' if my post answered your question.

    @Hardesh

  • Pstork1 Profile Picture
    68,697 Most Valuable Professional on at

    Double check that your HTTP request is actually returning data and not a null array.  This error complaining about a null Path usually means there is no data in the Body you are trying to parse.

  • Community Power Platform Member Profile Picture
    on at

    Thanks @Hardesh15 - that's helpful. I might try option 1 as I don't need to generate dynamic content value.
    Could you tell me where I would need to add the null value to this part of the code?:

    "Owner": {
    "type": "object",
    "properties": {
    "__deferred": {
    "type": "object","null"
    "properties": {
    "uri": {
    "type": "string"
    }
    }
    }
    }
    },
    "Users": {
    "type": "object",
    "properties": {
    "__deferred": {
    "type": "object","null"
    "properties": {
    "uri": {
    "type": "string"
    }

  • Community Power Platform Member Profile Picture
    on at

    @Pstork1 Thanks, that was my first thought. However there is data in the Body of the HTTP request:Capture.PNG

  • Hardesh15 Profile Picture
    7,087 Super User 2024 Season 1 on at

    @Anonymous  Run your flow and expand https action copy http action output and put this in parse json sample. Try this  and let me know.

    Please 'Thumbs Up' the posts that helped you and 'Mark as Solution' if my post answered your question.

    @Hardesh

  • Community Power Platform Member Profile Picture
    on at

    Still no luck @Hardesh15 . I identified a property that was coming up as null and tried option 1 and 3 from the post but get the same error. 

    "RequestToJoinLeaveEmailSetting": {}
     
    "RequestToJoinLeaveEmailSetting": {"type": [
                        "number",
                        "null"
                    ]}
     
  • Hardesh15 Profile Picture
    7,087 Super User 2024 Season 1 on at

    @Anonymous As expected. Please use in this way.

    "RequestToJoinLeaveEmailSetting":

    [

    {

    "type": "number"

    },

    {

    "type": "null"
    }

    ]

    Please 'Thumbs Up' the posts that helped you and 'Mark as Solution' if my post answered your question.

    @Hardesh

     

  • Community Power Platform Member Profile Picture
    on at

    Thanks for the suggestion @Hardesh15 but this didn't work on my flow, nor did any other attempts at getting rid of that null value. 

    I do wonder if the issue is with the body of the HTTP request as @Pstork1 suggested, since that is what the error message suggests too. But I can't see how it could be turning up null.

  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @Anonymous 

     

    Check the response status code from the HTTP Post. You might be getting 202. The request has been accepted for processing, but the processing has not been completed.

     

    Thanks

  • Verified answer
    Community Power Platform Member Profile Picture
    on at

    I worked it out finally. In the HTTP request to create the group, I had to add "RequestToJoinLeaveEmailSetting": "true" in the body. 

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

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard