Hello all, I’m developing a monday.com dashboard widget and have hit a major blocker. The widget needs to make a get request to an external resource, and the request gets blocked by monday.com’s CORS policy.
I have gone through the developers forum and read a couple of people have the same issue, but there doesn’t seem to be a solution. Can anyone provide me with any advice/guidance on how to get around this issue?
Hi @Moseley, I think you might mean that your request is blocked by the CORS policy on the external resource.
2 things spring to mind here.
If you are hosting the dashboard widget on your own server, you can be sure of the domain name being a constant. A lot of services allow you to configure CORS to whitelist certain hosts. If your external resource allows this, then you’re in luck.
If you cannot whitelist your domain, then the obvious other way would be to proxy the call by calling an API on your host that then calls the real external resource.
Hello @dvdsmpsn, thanks for your response. Ill carry on looking into it, but it does appear like the CORS policy on monday.com’s platform is blocking the CORS request.
Hello there @Moseley and welcome to the community!
I hope you like it here
If you could send us an email to appsupport@monday.com with all of the relevant information, we will be glad to take a closer look into this if you have not solved it.