Skip to content

Debugging flutter project in IDX throws an error "blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource." #2520

Closed
@SathishLondon

Description

@SathishLondon

I am using idx UI (idx.google.com) editor for developing flutter app. Using the default flutter app template, I created a new flutter project. When I tried to run the project in debug mode, I am getting an error.

I tried the suggestions in stackoverflow page but the recommendations were of no use. https://stackoverflow.com/questions/46522749/how-to-solve-redirect-has-been-blocked-by-cors-policy-no-access-control-allow

Access to manifest at '<URL #1>' (redi rected from '<URL #2>') from origin '<URL #3>' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on therequested resource.
Screenshot 2024-11-07 163200

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