# Website sometimes unable to load. Preload() sound file issue

**URL:** <https://discourse.processing.org/t/website-sometimes-unable-to-load-preload-sound-file-issue/27324>\
**Category:** Libraries\
**Created:** [January 24, 2021, 2:18am UTC](https://discourse.processing.org/t/website-sometimes-unable-to-load-preload-sound-file-issue/27324 "2021-01-24T02:18:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nsegal](https://avatars.discourse-cdn.com/v4/letter/n/8491ac/32.png) [@nsegal](https://discourse.processing.org/u/nsegal)\
**Post date:** [January 24, 2021, 2:18am UTC](https://discourse.processing.org/t/website-sometimes-unable-to-load-preload-sound-file-issue/27324/1 "2021-01-24T02:18:29Z")

</div>

I’ve made a website with a sketch that utilizes the preload() function to load a sound file. When one visits the website for the first time, it gets stuck loading. If you open the console through developer tools you see the message

```auto
p5.sound.min.js:24 Unable to load crash.mp3. The request status was: 206 ()
 The error stack trace includes: 
loadSound
    at preload (https://nhsegal.github.io/Bowling-Ball-Activity/sketch.js:15:16)

```

If you then reload the page, it works fine. How can I have it load correctly the first time?  
[Here is the website.](https://nhsegal.github.io/Bowling-Ball-Activity/)
