Skip to content

Missing Access-Control-Allow-Credentials CORS header #6970

Closed
@Marc3001

Description

@Marc3001

We are using raven-js to push events to sentry.io platform.
When a new event is pushed, Access-Control-Allow-Credentials CORS header is missing from sentry server response and so response content is blocked by browser.
As requests are POST ones and response seems to not be actually processed by raven-js this is non-blocking but it is polluting browser console and will possibly cause issue when raven-js will need response content.

See below complete error displayed by browser :
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://sentry.io/api/:id/store/?sentry_version=7&sentry_client=raven-js%2F3.22.0&sentry_key=:key. (Reason: expected ‘true’ in CORS header ‘Access-Control-Allow-Credentials’).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions