# Push notifications not working!

**URL:** <https://community.thunkable.com/t/push-notifications-not-working/1127935>\
**Category:** Questions about Thunkable X\
**Created:** [February 27, 2021, 12:58am UTC](https://community.thunkable.com/t/push-notifications-not-working/1127935 "2021-02-27T00:58:19Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![fastasarocket](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/fastasarocket/32/86537_2.png) [@fastasarocket](https://community.thunkable.com/u/fastasarocket)\
**Post date:** [February 27, 2021, 12:58am UTC](https://community.thunkable.com/t/push-notifications-not-working/1127935/1 "2021-02-27T00:58:19Z")

</div>

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/7/f/7f4e27d3a09822a37e633f154d17673a27e44c34.png)

Calling push notifications GetUserId in my published iOS and downloaded Android apps is not executing and this is holding up my whole app. Anyone else have this issue or know how to fix it??

---

<div class="post-metadata">

**Author:** ![Deluxe](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/deluxe/32/30016_2.png) [@Deluxe](https://community.thunkable.com/u/Deluxe)\
**Post date:** [February 27, 2021, 4:41am UTC](https://community.thunkable.com/t/push-notifications-not-working/1127935/2 "2021-02-27T04:41:22Z")

</div>

Have you set up your OneSignal account and connect it with your app?

---

<div class="post-metadata">

**Author:** ![fastasarocket](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/fastasarocket/32/86537_2.png) [@fastasarocket](https://community.thunkable.com/u/fastasarocket)\
**Post date:** [February 27, 2021, 11:42am UTC](https://community.thunkable.com/t/push-notifications-not-working/1127935/3 "2021-02-27T11:42:46Z")

</div>

Yes it all works and has been tested. It works on the Live app. I have a feeling the call GetUserId is returning null and the blocks after it are not executing because of that (I have noticed similar behaviour in terms of not executing recently with other blocks).

---

<div class="post-metadata">

**Author:** ![fastasarocket](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/fastasarocket/32/86537_2.png) [@fastasarocket](https://community.thunkable.com/u/fastasarocket)\
**Post date:** [February 28, 2021, 1:51am UTC](https://community.thunkable.com/t/push-notifications-not-working/1127935/4 "2021-02-28T01:51:46Z")

</div>

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/f/2/f260627b472223804b8b65dafa83bf21fdb18fcf.png)

@Deluxe@jane@wei

This is returning undefined for the full 10 seconds. Yet I know Push\_Notification1 is connected fine as I can still send notifications to this device along with all subscribed users through OneSignal. I need the UserId so that I can send user specific messages.

---

<div class="post-metadata">

**Author:** ![jose](https://avatars.discourse-cdn.com/v4/letter/j/e274bd/32.png) [@jose](https://community.thunkable.com/u/jose)\
**Post date:** [March 1, 2021, 10:52am UTC](https://community.thunkable.com/t/push-notifications-not-working/1127935/5 "2021-03-01T10:52:45Z")

</div>

Solved as per [Push Notifications GetUserId failing!!! · Issue #837 · thunkable/thunkable-issues · GitHub](https://github.com/thunkable/thunkable-issues/issues/837)

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 1:29pm UTC](https://community.thunkable.com/t/push-notifications-not-working/1127935/6 "2024-11-08T13:29:11Z")

</div>


