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 / Data source may be inv...
Power Apps
Answered

Data source may be invalid when i want to add a new row from PowerApps to SQl server

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi Guys,

 

I have a problem when i try to add new row from my PowerApps to my SQL Server. This is the error i get when i submit my form: There was a problem saving your changes. The data source may be invalid, when i try to add a new row

 

This is my table from my SQL server.Untitled.png

 

This is my form in my PowerApps

Untitled1.png

 

I don`t know what i am doing wrong? I just noticed  when I manually try to add a new row in my SQL server then there is no problem. 

 

Best regards!

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

    Hi @Anonymous ,

     

    Do you fill all your field which is setting not null in your sql?

    And do you fill all of your primary key in app?

     

    From your screenshots’s shows, MUID: field required? Do you fill it in your app?

    20190219savetosql1.png

    And there are two primary keys in your sql, are they all in your app?

    20190219savetosql2.png

    Please check and fill them and try it again.

     

    Hope this can be hlpful.

    Best Regards.

    Yumia

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @Anonymous I'm sorry you're experiencing this issue. Can you review the above reply and advise if it was helpful? 

     

    Thank you,

     

    @Anonymous 

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

    Hi @Anonymous  @v-yuxima-msft ,

     

    This problem took me too long to fix it. Unfortunately i couln`t fix it so i create a new table in SQL without MUID column. 

     

    If i add a new row in that table then the column MUID will be automaticley inserted (created a new value). 

     

     

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 405 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 368

#3
WarrenBelz Profile Picture

WarrenBelz 244 Most Valuable Professional

Last 30 days Overall leaderboard