You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
https://cesium-map-app.web.app/map
This is my map application, running with no issues. Then it stopped working.
This is the error it gave me:
api.cesium.com/v1/assets/2/endpoint?access_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJkZjZmNmEzYy0zOWUwLTQzMTEtODNlMC1hY2EwZTRkNjQyNWUiLCJpZCI6MjU5LCJpYXQiOjE2Mjc5MTg0MjB9.VbQeEhbHiWrAH5KAAl1ynNkI4kHWxJdDi78IcCZxFk4:1 Failed to load resource: the server responded with a status of 401 ()
I updated angular-cesium package from 0.0.72 to 0.0.73 and tried to run it locally but it couldn't run either.
When I open the link in the error it says me this:
{
code: "InvalidCredentials",
message: "Invalid access token"
}
Thanks for advance.
Version
angular-cesium@0.0.73
The text was updated successfully, but these errors were encountered:
Normally, InvalidCredentials is about the version of cesium used in the project.
If you haven't provided a cesium access token in your projects --- your requests will use cesium default token. BUT. This default token provided only works for two/three release.(It was used for testing) This means, if the cesium version on the server has been updated to , let's say v195, but your project is still using v193, then you might get this error. the solution is either make your dependency update to the latest version of cesium. or Use Cesium.Ion to create your own token which technically can use forever.( you can google Cesium.ion access token to see how to get one)
Follow are the responses in the community about tokens. access-token-has-a-time-limit? Cesium Api Key Getting 401 Unauthorized
However, if you have provided your Cesium.Ion private access token. then it might be because of something else.
https://cesium-map-app.web.app/map
This is my map application, running with no issues. Then it stopped working.
This is the error it gave me:
api.cesium.com/v1/assets/2/endpoint?access_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJkZjZmNmEzYy0zOWUwLTQzMTEtODNlMC1hY2EwZTRkNjQyNWUiLCJpZCI6MjU5LCJpYXQiOjE2Mjc5MTg0MjB9.VbQeEhbHiWrAH5KAAl1ynNkI4kHWxJdDi78IcCZxFk4:1 Failed to load resource: the server responded with a status of 401 ()
I updated angular-cesium package from 0.0.72 to 0.0.73 and tried to run it locally but it couldn't run either.
When I open the link in the error it says me this:
{
code: "InvalidCredentials",
message: "Invalid access token"
}
Thanks for advance.
Version
The text was updated successfully, but these errors were encountered: