Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API Listing is blocked by CORS - policy #33

Open
Asim-21 opened this issue Aug 5, 2024 · 4 comments
Open

API Listing is blocked by CORS - policy #33

Asim-21 opened this issue Aug 5, 2024 · 4 comments

Comments

@Asim-21
Copy link

Asim-21 commented Aug 5, 2024

I am getting the same error "has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled."
image

@Asim-21
Copy link
Author

Asim-21 commented Aug 5, 2024

the error is fixed but all the APIs are not listed, only 5 are shown
I have imported APIs from API Management. the ones that are listed on Portal also throw the following errors after navigating a bit

image

@Asim-21
Copy link
Author

Asim-21 commented Aug 8, 2024

@pierceboggan could you have a look? :)

@jeanramal
Copy link

@pierceboggan could you have a look? :)

The free layer have a limitations, max 5 APIs: https://github.com/Azure/APICenter-Portal-Starter?tab=readme-ov-file#limitations

Othersise, how to solve the CORS problem? with the no-cors mode ? where you applied it?

@DibyaRanjan1
Copy link

I am facing the same issue in local. any fix for this issue ?

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants