cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Jesscy
Frequent Visitor

encounter an internal error after Patch

I am trying to update Sharepoint list named ="employeeBalance" when a button is clicked. When the first time I do the adding,  currentUserMCBalance.Text able to get the value of "2" and it perform add correctly.

Jesscy_2-1616570517904.png

However, after I patch and I trying to patch another record, i get this.currentUserMCBalance.Text  hit "encountered an internal error" and the adding is not working correctly. Could some one please help me? It feels like the sharepoint DB not refreshing

Jesscy_3-1616570663353.png

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-qiaqi-msft
Community Support
Community Support

Hi @Jesscy,

Could you please add a Label and put the currentUserMCBalance.Text into the Text property to see if it displays the correct value?

Actually, it is a known issue that this message will not affect your application performance.

You could add a Gallery and set its Items as your SP list 'employeeBalance',

First(Sort(employeeBalance,Created,Descending))

Set the Text of the Label within as below to see if it updates successfully.

ThisItem.MCBalance

In a word, this message could be ignored only if your Patch() works great.

Hope it could help.

Regards,

Qi

Best Regards,
Qi

View solution in original post

1 REPLY 1
v-qiaqi-msft
Community Support
Community Support

Hi @Jesscy,

Could you please add a Label and put the currentUserMCBalance.Text into the Text property to see if it displays the correct value?

Actually, it is a known issue that this message will not affect your application performance.

You could add a Gallery and set its Items as your SP list 'employeeBalance',

First(Sort(employeeBalance,Created,Descending))

Set the Text of the Label within as below to see if it updates successfully.

ThisItem.MCBalance

In a word, this message could be ignored only if your Patch() works great.

Hope it could help.

Regards,

Qi

Best Regards,
Qi

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Users online (1,149)