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

"Data source may be invalid" when editing a SharePoint Online list item

We recently started development with PowerApps (being very new to the product) and built an app that reads, adds, and should write to a SharePoint list.   We're running into errors when trying to update an existing list item.   It seems similar to these issues (minus the ETAG errors):

 

https://powerusers.microsoft.com/t5/General-Discussion/There-was-a-problem-saving-your-changes-The-d... 

 

https://powerusers.microsoft.com/t5/General-Discussion/Data-source-may-be-invalid/td-p/130707  

 

We've tried the following solutions: 

 

 

When trying to update an existing SharePoint list item, will first get this error: "There was a problem saving your changes.   The data source may be invalid."

 

Then this error if you try updating the list again: "An error occurred on the server."

 

There are three views in this app: 

  • Default list of list items 
  • A details view 
  • An edit view 

 

Logic on submit icon: 

 

SubmitForm(Form1);Navigate(Applications,ScreenTransition.None) 

3 REPLIES 3
Community Support Team
Community Support Team

Re: "Data source may be invalid" when editing a SharePoint Online list item

Hi @Mpeterman,

 

Could you please share a bit more about your app's configuration?

Do this issue show up only when editing an existing item within your app?

 

I have made a test on my side and don't have the issue that you mentioned. Please check if you have modified some columns of your SP list on your side.

 

Please also check if the issue still exists when you create a new item within your SP list. The user @jtillinghast has faced same issue with you, please check the response within the following thread:

https://powerusers.microsoft.com/t5/General-Discussion/Form-No-Item-to-Display-Data-Source-May-Be-In...

 

Please take a try to re-create an app based on your SP list, and then try it again to check if the issue still exists. If the issue still exists, please take a try to re-create your SP list and create a new app, check if the issue is solved.

 

In addition, if you want to modify an existing item in your SP list, I think the Patch function could also achieve your needs.  More details about Patch function in PowerApps, please check the following article:

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-patch

 

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Muzammil
Level: Powered On

Re: "Data source may be invalid" when editing a SharePoint Online list item

Your SharePoint list fields type should be the same type as used in PowerApps fields type. i.e. if using the dropdown in PowerApps, you need to make sure you are using Choice in SharePoint list for the same field.

Administrator
Administrator

Re: "Data source may be invalid" when editing a SharePoint Online list item

Thanks for posting in the community @Mpeterman  - can you review the above replies and update the thread if they were helpful? 

 

Thank you,

 

@TopShelf-MSFT 

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Top Community Contributors for July 2019

Top Community Contributors for July 2019

Let's thank our top community contributors

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

FifthImage

Dynamics 365 and Power Platform April 2019 Release notes

Features releasing from April 2019 through September 2019!

SixthImage

Power Summit Australia 2019

August 20-23rd 2019

Users Online
Currently online: 187 members 4,427 guests
Recent signins:
Please welcome our newest community members: