# GLTFLoader TypeError 'failed to fetch'

**URL:** <https://discourse.threejs.org/t/gltfloader-typeerror-failed-to-fetch/55315>\
**Category:** Questions\
**Tags:** gltf-loader\
**Created:** [August 24, 2023, 4:21pm UTC](https://discourse.threejs.org/t/gltfloader-typeerror-failed-to-fetch/55315 "2023-08-24T16:21:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Erhie](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/erhie/32/39201_2.png) [@Erhie](https://discourse.threejs.org/u/Erhie)\
**Post date:** [August 24, 2023, 4:21pm UTC](https://discourse.threejs.org/t/gltfloader-typeerror-failed-to-fetch/55315/1 "2023-08-24T16:21:58Z")

</div>

Hello,  
my target is to design a scene with Three.js Editor and load the exported GLTF in a HTML Page.  
To load a local file I installed the “Simple Web Server” from the Microsoft Store.  
I can access and show the .gltf file in Chrome browser.

But in my script results a load in TypeError ‘failed to fetch’

What can I do ?

Thank You for advice  
Erhie

---

<div class="post-metadata">

**Author:** ![Mugen87](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/mugen87/32/5645_2.png) [@Mugen87](https://discourse.threejs.org/u/Mugen87)\
**Post date:** [August 24, 2023, 9:29pm UTC](https://discourse.threejs.org/t/gltfloader-typeerror-failed-to-fetch/55315/2 "2023-08-24T21:29:46Z")

</div>

> [@Erhie](#):
>
> But in my script results a load in TypeError ‘failed to fetch’

When this error occurs, you should normally see more information in the browser console. Do you mind checking for respective logs and share them in this topic?

---

<div class="post-metadata">

**Author:** ![Erhie](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/erhie/32/39201_2.png) [@Erhie](https://discourse.threejs.org/u/Erhie)\
**Post date:** [August 25, 2023, 1:13pm UTC](https://discourse.threejs.org/t/gltfloader-typeerror-failed-to-fetch/55315/3 "2023-08-25T13:13:11Z")

</div>

> [@Mugen87](#):
>
> When this error occurs, you should normally see more information in the browser console. Do you mind checking for respective logs and share them in this topic?

Thank You!  
I enabled CORS In the advanced rules of the ‘Simple Web Server’  
and now  
I get the message  
100% loaded
