Skip to content

Unable to Create an Account Due to CORS Policy Errors #1

@rawsun007

Description

@rawsun007

Hello,
I am Roshan Ramani from India. I recently built a web chat application backend and was looking for design inspiration across GitHub. However, when I tried to register on your website, I encountered the following errors:

Errors Encountered:
CORS Policy Block

Access to https://rose-chat-backend.herokuapp.com/api/v1/users/checkAvailability and https://rose-chat-backend.herokuapp.com/api/v1/register has been blocked due to a missing Access-Control-Allow-Origin header.
The error suggests that cross-origin requests from https://rose-chat-client.netlify.app to https://rose-chat-backend.herokuapp.com are being denied.
Failed Resource Loading

The requested resources failed to load, causing net::ERR_FAILED errors.
JavaScript Errors

TypeError: Cannot read properties of undefined (reading 'data')
This likely occurs because the API request fails due to CORS issues, and the response is undefined.

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