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 : 2TVTeiYGGQ3tUz0eRlghla
Power Automate - General Discussion
Unanswered

The 'content' property of actions of type 'ParseJson' must be valid JSON. The provided value cannot be parsed: 'Error parsing Infinity value'

Like (0) ShareShare
ReportReport
Posted on 17 Mar 2022 20:38:42 by 2

Trying to understand where the issue is with the JSON on the parse JSON step.  

 

Full Error: The 'content' property of actions of type 'ParseJson' must be valid JSON. The provided value cannot be parsed: 'Error parsing Infinity value. Path '', line 1, position 1.'.

 

JSON response in body:

 

{
  "@odata.context""$metadata#Students(studentID,domainID,orgID,lastName,firstName,notActive,roleID)",
  "@odata.metadataEtag""W/\"705e7fea-6c73-4b97-9aeb-9be57bfa2033\"",
  "value": [
    {
      "studentID""68818",
      "domainID""XXX",
      "orgID""TD1701MC1132",
      "lastName""SMITH",
      "firstName""ABEL",
      "notActive""no",
      "roleID""EMPLOYEE_XXX"
    }
  ]
}
 
The Parse JSON schema is below:
 
{
  "type""object",
  "properties": {
    "value": {
      "type""array",
      "items": {
        "type""object",
        "properties": {
          "studentID": {
            "type""string"
          },
          "domainID": {
            "type""string"
          },
          "orgID": {
            "type""string"
          },
          "lastName": {
            "type""string"
          },
          "firstName": {
            "type""string"
          },
          "notActive": {
            "type""string"
          },
          "roleID": {
            "type""string"
          }
        },
        "required": [
          "studentID",
          "domainID",
          "orgID",
          "lastName",
          "firstName",
          "notActive",
          "roleID"
        ]
      }
    },
    "@odata.context": {
      "type""string"
    },
    "@odata.metadataEtag": {
      "type""string"
    }
  }
}
 
I copied and pasted the JSON to generate the schema and it recognized it.  However, when running the flow, it keeps hanging on this parse JSON step.  What does 'Error parsing Infinity value' mean?
 
Thanks in advance.
Categories:
I have the same question (0)
  • bchea Profile Picture
    2 on 18 Mar 2022 at 14:56:24
    Re: The 'content' property of actions of type 'ParseJson' must be valid JSON. The provided value cannot be parsed: 'Error parsing Infinity value'

    Still getting the same error.  While I did update the schema to add the extra @:

    bchea_1-1647615359119.png

     

    the resulting error still looks like there is only one @:

    bchea_0-1647615294636.png

     

  • Expiscornovus Profile Picture
    32,205 Most Valuable Professional on 18 Mar 2022 at 10:13:22
    Re: The 'content' property of actions of type 'ParseJson' must be valid JSON. The provided value cannot be parsed: 'Error parsing Infinity value'

    Hi @bchea,

     

    I just tried to reproduce this issue.

     

    When I use your payload sample to generate a json schema I am getting the parse json schema below. As you can see it is slightly different because the @ characters are escaped for the data.context & data.metadataEtag properties.

     

    Can you try if this json schema works for your setup?

     

    {
     "type": "object",
     "properties": {
     "@@odata.context": {
     "type": "string"
     },
     "@@odata.metadataEtag": {
     "type": "string"
     },
     "value": {
     "type": "array",
     "items": {
     "type": "object",
     "properties": {
     "studentID": {
     "type": "string"
     },
     "domainID": {
     "type": "string"
     },
     "orgID": {
     "type": "string"
     },
     "lastName": {
     "type": "string"
     },
     "firstName": {
     "type": "string"
     },
     "notActive": {
     "type": "string"
     },
     "roleID": {
     "type": "string"
     }
     },
     "required": [
     "studentID",
     "domainID",
     "orgID",
     "lastName",
     "firstName",
     "notActive",
     "roleID"
     ]
     }
     }
     }
    }

     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2

Loading started