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 / CDS error writing data...
Power Apps
Answered

CDS error writing data to entity

(0) ShareShare
ReportReport
Posted on by 71

Hi there

A year ago I created some apps with the default canvas method. One of these apps is named "SimpleLeerkrachten". It holds names and codes for teachers at our school. U can see this in my screenshot named "App Leerkracht.JPG". De app is connected to an (upgraded) CDS entity called "Leerkracht". U can see the fields in my screenshot named "entity Leerkracht.JPG". The app worked perfectly but now we are testing it again to add new teachers to the list. Whenever I click on the + button in the app, I can see and fill in the empty fields (p.e. field "LkrCode") Now when I click on the submit button (= a check mark in my app) I get an error saying  "There is a problem with saving the data. Probably the datasource is invalid." The data is not saved in the entity. The app uses a "Submitform(EditForm1)" when I click the submit. How can I solve this issue? In the past it worked perfectly.

Thx a lot in advance for any suggestion that could lead me to a quick and defintive solution. 

Greetz, Walter

Error app.JPG
entity Leerkracht.JPG
App leerkracht.JPG
Categories:
I have the same question (0)
  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hi @Walter , 

     

    As requested in your other request, can you please share the following details?

     

    Are you able to get the data from the entity? 

     

    Can you please try deleting the old CDS connection and create a new one and try again?

     

     

    Thanks, 

  • v-yuxima-msft Profile Picture
    Microsoft Employee on at

    Hi @Walter 

     

    Are they the same issue?Duplicated post?

    https://powerusers.microsoft.com/t5/Common-Data-Service-for-Apps/Ertror-writing-datacardvalue-to-CDS-entity/m-p/291258#M1822

     

    Best Regards.

    Yumia

  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Please reference solved thread 

     

    https://powerusers.microsoft.com/t5/Common-Data-Service-for-Apps/Ertror-writing-datacardvalue-to-CDS-entity/m-p/291258#M1822 

     

    @Anonymous 

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 429 Most Valuable Professional

#2
11manish Profile Picture

11manish 191 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 122 Super User 2026 Season 2

Last 30 days Overall leaderboard