# P5.js loadStrings() error: Fetch API cannot load file

**URL:** <https://discourse.processing.org/t/p5-js-loadstrings-error-fetch-api-cannot-load-file/23842>\
**Category:** Beginners\
**Created:** [September 13, 2020, 4:32pm UTC](https://discourse.processing.org/t/p5-js-loadstrings-error-fetch-api-cannot-load-file/23842 "2020-09-13T16:32:40Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![GoToLoop](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/gotoloop/32/86_2.png) [@GoToLoop](https://discourse.processing.org/u/GoToLoop)\
**Post date:** [September 13, 2020, 5:25pm UTC](https://discourse.processing.org/t/p5-js-loadstrings-error-fetch-api-cannot-load-file/23842/5 "2020-09-13T17:25:13Z")

</div>

> [@Tsloa](#):
>
> Do you have any suggestions for how I can fix this?

My posted link above got a workaround for Firefox. 🦊

For more workarounds see the link below: 🔗

> [@Maximum size of a method in Processing](https://discourse.processing.org/t/maximum-size-of-a-method-in-processing/17136/29):
>
> Another workaround: [Chrome-allow-file-access-from-file.com](http://Chrome-allow-file-access-from-file.com) A more complete solution: More solutions: [GitHub.com/processing/p5.js/wiki/Local-server](http://GitHub.com/processing/p5.js/wiki/Local-server)

---

_[View the full topic](https://discourse.processing.org/t/p5-js-loadstrings-error-fetch-api-cannot-load-file/23842)._
