Hello,
In development, I am getting 401 error loading Cesium.
“code”: “INVALID_TOKEN”,
“message”: “Invalid access token”
I am using a CesiumJS Build with custom code. (Built in house for development)
This worked yesterday , it is not working today.
What would be the fix?
Thanks much,
-Timothy
upgrade to the latest release of cesiumjs.
Hi @timeichfeld-msa,
We roll the default ion access code every release so the old ones will stop working. We just put out a new release today so that’s why it stopped working today.
You should create your own Cesium ion account and set your own access token as the default one built in is not meant for use in production applications.
Check this page out for how to make and manage access tokens: Cesium ion Access Tokens – Cesium
Then set Cesium.Ion.defaultAccessToken = [your token]
in your application