Release Sale! Save up to 50% off!

Block Design not downloading - blocked by CORS policy

Oliberserk
6 Posts
Oliberserk posted this 13 October 2023
Report a bug

Hi!
One of my clients was trying to add a page to his WordPress site and informed me that he can't use pre-made block designs as nothing is happening when he selects one.

So I investigated myself and noticed that, no matter what hosting (I also tried on locally hosted sites I use for development) browser, device or version of the Nicepage plugin, the issue can be easily and consistently replicated. I decided to test with the Nicepage desktop app and there is no issue.

Using my browser's console, I found this error message every time (this one if from my localhost dev site):

/wordpress/wp-admin/edit.php?post_type=page&ver=5.9.6&page=np_app#/builder/1/page/122:1 Access to XMLHttpRequest at 'http://editor.nicepageapp.com/d2cc3eaa/1546336/PreviewWithStyle/Page-11_152635520.html?version=f4a8ac91-a594-4797-a30d-c5f0000b6ace&_=1697191162036' from origin 'http://localhost' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

And just below the following:

Failed to load resource: net::ERR_FAILED editor.nicepageapp.com/d2cc3eaa/1546336/PreviewWithStyle/Page-11_152635520.html?version=f4a8ac91-a594-4797-a30d-c5f0000b6ace&_=1697191162036:1

Thanks for helping.

Best
Olivier

Hi! One of my clients was trying to add a page to his WordPress site and informed me that he can't use pre-made block designs as nothing is happening when he selects one. So I investigated myself and noticed that, no matter what hosting (I also tried on locally hosted sites I use for development) browser, device or version of the Nicepage plugin, the issue can be easily and consistently replicated. I decided to test with the Nicepage desktop app and there is no issue. Using my browser's console, I found this error message every time (this one if from my localhost dev site): /wordpress/wp-admin/edit.php?post_type=page&ver=5.9.6&page=np_app#/builder/1/page/122:1 Access to XMLHttpRequest at 'http://editor.nicepageapp.com/d2cc3eaa/1546336/PreviewWithStyle/Page-11_152635520.html?version=f4a8ac91-a594-4797-a30d-c5f0000b6ace&_=1697191162036' from origin 'http://localhost' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. And just below the following: Failed to load resource: net::ERR_FAILED editor.nicepageapp.com/d2cc3eaa/1546336/PreviewWithStyle/Page-11_152635520.html?version=f4a8ac91-a594-4797-a30d-c5f0000b6ace&_=1697191162036:1 Thanks for helping. Best Olivier
Vote to pay developers attention to this features or issue.
3 Replies
Order By: Standard | Newest
Support Team
Support Team posted this 13 October 2023

Hello Olivier,

The issue is now fixed, you can check it with your admin and let us know the result.
...................................................
Sincerely,
Anna.
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hello Olivier, The issue is now fixed, you can check it with your admin and let us know the result. ................................................... Sincerely, Anna. Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
Oliberserk
6 Posts
Oliberserk posted this 14 October 2023

Yes, everything ok. Thanks :-)

Yes, everything ok. Thanks :-)
Support Team
Support Team posted this 16 October 2023

Hello Olivier,

Great.
Let us know in case you have any other questions.
...................................................
Sincerely,
Anna.
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hello Olivier, Great. Let us know in case you have any other questions. ................................................... Sincerely, Anna. Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
You must log in or register to leave comments