Skip to content
This repository has been archived by the owner on Oct 14, 2022. It is now read-only.

Access to XMLHttpRequest at 'https://sua-ap-web-1.agora.io/api/v1?action=stringuid' from origin 'http://localhost:8080' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. #128

Open
xavieryang2011 opened this issue Mar 19, 2021 · 5 comments

Comments

@xavieryang2011
Copy link

Access to XMLHttpRequest at 'https://sua-ap-web-1.agora.io/api/v1?action=stringuid' from origin 'http://localhost:8080' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

@jetlej
Copy link

jetlej commented Apr 10, 2021

I have this too when using a string for the UID when joining a channel

@plutoless
Copy link
Contributor

it only happens when using string uid?

@xavieryang2011
Copy link
Author

yes,when using string uid,change it to int will be fine

@plutoless
Copy link
Contributor

i think it's one of our string uid server down. we have multiple requests to multiple server so it should not affect your usage. you may simply ignore it.

@SouiherNajahYoutube
Copy link

changing string to number in sdk doesin't fix this issue!
cannot access to channel

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

No branches or pull requests

4 participants