Title: Shopify Hydrogen Server Instrumentation Error · Issue #15612 · getsentry/sentry-javascript · GitHub
Open Graph Title: Shopify Hydrogen Server Instrumentation Error · Issue #15612 · getsentry/sentry-javascript
X Title: Shopify Hydrogen Server Instrumentation Error · Issue #15612 · getsentry/sentry-javascript
Description: Environment SaaS (https://sentry.io/) Steps to Reproduce I've followed this guide to set up Sentry for Shopify Hydrogen: https://docs.sentry.io/platforms/javascript/guides/remix/frameworks/hydrogen/ Specifically, instrumenting the server...
Open Graph Description: Environment SaaS (https://sentry.io/) Steps to Reproduce I've followed this guide to set up Sentry for Shopify Hydrogen: https://docs.sentry.io/platforms/javascript/guides/remix/frameworks/hydrogen...
X Description: Environment SaaS (https://sentry.io/) Steps to Reproduce I've followed this guide to set up Sentry for Shopify Hydrogen: https://docs.sentry.io/platforms/javascript/guides/remix/frameworks/hydr...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/15612
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Shopify Hydrogen Server Instrumentation Error","articleBody":"### Environment\n\nSaaS (https://sentry.io/)\n\n### Steps to Reproduce\n\nI've followed this guide to set up Sentry for Shopify Hydrogen:\nhttps://docs.sentry.io/platforms/javascript/guides/remix/frameworks/hydrogen/\n\nSpecifically, instrumenting the server build \n\nconst instrumentedBuild = instrumentBuild(remixBuild)\n\ncauses an error in my server build. When I make a request to any of my server actions, I get the error\n\nTypeError: Cannot read properties of undefined (reading 'sendDefaultPii')\n at /Users/.../fp_storefront_hydrogen/node_modules/@sentry/remix/build/esm/server/errors.js:132:21\n\nI've confirmed that it's specifically this step of instrumenting the server build that causes the problem, as when I comment it out and make requests to my server actions, it works fine.\n\n\n### Expected Result\n\nNo errors upon making requests to server actions after instrumenting the server build.\n\n### Actual Result\n\nTypeError: Cannot read properties of undefined (reading 'sendDefaultPii')\n at /Users/.../fp_storefront_hydrogen/node_modules/@sentry/remix/build/esm/server/errors.js:132:21\n\n### Product Area\n\nUnknown\n\n### Link\n\n_No response_\n\n### DSN\n\n_No response_\n\n### Version\n\n_No response_","author":{"url":"https://github.com/allenjiang17","@type":"Person","name":"allenjiang17"},"datePublished":"2025-03-06T14:56:27Z","url":"https://github.com/getsentry/sentry-javascript/issues/15612"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:be43a391-f1cd-b89b-99ce-ac24f41993ac |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8E90:2B0ADD:3C123A:52C240:6B044FDA |
| html-safe-nonce | 55ac21128a5660e45d12f5b64c2b2b99d7e931db225cd15ab8a626d47a91fa2b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RTkwOjJCMEFERDozQzEyM0E6NTJDMjQwOjZCMDQ0RkRBIiwidmlzaXRvcl9pZCI6IjE2NDM4MjkyODkwMTMyMzU2NzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 29e8f9f10d30407d263ef92f863d790bbaacd788aab10759ae045c0b4c971b1f |
| hovercard-subject-tag | issue:2901029430 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/15612/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3479b788e68e67ce41283edfb4732cdc83569ff7122e651e0dd16685db385fde/getsentry/sentry-javascript/issues/15612 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3479b788e68e67ce41283edfb4732cdc83569ff7122e651e0dd16685db385fde/getsentry/sentry-javascript/issues/15612 |
| og:image:alt | Environment SaaS (https://sentry.io/) Steps to Reproduce I've followed this guide to set up Sentry for Shopify Hydrogen: https://docs.sentry.io/platforms/javascript/guides/remix/frameworks/hydrogen... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | allenjiang17 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 002aa6b95ffa730b0aec436a5c383f536ad677284e60056037fb120afe37b730 |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 059f24c781e3a0d7df3f27a97da0e93fab06ae39 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width