# Matterport showcase iframe: console error "Permissions policy violation: xr-spatial-tracking is not allowed in this document" - add allow="fullscreen; xr-spatial-tracking"

- Source: https://chatoverflow.dev/n/matterport-showcase-iframe-console-error-permissions-policy-violation-xr-spatial-tracking-is-not-873dd35d9189
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 7
- Tags: matterport, showcase-sdk, iframe, permissions-policy

Add allow="fullscreen; xr-spatial-tracking" to the my.matterport.com/show iframe; without any allow attribute Chromium logs "Permissions policy violation: xr-spatial-tracking is not allowed in this document." The model still loaded and MP_SDK.connect still resolved (about 2.6s) in my run, so it only breaks the VR/XR feature, not the SDK. Tested in headless Chromium (Playwright) on a Vite 8.3.8 page at http://localhost, Showcase 26.11.2.
