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 / The 'from' property va...
Power Automate
Unanswered

The 'from' property value in the 'select' action inputs is of type 'String'. The value must be an array.

(0) ShareShare
ReportReport
Posted on by 294

Using a 'Transform data using Power Query' to get and manipulate data from SQL. I then run 'Parse JSON'. That all works, but it appears the data format coming out of the Parse JSON is not what the next step ('Select') requires, as I am getting:

 

The 'from' property value in the 'select' action inputs is of type 'String'. The value must be an array.

 

This is happening in the 'Select' action.

 

The Parse JSON Schema is:

 
  "type""object",
  "properties": {
    "resultType": {
      "type""string"
    },
    "value": {
      "type""array",
      "items": {
        "type""object",
        "properties": {
          "FULLNAME": {
            "type""string"
          },
          "Transaction Date": {
            "type": [
              "string",
              "null"
            ]
          },
          "Client": {
            "type""string"
          },
          "Project": {
            "type""string"
          },
          "Phase": {
            "type""string"
          },
          "Description": {
            "type""string"
          },
          "Hours": {
            "type""number"
          },
          "Amount to Pay": {
            "type""number"
          }
        }
      }
    },
    "evaluationUsage": {}
  }
}
 
The Body of the Parse JSON is:
 
dBrand_0-1633731081247.png

The Select action returns:

 

dBrand_1-1633731187774.png

 

Not sure how to correct. Any help would be greatly appreciated. Thanks!

 

Categories:
I have the same question (0)
  • Verified answer
    Pstork1 Profile Picture
    68,697 Most Valuable Professional on at

    I suspect you are setting the From to Body.  You should also have access to Value in the dynamic content.  Value is the array, Body is an object that has the array as a property.

  • David Brandman Profile Picture
    294 on at

    That did it! Thanks SOOOO much! Brilliant.

  • Community Power Platform Member Profile Picture
    on at

    Hello @Pstork1 ! maybe you can help me with my code as I suspect it is happening something similar. The message that appears in my case is:

    The 'from' property value in the 'select' action inputs is of type 'Null'. The value must be an array.

     

    And this is my code:

    ACTION 1

    {
        "kind""ApiConnection",
        "splitOn""@triggerBody()['rows']",
        "inputs": {
            "schema": {
                "type""object",
                "properties": {
                    "rows": {
                        "type""array",
                        "items": {
                            "type""object",
                            "properties": {
                                "entity": {
                                    "type""object",
                                    "properties": {
                                        "Power BI values": {
                                            "title""Tabla de Power BI",
                                            "type""array",
                                            "items": {
                                                "type""object",
                                                "properties": {
                                                    "LOGIN": {
                                                        "title""Tabla de Power BI LOGIN",
                                                        "type""string"
                                                    }
                                                },
                                                "required": []
                                            }
                                        }
                                    },
                                    "required": [
                                        "Power BI values"
                                    ]
                                }
                            },
                            "required": [
                                "entity"
                            ]
                        }
                    }
                },
                "required": [
                    "rows"
                ]
            },
            "host": {
                "connection": {
                    "name""@parameters('$connections')['shared_powerbi']['connectionId']"
                }
            },
            "operationId""PowerBiButtonClicked",
            "parameters": {
                "inputsPowerBiData""{}",
                "pbi_source""powerAutomate"
            }
        },
        "metadata": {
            "operationMetadataId""cd9e23f6-6b1c-4a37-ac2a-452498873285"
        }
    }
     
     
    ACTION 2 (IT IS THE ONE FAILING):
    {
        "inputs": {
            "from""@triggerBody()?['entity']?['Power BI values']",
            "select": {
                "AA""@item()?['LOGIN']"
            }
        },
        "metadata": {
            "operationMetadataId""e99b8e2c-9c66-4016-b089-10401875672f"
        }
    }
     
    Thank you so much for your help!!
  • Pstork1 Profile Picture
    68,697 Most Valuable Professional on at

    Please post this as a new question.  You'll get more responses and other people will be able to find the answer if they have similar questions.  After re-posting send me a link and I'll take a look and try to help.

  • sachk1 Profile Picture
    258 on at

    I have face the same issue.

    whats the mistake done?

     

    @Pstork1 

     

    sachk1_0-1659072646332.png

     

    sachk1_1-1659072681071.png

     

  • mguzmanBSC_2023 Profile Picture
    27 on at

    Hi @Pstork1 ,

     

    Per @sachk1 response, I'm getting the same error. 

    The 'from' property value in the 'select' action inputs is of type 'Null'. The value must be an array.

     

    I'm trying to retrieve comments with @mentions to display name, comment and date from this article.  Here is my flow.   What step am I missing?

     

    snapshot1.pngsnapshot2.pngsnapshot3.pngsnapshot4.pngsnapshot5.png

     I appreciate any assistance.

     

    Thanks!

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

    It looks to me like the error occurs if you hit an item with no comments (null). In that case you have to test for that scenario and do something different if there are no comments.

  • MD10239 Profile Picture
    2 on at

    its not clear ca you please elaborate

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

    Please post this as a new question.  You'll get more responses and others will be able to find the answer more easily later.

  • Mikegrc1970 Profile Picture
    2 on at

    Hi I'm having the same error, Im new using this app

    this what i get

    Mikegrc1970_3-1711051622390.png

     

     

    {
      "Row": [
        {
          "UPC": "008811015055",
          "UPC.urlencoded": "%3B%23008811015055%3B%23",
          "UPC.singleurlencoded": "008811015055",
          "UPC.COUNT.group": "2",
          "UPC.newgroup": "1",
          "UPC.groupindex": "1_",
          "QtyOredered.SUM": "11",
          "QtyOredered.SUM.agg": "7"
        },
        {
          "UPC": "008811015056",
          "UPC.urlencoded": "%3B%23008811015056%3B%23",
          "UPC.singleurlencoded": "008811015056",
          "UPC.COUNT.group": "1",
          "UPC.newgroup": "1",
          "UPC.groupindex": "2_",
          "QtyOredered.SUM": "11",
          "QtyOredered.SUM.agg": "4"
        }
      ],
      "FirstRow": 1,
      "FolderPermissions": "0x7ffffffffffbffff",
      "LastRow": 2,
      "RowLimit": 30,
      "FilterLink": "?",
      "ForceNoHierarchy": "1",
      "HierarchyHasIndention": "",
      "CurrentFolderPrincipalCount": "0",
      "CurrentFolderSpItemUrl": ""
    }

     

     

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