Skip to main content

Hello,


I am trying to access a shared resource on Box.com from a web application that I am developing using the Bubble platform. However, I am getting a CORS (Cross-Origin Resource Sharing) error in the console, with the message "No 'Access-Control-Allow-Origin' header is present on the requested resource".


I would like to request support to resolve this issue. I am the administrator of the Box.com account and have all the necessary privileges to change server settings. However, I am not sure how to add the appropriate CORS headers to the server's responses.


Could someone help me resolve this issue? Thank you for your attention.


Sincerely

Hi Vinicius,


I've used Box with similar platforms, specifically OutSystems and there was nothing that needed to be done on the app side.


Typically the origin header is included automatically by the web servers requests, for example:


BOX2_BRQrERJ822sa_-tGl_lomQ.png


 So can you check if your specific origin is included in the CORS application configuration on the box app console?


Like so:


BOX2_2cvEaLB0Mp7BVbXc45DU7w.png


Let us know if this helped.


Cheers


Reply