Power Pages Liquid and portal errors
By Emil Björk · Microsoft business apps consultant, Gothenburg
The Power Pages errors makers hit most — Liquid syntax and permission errors, form submission failures, and the ones that only show up in production.
On this page (5)
Power Pages sites are Dataverse-backed and templated with Liquid, Shopify's templating language, so most errors either come from Liquid syntax and object references, or from the table permission and web role model that decides what an anonymous or signed-in visitor can actually see and do against Dataverse.
"Liquid error: Unknown tag" / "Liquid syntax error"
Symptom. A page renders a raw error message instead of the intended content, visible to whoever is viewing the page (or hidden from anonymous visitors, depending on site settings).
Cause. A Liquid tag is misspelled, uses a construct Power Pages' Liquid implementation doesn't support (it's a subset, not the full Shopify Liquid feature set), or references a variable that was renamed or removed elsewhere on the page.
Fix. Check the exact tag name and syntax against Power Pages' supported Liquid reference, and preview the page in the design studio (which surfaces more diagnostic detail than a live site does) while making the fix.
Prevention. Keep complex Liquid logic in as few, well-tested templates as possible rather than duplicating similar logic across many pages — a syntax mistake in one shared template is one fix, while the same mistake copy-pasted across a dozen pages is a dozen fixes found one at a time as visitors report them.
"You do not have permission to access this page" on a page that should be public
Symptom. A page that's meant to be visible to anonymous visitors shows a permission-denied message.
Cause. The page's associated web page access control (a web role restriction) doesn't include an "Anonymous Users" entry, or the site setting controlling anonymous access is misconfigured.
Fix. Check the page's web-role-based access control list and confirm anonymous access is explicitly granted where intended — Power Pages defaults toward restricting access, so a page needs an explicit grant, not just the absence of a restriction.
Prevention. Maintain a simple access matrix (which page, which web roles, anonymous or not) as a design artefact before building pages, so access control is a deliberate decision reviewed at launch rather than discovered through a visitor's bug report.
Form submission fails silently or with "An error has occurred"
Symptom. A visitor submits a Basic Form or an Advanced Form and gets a generic failure instead of the expected confirmation.
Cause. Most commonly a table permission gap (the web role can see the form but lacks Create or Write permission on the underlying table), a required field validation failure the form isn't surfacing clearly, or a business rule or plug-in on the Dataverse side rejecting the write for a reason the portal doesn't translate into a friendly message.
Fix. Reproduce the submission as a test user with the same web role, check the browser's network tab for the actual API response, and check Dataverse-side plug-in trace logs (via XrmToolBox's Plugin Trace Viewer) if a plug-in is involved in the rejection.
Prevention. Test every form against a test account holding exactly the web roles a real visitor would have — testing as a system administrator hides every table-permission gap a real visitor will hit.
Styling or JavaScript changes not appearing after publish
Symptom. A change to a web template, CSS, or a portal's custom JavaScript doesn't show up on the live site even after a clear browser cache.
Cause. Power Pages caches content aggressively for performance; a change needs to actually publish (not just save) and the site's content delivery cache needs to expire or be explicitly cleared.
Fix. Use the "Clear Cache" action available from the Power Pages management app or design studio after publishing, rather than assuming a save alone propagates immediately.
Prevention. Build a habit of publish-then-clear-cache-then-verify as one deliberate sequence for content changes, especially before a scheduled go-live, so a caching lag isn't mistaken for a failed deployment at the worst moment.
Where to go next
Table permission design specifically is covered in Power Pages security in depth; the templating side in Power Pages Liquid templating. For the portal's relationship to Dataverse search, see Power Pages with Dataverse search.
Frequently asked questions
Why does a Liquid error only show a generic message to site visitors?
- Power Pages deliberately hides detailed Liquid error messages from anonymous or authenticated site visitors for security reasons — the diagnostic detail is only visible to a site administrator through the portal's own error logging or by reproducing the issue in the Power Pages design studio.
Is a table permission error the same as a web role error?
- No — a web role controls which portal pages and site content a visitor's role can see, while a table permission controls which Dataverse rows that same visitor can read, create, or edit through the portal. Both need to be right; a visitor can pass the web-role check and still be denied at the table-permission layer, which is the more common source of confusing "I can see the page but not the data" reports.
Related guides
- Power Apps model-driven form errorsWhy a Dataverse model-driven form won't save, a business process flow gets stuck, or a form control shows the wrong data — decoded.
- Power Automate Desktop RPA errorsWhy a Power Automate Desktop flow can't find a UI element, a machine shows as offline, or an unattended run fails silently — decoded.
- Power Platform throttling and 429 errorsWhy Power Automate, Dataverse, or a connector starts returning 429 Too Many Requests — API limits decoded, and how to design around them.
- Power Apps canvas app errors explainedThe canvas app errors makers hit most — delegation warnings, 'The specified column does not exist', Patch type errors, network error when using Patch.
- Copilot Studio publishing and channel errorsWhy a Copilot Studio agent won't publish, a topic won't trigger, or a channel (Teams, a website) shows the wrong or no response — decoded.
Browse every guide in Power Platform or just Troubleshooting.
Did this fix it?
Signals which guides land and which need work. No account, no comment box — corrections go through the contact page.
Spot something wrong or want a topic covered? Send a correction or a topic request — both are welcome.