# FCM getToken() returns null!

**URL:** <https://forum.ionicframework.com/t/fcm-gettoken-returns-null/122243>\
**Category:** ionic-v3\
**Created:** [February 21, 2018, 3:34pm UTC](https://forum.ionicframework.com/t/fcm-gettoken-returns-null/122243 "2018-02-21T15:34:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wwyy](https://avatars.discourse-cdn.com/v4/letter/w/67e7ee/32.png) [@wwyy](https://forum.ionicframework.com/u/wwyy)\
**Post date:** [February 21, 2018, 3:34pm UTC](https://forum.ionicframework.com/t/fcm-gettoken-returns-null/122243/1 "2018-02-21T15:34:01Z")

</div>

I built ionic3 app and using FCM to send push notification , I try to get the token when app opened , I have two android emulators one of them return the token and the other return null !!!  
how can I fix this ?

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [July 19, 2021, 9:49pm UTC](https://forum.ionicframework.com/t/fcm-gettoken-returns-null/122243/2 "2021-07-19T21:49:53Z")

</div>


