Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

fix(frontend): suppress cross-origin stylesheet security error (#12086)

Ubbe301d7cbadaf6
diff --git a/autogpt_platform/frontend/instrumentation-client.ts b/autogpt_platform/frontend/instrumentation-client.ts
index 86fe015e62..f4af2e8956 100644
--- a/autogpt_platform/frontend/instrumentation-client.ts
+++ b/autogpt_platform/frontend/instrumentation-client.ts
@@ -22,6 +22,11 @@ Sentry.init({
enabled: shouldEnable,
+ // Suppress cross-origin stylesheet errors from Sentry Replay (rrweb)
+ // serializing DOM snapshots with cross-origin stylesheets
+ // (e.g., from browser extensions or CDN-loaded CSS)
+ ignoreErrors: [/Not allowed to access cross-origin stylesheet/],
+
// Add optional integrations for additional features
integrations: [
Sentry.captureConsoleIntegration(),