cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
Anonymous
Not applicable

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). 

 

 

View solution in original post

3 REPLIES 3
v-yuxima-msft
Community Support
Community Support

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

Anonymous
Not applicable

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 

Anonymous
Not applicable

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). 

 

 

View solution in original post

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Did you miss the call? Check out the recording here!

Top Solution Authors
Top Kudoed Authors
Users online (24,383)