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 Apps / AppMetadataFetchFailed...
Power Apps
Unanswered

AppMetadataFetchFailed error when trying to call custom page

(0) ShareShare
ReportReport
Posted on by 26
I have an application that is working in my Dev, QA and production environments, but when I try to get it working in a new environment, I get an error.  The app is model-driven with several custom pages.  I fire these custom pages through a command button that calls Java to pass the record id to the custom page.  I get the following error on all such calls.
 
  • Error Code: AppMetadataFetchFailed
  • Encountered internal server error. The correlation Id is 'e99bfa3e-337e-404c-8f65-10ac8b11b459'.
 
I've tried restoring a backup of an environment that is working fine and also creating a new Sandbox and installing the solution.  I get the same error.  It's been 9 months since I've really tried to delelop with these environments and I'm wondering if a Power Apps update may be causing this in new environments.  I can't find anything helpful on any forums or articles.
 
Todd
Categories:
  • SaiRT14 Profile Picture
    1,992 Super User 2025 Season 1 on at
     
    Pls try the following: 
    • Validate the Custom Page: Open the Power Apps Maker Portal for the affected environment. Navigate to Apps > Locate your Model-Driven App > Edit. Ensure the custom page is listed under Pages.

    • Ensure Proper URL Passing: If you’re using JavaScript to pass the record ID, confirm the syntax matches the expected URL format.

      • Xrm.Navigation.navigateTo({
            pageType: "custom",
            name: "your_custom_page_name",
            entityName: "account",
            recordId: "<record-id>"
        });
         

  • TS-29051325-0 Profile Picture
    26 on at
    Thanks for the reply.  Custom page is part of the model driven app and the java format is exactly as you listed.
     
    This is code that has been working fine, and is still working fine on established environments (Prod, QA, Dev)  I'm only having problems when I try to get it working on new environments.
  • TS-29051325-0 Profile Picture
    26 on at
    I've actually got another button that just does a Formula call to launch Google Maps and it also isn't working in the environments but is working fine in existing environments.
  • TS-29051325-0 Profile Picture
    26 on at
    After doing some more testing, I've now discovered that even adding a new command button that does a simple FX formula (launching maps.google.com) isn't working either.  It appears that all custom commands in my solution are broken in a new environment.  Any ideas?  Thanks.
     
    Todd

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 Apps

#1
11manish Profile Picture

11manish 243 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 190 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard