cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Regular Visitor

Unable to insert or update data in Azure SQL Dw from Power App. Getting an error An error occurred on the server. Server Response: failed: BadGateway

Hi Friends,

 

Could you please help me with this. Urgent.

 

Thanks in advance.

5 REPLIES 5
Highlighted
Super User III
Super User III

Re: Unable to insert or update data in Azure SQL Dw from Power App. Getting an error An error occurred on the server. Server Response: failed: BadGateway

Are you using Patch function if so what is the code or SubmitForm. Also can you show a screenshot of the Table

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Highlighted
Regular Visitor

Re: Unable to insert or update data in Azure SQL Dw from Power App. Getting an error An error occurred on the server. Server Response: failed: BadGateway

Thanks for ur response @eka24 

 

I am using SubmitForm Function.

 

Table is Simple with column

CID CustomerName Comment

 

I am trying to update the columns or insert new data.

Highlighted
Super User III
Super User III

Re: Unable to insert or update data in Azure SQL Dw from Power App. Getting an error An error occurred on the server. Server Response: failed: BadGateway

Most likely you don't have a Primary key in the table. If so create that and see how it goes

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Highlighted
Regular Visitor

Re: Unable to insert or update data in Azure SQL Dw from Power App. Getting an error An error occurred on the server. Server Response: failed: BadGateway

I have the primary key.

hemanththota_0-1596529581423.png

 

Correct me if i am wrong @eka24 

Highlighted
Super User III
Super User III

Re: Unable to insert or update data in Azure SQL Dw from Power App. Getting an error An error occurred on the server. Server Response: failed: BadGateway

Instead, show a screenshot of the Table in the database. If you are not sure follow

This Link to add a column;

https://www.w3schools.com/sql/sql_primarykey.ASP

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (6,776)