web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Apps
Answered

Run Time Error

(0) ShareShare
ReportReport
Posted on by 28

When clicking the approve button in my app I am getting the below error.

My code on the button for "on select" is 
Patch('LY General Imprest (Test)',
varRecord,
{
Status:
{
Value: "Approved - Supervisor",
'@odata.type': "Microsoft.Azure.Connectors.Sharepoint.SPListExpandedReference"},'Approval Comments':TxtComments.Text
}
);
Office365Outlook.SendEmailV2(varRecord.'Created By'.Email, "Approved by your Supervisor","Your request of " & varRecord.Subject & " has been approved. The comments were: <br>" & TxtComments.Text);

What could be the problem?

Screenshot (1).png

Categories:
I have the same question (0)
  • Verified answer
    cha_cha Profile Picture
    4,932 Moderator on at

    Hello @NyarOtieno ,

     

    cha_cha_0-1687340907395.png

     

    Also just do a quick browser cache refresh and browser closing/opening. This is just to ensure that we rule out the possibility that it might some cache issues.

     

  • NyarOtieno Profile Picture
    28 on at

    Hi Cha_cha,

    Thank you. I have refreshed my browser cache and it is working

  • NyarOtieno Profile Picture
    28 on at

    Hi,

    I am getting the same error once again. I have refreshed my browser cache but it's not working

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 329 Most Valuable Professional

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 179

Last 30 days Overall leaderboard