GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — User Feedback: Show better message if submission was rejected due to `allowedDomains` · Issue #9856 · getsentry/sentry-javascript

User Feedback: Show better message if submission was rejected due to allowedDomains #9856

New issue
Copy link
New issue
Copy link
Closed
#13441
Closed
User Feedback: Show better message if submission was rejected due to allowedDomains#9856
#13441
Copy link
Labels
BugFeature: User Feedback

Description

@Stanzilla
Stanzilla
opened on Dec 14, 2023
Issue body actions

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/getsentry/sentry-javascript/releases

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/nextjs

SDK Version

7.86.0

Framework Version

Next ^14.0.4

Link to Sentry event

No response

SDK Setup

Sentry.init({
  dsn: SENTRY_DSN,
  environment,

  // Adjust this value in production, or use tracesSampler for greater control, default: 1
  tracesSampleRate: 0.1,

  // Setting this option to true will print useful information to the console while you're setting up Sentry.
  debug: false,

  replaysOnErrorSampleRate: 1.0,

  // This sets the sample rate to be 10%. You may want this to be 100% while
  // in development and sample at a lower rate in production
  replaysSessionSampleRate: 0.1,

  // You can remove this option if you're not planning to use the Sentry Session Replay feature:
  integrations: [
    new Sentry.Replay({
      // For additional Replay configuration see https://docs.sentry.io/platforms/javascript/session-replay/configuration/
      maskAllText: false,
      blockAllMedia: false,
    }),
    new Sentry.Feedback({
      // For additional SDK configuration see https://docs.sentry.io/platforms/javascript/user-feedback/configuration/
      colorScheme: 'dark',
      showBranding: false,
      themeDark: {
        background: '#292937',
        backgroundHover: '#393949',
        inputBackground: '#1e1e28',
        inputForeground: '#84849e',
        inputOutlineFocus: '#39394d',
        submitBackground: '#3e4784',
        submitBackgroundHover: '#505ba9',
        submitBorder: '#616ec7',
      },
    }),
  ],
})

Steps to Reproduce

  • Click on "Report a bug" button
  • Enter any text in any field

Expected Result

Feedback gets sent

Actual Result

Error: There was a problem submitting feedback, please wait and try again.

Sadly also nothing in the console that would help me debug. I tested this locally and on a vercel preview deploy.

I have Early Adopter enabled:

image

And I do have Vercel previews and localhost in the allowed domains:

*-SITENAME.vercel.app
localhost
Reacted by Duncan Walker

Activity

Next
  1. Stanzilla
    added
    Type: Bug
    on Dec 14, 2023
  2. getsantry
    added
    Waiting for: Product Owner
    on Dec 14, 2023
  3. getsantry
    added this to GitHub Issues with 👀on Dec 14, 2023
  4. getsantry
    moved this to Waiting for: Product Owner in GitHub Issues with 👀on Dec 14, 2023
  5. github-actions
    added
    Package: Nextjs
    on Dec 14, 2023
  6. Stanzilla commented on Dec 15, 2023

    @Stanzilla
    Stanzilla
    on Dec 15, 2023
    Author
    More actions

    Seems to work now..weird. Maybe the allowed domains took a while to kick in. I would appreciate though if the error message was a little more descriptive and this was easier to debug, leaving the ticket open because of that. If you'd rather have me make a new one just for that, please let me know.

  7. lforst
    added
    Package: Nextjs
    Feature: User Feedback
    Product Area: User Feedback
    and removed
    Package: Nextjs
    on Dec 18, 2023
  8. getsantry
    removed
    Waiting for: Product Owner
    on Dec 18, 2023
  9. lforst commented on Dec 18, 2023

    @lforst
    lforst
    on Dec 18, 2023
    Contributor
    More actions

    @billyvg @c298lee you mind taking a look at this?

  10. billyvg commented on Dec 18, 2023

    @billyvg
    billyvg
    on Dec 18, 2023
    Member
    More actions

    We'll take a look and see if it's allowed domains related.

  11. 9 remaining items

  12. getsantry
    moved this to Waiting for: Product Owner in GitHub Issues with 👀 2on Jan 2, 2024
  13. lforst
    removed
    Waiting for: Product Owner
    on Jan 4, 2024
  14. getsantry
    moved this from Waiting for: Product Owner to No status in GitHub Issues with 👀 2on Jan 4, 2024
  15. AbhiPrasad
    removed
    Product Area: User Feedback
    on Apr 24, 2024
  16. chrisweb commented on Aug 15, 2024

    @chrisweb
    chrisweb
    on Aug 15, 2024
    More actions

    I currently have this exact problem, my requests failed with a 403 code but I did not know why

    Then I saw that the response had: {detail: "event submission rejected with_reason: Cors"}

    This sent me into the wrong direction as I spent time on figuring out why CORS would be a problem

    After a while I remembered I had made changes to the allowed domain list, so I set the list back to '*' and then everything worked, so I figured out the problem is my allowed domains list, however I have no clue which domain is causing the problem

    So a message like: "request blocked because domain XY is not in the allowed list", would help a lot

    Reacted by Charly Gomez, dwolrdcojp, Duncan Walker and Janarth Kumaresan
  17. getsantry
    added
    Waiting for: Product Owner
    on Aug 15, 2024
  18. getsantry
    added this to GitHub Issues with 👀 3on Aug 15, 2024
  19. getsantry
    moved this to Waiting for: Product Owner in GitHub Issues with 👀 3on Aug 15, 2024
  20. chargome commented on Aug 16, 2024

    @chargome
    chargome
    on Aug 16, 2024
    Member
    More actions

    Thanks @chrisweb, it's on our list.

    Reacted by Chris Weber
  21. getsantry
    removed
    Waiting for: Product Owner
    on Aug 16, 2024
  22. getsantry
    moved this from Waiting for: Product Owner to No status in GitHub Issues with 👀 3on Aug 16, 2024
  23. c298lee
    added a commit that references this issue on Aug 26, 2024

    feat(feedback): Improve error message for 403 errors (#13441)

    e6861cf
  24. c298lee
    closed this as completedin #13441on Aug 26, 2024
  25. Zen-cronic
    added a commit that references this issue on Aug 26, 2024

    feat(feedback): Improve error message for 403 errors (getsentry#13441)

    fba8cc7
  26. ghost added
    Bug
    on Aug 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugFeature: User Feedback

    Projects

    • GitHub Issues with 👀
      Status
      Waiting for: Product Owner
      Show more project fields
    • GitHub Issues with 👀 2
      Status
      No status
      Show more project fields
    • GitHub Issues with 👀 3
      Status
      No status
      Show more project fields

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.