CORS issues on any client-side JavaScript

I seem to be getting CORS errors on any client-side JavaScript I try to run.

For instance using the Toolbox plugin I can’t execute any JavaScript. As a workaround, I’ve been running backend workflows with server script; however the problem is larger.

I can’t embed things into the HTML canvas, run frames, nor use lots of plugins. Each time I see CORS errors in the logs.

This has never happened before, so I wonder if something is off with my configuration.

If this needs deeper debugging I’m happy to pay a Bubble consultant / expert to help me troubleshoot and fix, if you’re out there!

Are you saying the same endpoint you’ve been calling has suddenly stopped working?

If so, have you also checked if the endpoints you are trying to call have changed their terms of use to include CORS?

CORS are managed by browser security. There’s not a lot you can do if you don’t control the server your are calling url to. CORS doesn’t apply for server side request. This is not Bubble bug. The result could also be different in another browser. For example Firefox doesn’t handle CORS request the same way that Chrome do it.

1 Like

What I meant was that in previous projects I was able to run, but something about th configuration of this one is not working. I also have a custom domain, so not sure if that’s causing the issue. Will try to take it off and see if that helps.