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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / When I Play my App, I ...
Power Apps
Unanswered

When I Play my App, I am getting a red error message 'The data returned in the response is invalid.' How do I get rid of this?

(0) ShareShare
ReportReport
Posted on by 894

When I Play my App (as opposed to running it in the PowerApps studio) I get this red error message appear. I would expect this dataset to be empty from time to time. It is not an error. The message is disconcerting to me & would be even more so to our users:

 

Red message.PNG

 

How do I suppress this?

 

I have tried wrapping the whole thing in an IsEmpty statement, like this, to no effect. The message still persists:

 

If(!IsEmpty(UnpostedStockCountsUnits.Run(SelectedBItem.stCode)),ClearCollect(UnpostedCounts,UnpostedStockCountsUnits.Run(SelectedBItem.stCode)))

Categories:
  • v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @stapes ,

    Could you please share a bit more about your scenario?

    Do you call a Power Automate flow (MS Flow) from your canvas app?

     

    Based on the error message that you mentioned, it seems to tell that there is something with the returned data within the flow response. Could you please share a screenshot about your flow's configuration?

     

    Please check if you have specified proper response within your flow's configuration. Based on the formula you provided, I could not find any syntax error with it.

     

    If you want to return a table value back to your canvas app from your flow, please check and see if the following blog would help in your scenario:

    https://powerapps.microsoft.com/en-us/blog/return-an-array-from-flow-to-powerapps-response-method/

     

    Best regards,

  • stapes Profile Picture
    894 on at

    Thanks @v-xida-msft

     

    I am calling a flow from a my app - which is a Canvas App:

     

    ClearCollect(PhotoImages, CollectPhotosForStCode.Run(SelectedRow.stCode.Text));

     

    There is no data in this particular dataset, but that is not an error. No photos have been added yet.

     

    The response coming back from the Flow run (found in the flow run history) is Status 200:

     

    status-200.PNG

     

  • stapes Profile Picture
    894 on at

    Any suggestions on how to get rid of this unwanted error message? None have been forthcoming so far.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 220 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 194 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 150

Last 30 days Overall leaderboard