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 Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (5,405)