# This application is using Cesium's default ion access token. How can i fix this warning?

**URL:** <https://community.cesium.com/t/this-application-is-using-cesiums-default-ion-access-token-how-can-i-fix-this-warning/7339>\
**Category:** CesiumJS\
**Created:** [August 26, 2018, 9:21pm UTC](https://community.cesium.com/t/this-application-is-using-cesiums-default-ion-access-token-how-can-i-fix-this-warning/7339 "2018-08-26T21:21:40Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![omar](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/omar/32/1999_2.png) [@omar](https://community.cesium.com/u/omar)\
**Post date:** [August 27, 2018, 1:48pm UTC](https://community.cesium.com/t/this-application-is-using-cesiums-default-ion-access-token-how-can-i-fix-this-warning/7339/7 "2018-08-27T13:48:13Z")

</div>

It looks the docs are actually outdated. It says here that it will use a default Bing key:

[https://cesiumjs.org/Cesium/Build/Documentation/BingMapsImageryProvider.html](https://cesiumjs.org/Cesium/Build/Documentation/BingMapsImageryProvider.html)

But this is no longer true. You’ll have to get a key from [https://www.bingmapsportal.com/](https://www.bingmapsportal.com/) if you’re not using Cesium ion.

I just tested with a geocoder, and this code works once I add my key in (and doesn’t show the ion warning).

Cesium.Ion.defaultAccessToken = null;

var viewer = new Cesium.Viewer(‘cesiumContainer’, {

imageryProvider: new Cesium.BingMapsImageryProvider({

url : ‘[https://dev.virtualearth.net](https://dev.virtualearth.net)’,

key: ‘’,

mapStyle: Cesium.BingMapsStyle.AERIAL\_WITH\_LABELS

}),

baseLayerPicker : false,

geocoder : [

new Cesium.CartographicGeocoderService(),

new Cesium.BingMapsGeocoderService({key:’’})

]

});

Thanks for pointing out the confusion here. I’ll update the docs.

---

_[View the full topic](https://community.cesium.com/t/this-application-is-using-cesiums-default-ion-access-token-how-can-i-fix-this-warning/7339)._
