Hey guys,
I have been getting this error even when I do not have any code errors on the page
Publisher '' failed with error: 'Failed to fetch' TypeError: Failed to fetch
![](https://static.wixstatic.com/media/a27d24_76a1bda03dd34776b16b01123d709fe6~mv2.png/v1/fill/w_49,h_28,al_c,q_85,usm_0.66_1.00_0.01,blur_2,enc_auto/a27d24_76a1bda03dd34776b16b01123d709fe6~mv2.png)
What is this?
Important forum update
This forum is migrating to one unified Wix community forum starting July 26th, and will be read-only during the process.
Wishlist Page is the official platform for requesting new features. You can vote, comment, and track the status of the requested features.
Hello Guys,
I have a similar problem with my page. I am a bit new to coding.
I tried to collapse a box (and its content) on my page if the field in my database is empty.
I used this code:
$w.onReady( () => {
$w("#dynamicDataset").onReady( () => {
let item = $w("#dynamicDataset").getCurrentItem();
if (item.image) {
$w("#image11").show();
} else {
$w("#box11").collapse();
}
} );
} );
It almost worked out the way I wanted it. And then - I don't know why - it suddenly wasn't working out at all.
Now when I use this code, the box collapse, even if there is text to be shown. And this new error accured even if there is no code:
Loading the code for the site. To debug this code, open masterPage.js in Developer Tools.
Loading the code for the Einzelaquarien (Titel) page. To debug this code, open bq83w.js in Developer Tools.
Publisher '' failed with error: 'Failed to fetch' TypeError: Failed to fetch
https://liquidnatureaquari.wixsite.com/website-1
Thank you very much.
Hello Shan,
This error comes from fetch requests in the even that the fetch requests fails for one reason or another. It could be a server error or from your end. Can you give me your website url to investigate?
Thanks
Majd