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 Platform Community / Forums / Power Automate / Javascript Error in Ap...
Power Automate
Unanswered

Javascript Error in Approval Center prevents progress (Gov cloud)

(0) ShareShare
ReportReport
Posted on by

Expected Behavior: When selecting a request for approval, you click the request and vertical sidepane opens giving you the option to add a comment, make a selection, and confirm the request. That sidepane will close, the pending request will disappear from your "received" list, and you can proceed to the next.

 

Actual Behavior: The request successfully confirms; however, a javascript error occurs and the user can no longer click on the next item in their Received list. It requires a page refresh to clear the error. This will occur after each confirmation.

 

Details:

  1. The file is served from a gov cloud CDN, so this issue may not occur on the public cloud version.
    1. https://psuxgov.azureedge.net/Content/retail/app.###.js
  2. The issue occurs on line 7956 of the app.###.js file
    1. Error is Cannot read property 'properties' of null
  3. This issue occurs when using Approve/Reject and Custom Responses
  4. This issue occurs when using "Create an Approval (V2)" and "Create and Wait for an Approval (V2)" connectors
  5. This issue occurs in multiple browsers (I've tested Chrome, Edge, Chromium Edge, and Firefox)
  6. It is not intermittent - it occurs every time.

More Details:

I have attempted to troubleshoot the issue (a little) to see if I could work around it. The code is gathering all of the available options for a specific request. This code works when the page is loaded and when the sidepane/confirm box is made available; however, once the request is confirmed, it is no longer a request. This code is attempting to get the options for a complete (null) request, thus the issue above.

 

The only 'fix' is for the user to refresh the page after each confirmation. This could be livable for a technical user and a sparse number of requests, but I cannot open this up to hundreds of requests and non-technical users and ask them to refresh after each one.

 

If there is something else I could be doing to resolve this, please let me know. Thanks 🙂  

 

Categories:

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

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 377

#2
11manish Profile Picture

11manish 302 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 130

Last 30 days Overall leaderboard