# functions from backend web module not working in live site

**URL:** <https://forum.wixstudio.com/t/functions-from-backend-web-module-not-working-in-live-site/31595>\
**Category:** Ask the community\
**Tags:** question, code\
**Created:** [October 14, 2020, 2:41pm UTC](https://forum.wixstudio.com/t/functions-from-backend-web-module-not-working-in-live-site/31595 "2020-10-14T14:41:06Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![lhoarnold](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/lhoarnold/32/17534_2.png) [@lhoarnold](https://forum.wixstudio.com/u/lhoarnold)\
**Post date:** [October 14, 2020, 2:41pm UTC](https://forum.wixstudio.com/t/functions-from-backend-web-module-not-working-in-live-site/31595/1 "2020-10-14T14:41:06Z")

</div>

Hello,

I have a backend web module called fetchRequests.jsw which contains several wix-fetch functions for communicating with an external web server. These functions are called from multiple pages.

All of them work fine in the editor and until recently they all worked fine in the live site too.

I recently changed the name of the .jsw file and since then none of the functions get imported to the live site on any of the 10+ pages that call them. Everything still works fine in the editor.

All the permissions are set to ‘anyone’ for the functions in the .jsw file.

Any help greatly appreciated!

The site is www.psldn.com

---

<div class="post-metadata">

**Author:** ![craigthompson](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/craigthompson/32/24260_2.png) [@craigthompson](https://forum.wixstudio.com/u/craigthompson)\
**Post date:** [October 21, 2020, 3:59am UTC](https://forum.wixstudio.com/t/functions-from-backend-web-module-not-working-in-live-site/31595/2 "2020-10-21T03:59:25Z")

</div>

Having the same issue. Very suddenly, I cannot access my backend functions.

---

<div class="post-metadata">

**Author:** ![yisrael-wix](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/yisrael-wix/32/1107_2.png) [@yisrael-wix](https://forum.wixstudio.com/u/yisrael-wix)\
**Post date:** [October 21, 2020, 7:15am UTC](https://forum.wixstudio.com/t/functions-from-backend-web-module-not-working-in-live-site/31595/3 "2020-10-21T07:15:18Z")

</div>

Craig, Are you getting error messages? Did you check with [Wix Customer Care](https://support.wix.com/en/article/contacting-wix-customer-care-for-support) ?

Luke and Max, have the issues been resolved?

---

<div class="post-metadata">

**Author:** ![maxbjork](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/maxbjork/32/24105_2.png) [@maxbjork](https://forum.wixstudio.com/u/maxbjork)\
**Post date:** [October 21, 2020, 8:52am UTC](https://forum.wixstudio.com/t/functions-from-backend-web-module-not-working-in-live-site/31595/4 "2020-10-21T08:52:19Z")

</div>

Yes, my issue has been resolved.  
Embarassingly – this was my own code. I’m new to JavaScript, and was throwing an error using new Error()-- I was doing the same to test my theory about what was wrong (not knowing that is what caused the problem).  
The error that was displayed was JavaScript checking prototype.message and not finding anything.  
That is when I earned about prototypes in JavaScript… Oops.

---

<div class="post-metadata">

**Author:** ![yisrael-wix](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/yisrael-wix/32/1107_2.png) [@yisrael-wix](https://forum.wixstudio.com/u/yisrael-wix)\
**Post date:** [October 21, 2020, 8:53am UTC](https://forum.wixstudio.com/t/functions-from-backend-web-module-not-working-in-live-site/31595/5 "2020-10-21T08:53:32Z")

</div>

@maxbjork Happens to the best of us.

---

<div class="post-metadata">

**Author:** ![lhoarnold](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/lhoarnold/32/17534_2.png) [@lhoarnold](https://forum.wixstudio.com/u/lhoarnold)\
**Post date:** [October 22, 2020, 11:29am UTC](https://forum.wixstudio.com/t/functions-from-backend-web-module-not-working-in-live-site/31595/6 "2020-10-22T11:29:49Z")

</div>

Thanks Yisrael. The issue seemed to resolve itself. I didn’t change anything and it just started working again… No idea 🙂
