Skip to content

CSRF Verification Failed #5586

@Anil-Bhimwal1

Description

@Anil-Bhimwal1

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which package are you using?

@sentry/browser

SDK Version

7.10.0

Framework Version

"react": "^16.6.3",

Link to Sentry event

https://sentry.company.io/api/566/envelope/?sentry_key=20f0124e7890422eb22d135261b248fc&sentry_version=7&sentry_client=sentry.javascript.browser%2F7.8.0

Steps to Reproduce

I just upgraded the version from 6.17.4 to 7.10.0, and it started giving me this error
CSRF Verification Failed
A required security token was not found or was invalid.

If you're continually seeing this issue, try the following:

Clear cookies (at least for Sentry's domain).
Reload the page you're trying to submit (don't re-submit data).
Re-enter the information, and submit the form again.
Read more about CSRF on Wikipedia.

API Docs Contribute Migrate to SaaS
Sentry 9.1.2

Please help!

Expected Result

It should be a successful request. something like
{"id":"4bf561860a824c65855b0b5da185e84b"}

Actual Result

Screenshot 2022-08-16 at 6 16 05 PM

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions