Title: User Feedback: Show better message if submission was rejected due to `allowedDomains` · Issue #9856 · getsentry/sentry-javascript · GitHub
Open Graph Title: User Feedback: Show better message if submission was rejected due to `allowedDomains` · Issue #9856 · getsentry/sentry-javascript
X Title: User Feedback: Show better message if submission was rejected due to `allowedDomains` · Issue #9856 · getsentry/sentry-javascript
Description: Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using the latest SDK release https://github.com/...
Open Graph Description: Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using th...
X Description: Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using th...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/9856
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"User Feedback: Show better message if submission was rejected due to `allowedDomains`","articleBody":"### Is there an existing issue for this?\r\n\r\n- [X] I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues\r\n- [X] I have reviewed the documentation https://docs.sentry.io/\r\n- [X] I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases\r\n\r\n### How do you use Sentry?\r\n\r\nSentry Saas (sentry.io)\r\n\r\n### Which SDK are you using?\r\n\r\n@sentry/nextjs\r\n\r\n### SDK Version\r\n\r\n7.86.0\r\n\r\n### Framework Version\r\n\r\nNext ^14.0.4\r\n\r\n### Link to Sentry event\r\n\r\n_No response_\r\n\r\n### SDK Setup\r\n\r\n```javascript\r\nSentry.init({\r\n dsn: SENTRY_DSN,\r\n environment,\r\n\r\n // Adjust this value in production, or use tracesSampler for greater control, default: 1\r\n tracesSampleRate: 0.1,\r\n\r\n // Setting this option to true will print useful information to the console while you're setting up Sentry.\r\n debug: false,\r\n\r\n replaysOnErrorSampleRate: 1.0,\r\n\r\n // This sets the sample rate to be 10%. You may want this to be 100% while\r\n // in development and sample at a lower rate in production\r\n replaysSessionSampleRate: 0.1,\r\n\r\n // You can remove this option if you're not planning to use the Sentry Session Replay feature:\r\n integrations: [\r\n new Sentry.Replay({\r\n // For additional Replay configuration see https://docs.sentry.io/platforms/javascript/session-replay/configuration/\r\n maskAllText: false,\r\n blockAllMedia: false,\r\n }),\r\n new Sentry.Feedback({\r\n // For additional SDK configuration see https://docs.sentry.io/platforms/javascript/user-feedback/configuration/\r\n colorScheme: 'dark',\r\n showBranding: false,\r\n themeDark: {\r\n background: '#292937',\r\n backgroundHover: '#393949',\r\n inputBackground: '#1e1e28',\r\n inputForeground: '#84849e',\r\n inputOutlineFocus: '#39394d',\r\n submitBackground: '#3e4784',\r\n submitBackgroundHover: '#505ba9',\r\n submitBorder: '#616ec7',\r\n },\r\n }),\r\n ],\r\n})\r\n```\r\n\r\n### Steps to Reproduce\r\n\r\n- Click on \"Report a bug\" button\r\n- Enter any text in any field\r\n\r\n### Expected Result\r\n\r\nFeedback gets sent\r\n\r\n### Actual Result\r\n\r\nError: There was a problem submitting feedback, please wait and try again.\r\n\r\nSadly also nothing in the console that would help me debug. I tested this locally and on a vercel preview deploy.\r\n\r\nI have Early Adopter enabled:\r\n\r\n\r\n\r\n\r\nAnd I do have Vercel previews and localhost in the allowed domains:\r\n\r\n```\r\n*-SITENAME.vercel.app\r\nlocalhost\r\n```","author":{"url":"https://github.com/Stanzilla","@type":"Person","name":"Stanzilla"},"datePublished":"2023-12-14T23:01:04Z","url":"https://github.com/getsentry/sentry-javascript/issues/9856"}
| 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:64f94acf-3fe7-dda4-1c44-c09da67dbee2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ABD8:180D24:1222040:16FA32D:6B0391D5 |
| html-safe-nonce | f46b479100d6cb77049f375eb29b84ddba3e27a4a70a3aa79a3c6862fd9e6d7f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQkQ4OjE4MEQyNDoxMjIyMDQwOjE2RkEzMkQ6NkIwMzkxRDUiLCJ2aXNpdG9yX2lkIjoiMTA2MTkyODM5MzY5MzY5NjQ3MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 826cadd7555da56849a5789519960786967eff0825c6ad2b6f0a6246cd7e14ae |
| hovercard-subject-tag | issue:2042631458 |
| 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/9856/issue_layout |
| twitter:image | https://opengraph.githubassets.com/79f94a5dec60331560fca5a0c9a25dafcc58f1082deff8c65b498311ac7113b4/getsentry/sentry-javascript/issues/9856 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/79f94a5dec60331560fca5a0c9a25dafcc58f1082deff8c65b498311ac7113b4/getsentry/sentry-javascript/issues/9856 |
| og:image:alt | Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Stanzilla |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| 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