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

API request give CORS error #107

Open
Halder68 opened this issue Dec 8, 2021 · 8 comments
Open

API request give CORS error #107

Halder68 opened this issue Dec 8, 2021 · 8 comments

Comments

@Halder68
Copy link

Halder68 commented Dec 8, 2021

Hi Guys,
Since yesterday I receive CORS errors at fetching of token price with the following message:
No 'Access-Control-Allow-Origin' header is present ...

Everything worked flawlessly before and nothing has changed my side.
Has anything changed with the API access? Has the number of requests been limited?

Thanks

@anasshad
Copy link

anasshad commented Dec 8, 2021

Same issue with me.

@urielkdev
Copy link

Same issue here, can you help us @ChefKai ?

@ugwusomto
Copy link

same here

@ugwusomto
Copy link

Guys, try making the request. from a server, you control and can set cors headers
In your server --- make a request to pancakeswap fetch the data and return it to your front end
In your front end --- Make a request to your own API

@happyeric77
Copy link

happyeric77 commented Dec 14, 2021

Hello all, I am also suffering from the same issue. It had been working well until around 1 week ago.
Does anyone figure out what is happening? It seems pancakeswap has blocked cros access.
Screen Shot 2021-12-14 at 12 45 58

@amber0515
Copy link

Same issue here.

@amber0515
Copy link

I used the cors plugin of chrome, the cors testing is passed, but nothing change here.

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

No branches or pull requests

6 participants