cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

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

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!

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Anonymous
Not applicable

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

Hi @TopShelf-MSFT  @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). 

 

 

View solution in original post

3 REPLIES 3
Highlighted
Community Support
Community Support

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

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

Highlighted
Community Champion
Community Champion

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

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

 

Thank you,

 

@TopShelf-MSFT 

Highlighted
Anonymous
Not applicable

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

Hi @TopShelf-MSFT  @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). 

 

 

View solution in original post

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,463)