# Model File Loading from codepen, but not in server

**URL:** <https://discourse.threejs.org/t/model-file-loading-from-codepen-but-not-in-server/32682>\
**Category:** Questions\
**Tags:** hosting\
**Created:** [December 15, 2021, 3:05am UTC](https://discourse.threejs.org/t/model-file-loading-from-codepen-but-not-in-server/32682 "2021-12-15T03:05:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Damon\_Andrews](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/damon_andrews/32/22839_2.png) [@Damon\_Andrews](https://discourse.threejs.org/u/Damon_Andrews)\
**Post date:** [December 15, 2021, 3:05am UTC](https://discourse.threejs.org/t/model-file-loading-from-codepen-but-not-in-server/32682/1 "2021-12-15T03:05:29Z")

</div>

hey Guys,  
So i’m following a 3D Product Configurator tutorial: [How to Build a Color Customizer App for a 3D Model with Three.js - Codrops](https://tympanus.net/codrops/2019/09/17/how-to-build-a-color-customizer-app-for-a-3d-model-with-three-js/)

and ive been trying to wrap my head around this for days, You’ll see in the tutorial you can download the source files, all well and good right, apart from the “chair.glb” file _will not load at all_.

Now here’s where it gets interesting, If i change the filepath in the script code to the “Chair” file clearly uploaded to a codepen server ([https://s3-us-west-2.amazonaws.com/s.cdpn.io/1376484/chair.glb](https://s3-us-west-2.amazonaws.com/s.cdpn.io/1376484/chair.glb)), it works first try, absolutely fine. Im driving myself crazy trying to figure out why or how, because i intend to replace the chair with my own model, (spoiler, that didnt work either) and ive tried uploading my own model to a file server and it still doesnt load.

Need some help!
