# Error Loading GLTF Model on Website

**URL:** <https://discourse.threejs.org/t/error-loading-gltf-model-on-website/60165>\
**Category:** Questions\
**Tags:** gltf-loader, loaders, gltf\
**Created:** [January 10, 2024, 2:49pm UTC](https://discourse.threejs.org/t/error-loading-gltf-model-on-website/60165 "2024-01-10T14:49:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![RenoCamp](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/renocamp/32/34578_2.png) [@RenoCamp](https://discourse.threejs.org/u/RenoCamp)\
**Post date:** [January 10, 2024, 2:49pm UTC](https://discourse.threejs.org/t/error-loading-gltf-model-on-website/60165/1 "2024-01-10T14:49:49Z")

</div>

Hello everyone!

I’m encountering an issue while attempting to upload a GlTF model to my scene. Everything works correctly when I use a previous GlTF model, but it refuses to work with this new one. The scene doesn’t load, and I receive an error in the console that states:

“GLTFLoader.js:198 Error: THREE.GLTFLoader: Failed to load buffer “computer.bin”.  
at Object.onError (GLTFLoader.js:2785:13)  
at three.module.js:40739:39”

**Additionally, the scene with the new model works fine when I run it locally, the error appears when I upload it to the website.**

I’ll attach the model with the issue, and the website is [renatacampuzano.com](http://renatacampuzano.com) in case that helps.

Thank you in advance for the help!

[computer.gltf](https://discourse.threejs.org/uploads/short-url/9C78KRJpWpQcJ4UCaJEEOQtZmF2.gltf) (396.0 KB)

---

<div class="post-metadata">

**Author:** ![drcmda](https://avatars.discourse-cdn.com/v4/letter/d/91b2a8/32.png) [@drcmda](https://discourse.threejs.org/u/drcmda)\
**Post date:** [January 10, 2024, 3:44pm UTC](https://discourse.threejs.org/t/error-loading-gltf-model-on-website/60165/2 "2024-01-10T15:44:50Z")

</div>

it’s better to use glb instead of gltf. gltf is a container format, it usually refers to external files. yours for instance is useless without computer.bin. even if computer.bin is present in your project, you need to instruct the loader as to the whereabouts of the extra files. so better not go through all the hassle and use glb, it combines all data in one and is also smaller. 👍

---

<div class="post-metadata">

**Author:** ![RenoCamp](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/renocamp/32/34578_2.png) [@RenoCamp](https://discourse.threejs.org/u/RenoCamp)\
**Post date:** [January 10, 2024, 5:45pm UTC](https://discourse.threejs.org/t/error-loading-gltf-model-on-website/60165/3 "2024-01-10T17:45:05Z")

</div>

It did work with the glb.  
Thank you so much!
