Unable to load gITF model in CesiumJS application

Hi again!

You’re seeing a 401 error because you’re attempting to reach out to the assets.ion.cesium.com URLs directly, which is not supported for security reasons. I think part of the problem is that the 3D tiles primitive and the 3D Tiles entity APIs are being conflated.

Try the following instead, using only the entity API.

const resource = await Cesium.IonResource.fromAssetId(2281567);

  id: 'Tower',
  tileset: {
    uri: resource

Problem solved! Thanks again! :slight_smile:

1 Like