# Loading 775877 in the above code failed!

**URL:** <https://community.cesium.com/t/loading-775877-in-the-above-code-failed/24040>\
**Category:** CesiumJS\
**Created:** [May 15, 2023, 1:03pm UTC](https://community.cesium.com/t/loading-775877-in-the-above-code-failed/24040 "2023-05-15T13:03:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![76610744](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/76610744/32/12437_2.png) [@76610744](https://community.cesium.com/u/76610744)\
**Post date:** [May 15, 2023, 1:03pm UTC](https://community.cesium.com/t/loading-775877-in-the-above-code-failed/24040/1 "2023-05-15T13:03:57Z")

</div>

```
async loadView()
  {

  let viewer =Window.cesiumViewer
    const scene = viewer.scene;

```

// Fly to a nice overview of the city.  
viewer.camera.flyTo({  
destination: new Cesium.Cartesian3(  
-2703640.80485846,  
-4261161.990345464,  
3887439.511104276  
),  
orientation: new Cesium.HeadingPitchRoll(  
0.22426651143535548,  
-0.2624145362506527,  
0.000006972977223185239  
),  
});

// try {  
const tileset = await new Cesium.Cesium3DTileset({  
url: Cesium.IonResource.fromAssetId(775877),  
}).readyPromise

const translation = new Cesium.Cartesian3(  
-1.398521324920626,  
0.7823052871729486,  
0.7015244410592609  
);  
tileset.modelMatrix = Cesium.Matrix4.fromTranslation(translation);

tileset.maximumScreenSpaceError = 8.0;  
scene.pickTranslucentDepth = true;  
scene.light.intensity = 7.0;

viewer.scene.primitives.add(tileset);  
////////////////////////////////////////////////////////////////////////////  
Loading 775877 in the above code failed! There is no problem using 96188. What is the reason? Do you need a special license to load 775877

const tileset = await new Cesium.Cesium3DTileset({  
url: Cesium.IonResource.fromAssetId(775877),  
}).readyPromise

 ![image](https://global.discourse-cdn.com/cesium/original/2X/4/4cbd4dfa959641c4b8fcf2d631d17e17f43328fd.png)  
How to add 775877 resources to my assets?

---

<div class="post-metadata">

**Author:** ![jjhembd](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/jjhembd/32/10144_2.png) [@jjhembd](https://community.cesium.com/u/jjhembd)\
**Post date:** [May 22, 2023, 10:08pm UTC](https://community.cesium.com/t/loading-775877-in-the-above-code-failed/24040/2 "2023-05-22T22:08:36Z")

</div>

Hi @76610744, that ion asset is working fine for me at [this Sandcastle](https://sandcastle.cesium.com/?src=3D%20Tiles%20Next%20Photogrammetry%20Classification.html).

If you are trying to load it on your own site (not on [sandcastle.cesium.com](http://sandcastle.cesium.com)), you will need to set `Cesium.Ion.defaultAccessToken` with a token that has access to assetId 775877. Do you see this asset listed under “My Assets” when you log in to [https://ion.cesium.com/](https://ion.cesium.com/)?
