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 Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,345)