cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
donsvensen
Level: Powered On

Unable to get response from flow into a colleciton

Hi 

 

I am having difficulties getting a flow response returned to my App.

 

My Result in the flow is from a http get request - and the body is like this

 

[
  {
"personGroupId": "070ceaf6-3cc7-4940-afcb-b0950551b347",
    "name": "erik Svensen",
    "userData": "default"
  },
  {
    "personGroupId": "af0b6d0e-ec87-4a87-9e39-4cb9a3def88e",
    "name": "Søren Faurum",
    "userData": "default"
  }
]

 

 

and I construct the Response Body JSON Schema like this

 

{
    "type": "array",
    "items": {
"properties": {
            "personGroupId": {
"type": "string"
            },
            "name": {
                "type": "string"
            },
            "userData": {
                "type": "string"
            }
        },
        "type": "object",
        "required": [
            "personGroupId",
            "name",
            "userData"
        ]
    }
}
 
When then add this to a collection using this formula
 
ClearCollect(pg, GetFaceAPIPersonGroups.Run())
 
I get a very strange collection returned
 
response.png

 

Any idea of what is going on ?

 

Best Regards 

Erik Svensen

 

1 ACCEPTED SOLUTION

Accepted Solutions
donsvensen
Level: Powered On

Re: Unable to get response from flow into a colleciton

Hi again,

 

Found the solution.

 

After removing the datasource and adding it again - the app was able to understand the response as a table.

 

 

/Erik

View solution in original post

1 REPLY 1
donsvensen
Level: Powered On

Re: Unable to get response from flow into a colleciton

Hi again,

 

Found the solution.

 

After removing the datasource and adding it again - the app was able to understand the response as a table.

 

 

/Erik

View solution in original post

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

New Badges

Check it out!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors
Users online (4,937)