PowerApps stuck on getting your data

In this Power Apps Tutorial, I have explained how to fix Power Apps getting your data issue.

Power Apps getting your data issue comes while I was submitting an item to a SharePoint list, the data was saved successfully to the SharePoint list but while I return to that screen for inserting new data, instead of form it was showing me an error message on the form ‘Getting your data…‘.

Getting your data error Power Apps

Recently, I was working on a Power Apps app that was saving data to a SharePoint Online list from the app. For this, I have prepared an app having 3 screens.

  • Welcome Screen – The Welcome screen or dashboard of the app.
  • Main Screen – This screen contains the form where the user will insert data.
  • Success Screen– Once the form is submitted the user got a success message via this screen.

Initially, I submitted the data to the SharePoint list without any error, but when next time I was trying to save the data to the SharePoint list from the Power Apps app, it was showing the error “Getting your data” and the form disappeared.

You can see below I have a Guest Registration form and when a user was submitting the form the error was showing like below:

Getting your data PowerApps
Getting your data PowerApps

Let us see now how to fix Power Apps stuck on getting your data issue

Also, read: Power Apps Gallery Filter [With Real Examples].

Solution Power Apps getting your data

Here I have created a simple Power Apps canvas app that was saving the data to a SharePoint list name as ‘Guest Registration Form’. If you are new to Power Apps, you can check out, Create a canvas app in PowerApps from a SharePoint list on how to create a Power Apps app.

Just to let you know that here I was using one form (Edit form) for both submitting data and Editing the data.

Here on the button OnSelect, I have written the below formula to save the data to the SharePoint list.

OnSelect = SubmitForm(Form1);

Here Form1 is the name of Power Apps Edit form.

powerapps getting your data error
Power Apps getting your data error

When the user submits the data via the submit button, the form is submitted as well as data got stored in the SharePoint list. But once the data was submitted, instead of a new form, the form got disappear and show an error message.

Refer to the below solutions that how we can overcome it.

Solution-1: PowerApps getting your data issue

On the welcome screen, we can use a ‘Newform’ function. Each time, when the user navigates to the main screen from the welcome screen, it will display a new form where the user can insert the data and submit it to the SharePoint list.

To do this, the following solutions are:

  • Go to the Welcome Screen.
  • Select the Next icon.
  • On the OnSelect property of the icon, set the below functions:
OnSelect = Navigate('Main Screen'); 
           NewForm('Form1')
powerapps remove getting your data
powerapps remove getting your data

Solution-2: Power Apps Getting your data error

There is another solution, to overcome this issue. We can add a ‘Newform‘ function in the button control (i.e. submit button).

Previously, we have used only one function i.e. SubmitForm() to submit the data to the SharePoint list. But, now we will use the below function on the OnSelect property of the button control.

OnSelect = SubmitForm(Form1);
           NewForm(Form1)

Here, once the data got submitted to the SharePoint list, instead of an error message it will show a new form for another insertion on the app screen.

powerapps stuck on getting your data
powerapps stuck on getting your data

Also, on the Form1’s OnSuccess property set the below function:

OnSuccess = Navigate('Success Screen');

It will navigate to the success screen once the form is successfully submitted.

getting your data error powerapps
getting your data error powerapps

The success screen will appear like this:

power apps getting your data
power apps getting your data

Solution-3: Reset the Power Apps Edit Form

There is another easiest solution to getting rid of the error message on your Power Apps app i.e. reset the Power Apps Edit form.

If the user inserts incorrect data, and we want to reset the form before submitting it to the data source, then we can follow this solution.

Here we have used a Reload icon from the icons(under the Insert tab) on the main screen. Go to the Insert tab > Icons > Reload. Place it on the label of the main screen.

getting your data error power apps
getting your data error power apps

On the OnSelect property of this icon, with the below function:

OnSelect = ResetForm(Form1);
Power Apps stucks getting your data
Power Apps stucks getting your data

Solution-4: Getting your data in Power Apps

There is another easiest solution to overcome this error message when working a canvas app on Power Apps. The following steps are:

  • On the main screen(where the form is placed), set the below formula on the ‘OnVisible‘ property.
OnVisible = NewForm(Form1);

Here, Form1 is the edit form name. It will display a new form in each time when the main screen will open.

getting your data error powerapps
getting your data error powerapps
  • Also, in the submit button add the below formula on the ‘OnSelect‘ property to submit the data to the SharePoint list.
getting your data error in powerapps
getting your data error in powerapps

These are the different types of solutions that we can use to overcome this Power Apps getting your data issue.

Power Apps change the “getting your data” message

Power Apps does not allow the user to change the ‘getting your data’ message. It is a built-in message by Power Apps, so we can’t change this. But yes we can overcome from this error message by using the above solutions.

Also, you may like the below Power Apps Tutorials:

Conclusion

From this Power Apps tutorial, we have learned the below topics:

  • How to handle the canvas app that got stuck with an error message?
  • How to overcome the ‘Getting your data’ on Power Apps?
  • Is it possible to change the ‘Getting your data’ message on Power Apps?
  • Hello Bijay, I have learnt many things from your posts. I also got stock at this issue. I have Home Screen with 3 other screens. On the 3 other screens I have filters, a gallery and an edit form. Gallery is filtered. When I was working in Build mode, everything worked correctly, but after publishing Io get the mentioned error. Sometimes using filter do a trick and brings in the edit form. Any tip where to check?

  • It is me again – it seams that there were some issues with the filters
    Filter(OpportunititesAll,
    OpportunityNameSearch.Value in ‘Opportunity Name’
    && AccountNameSearchO.Value in ‘Account Name’.Value //choice field in Sharepoint list
    && (RegionSearchO.Selected.Value=’Opportunity Region’.Value || RegionSearchO.Selected.Value=Blank()) //radio button, datasource is choice field from Sharepoint
    &&(‘Opportunity Owner’=userFilter || userFilter=Blank()) //set variable at the beginning to determin User
    )

  • >