diff --git a/docs/platforms/javascript/guides/astro/index.mdx b/docs/platforms/javascript/guides/astro/index.mdx
index 197d12e58b072..720ac87618725 100644
--- a/docs/platforms/javascript/guides/astro/index.mdx
+++ b/docs/platforms/javascript/guides/astro/index.mdx
@@ -253,6 +253,12 @@ To verify that Sentry captures errors and creates issues in your Sentry project,
```html {filename: test.astro}
-
-
+
+
```
Then also create the route we're calling in our test page, like `src/pages/api/test-error.(js|ts)`:
@@ -288,6 +294,10 @@ To test tracing, create a custom span to measure the time it takes for the API r
-