I’ve built an n8n app and it does some data processing. Afterwards, I’m displaying a simple page linking to my bubble app so I basically move away from n8n. It’s an tag with `target=”_blank”` so it opens in a new tab.
Inside your data_bucket which we all send via Internet these are some header witch deal with Origin of the trasfer, thast intefearing in this because the origin of N8N is a different server.
And when copy/past it it work because the origion of trasfer is same as the site.
I suggest use Use a Webhook in bubble.io , when n8n do it things send the Link to bubble.io webhook and save it within user who initiated the process in bubble.io app, when its avaialble open the link within you bubble.io app.
This way, the origion of the link will be same it may solve you issue.
So yeah, that’s exactly what happens, the link above shown “Click here” opens a new browser tab - it’s simply a `<a href=”my bubble app” target=”_blank”>Click here` - couldn’t be simpler. Still it doesn’t work. I’m clueless as to why.
Sounds like a CORS restriction from Bubble. You can try enabling “Allow all origins” in the Bubble app settings or set a specific domain for n8n under API/CORS options.
Ok I finally figured out the problem: the `target=”_blank”` was somehow causing the browser to “think” that the URL was being loaded from a local file (see the second to last error line where the browser thinks that the request is coming from `null` which is usually from a local file, such as opening an HTML file directly in the browser).
I removed this form the anchor tag and things are working.