cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Regular Visitor

"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
Highlighted
Community Support
Community Support

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.
Highlighted
Frequent Visitor

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.

Highlighted
Community Champion
Community Champion

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
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (10,809)