# Error when sending apns notification using Production cert

**URL:** <https://community.sendbird.com/t/error-when-sending-apns-notification-using-production-cert/6790>\
**Category:** Miscellaneous\
**Tags:** push-notification\
**Created:** [March 15, 2023, 8:23pm UTC](https://community.sendbird.com/t/error-when-sending-apns-notification-using-production-cert/6790 "2023-03-15T20:23:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ansel](https://avatars.discourse-cdn.com/v4/letter/a/dfb087/32.png) [@Ansel](https://community.sendbird.com/u/Ansel)\
**Post date:** [March 15, 2023, 8:23pm UTC](https://community.sendbird.com/t/error-when-sending-apns-notification-using-production-cert/6790/1 "2023-03-15T20:23:42Z")

</div>

**[Problem/Question]**  
I created an iOS application that uses send bird to power a chat feature. Everything was working fine during development. Push notifications worked great on development builds. A distribution build was made and distributed via testflight. None of these devices are receiving notifications.

I navigated to the notifications settings and attempted to send a notification via the notification tester and got an error.

 ![Screenshot 2023-03-15 at 1.20.18 PM](https://us1.discourse-cdn.com/flex020/uploads/sendbird/original/2X/5/5c83daf7f8a87e371a72459616bb4da4e327fe93.png)

Is this an issue with the cert I am using or something else. I am using the same cert for Sandbox and Production.

// Detailed description of issue.

* * *

// If problem, please fill out the below. If question, please delete.  
**[SDK Version]**  
// What version of the SDK are you using?

**[Reproduction Steps]**  
Use notification tester to send a notification using the Production cert.

**[Frequency]**  
Consistent

**[Current impact]**

Push notifications are none functional on Distribution builds.

---

<div class="post-metadata">

**Author:** ![Ian](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/ian/32/2077_2.png) [@Ian](https://community.sendbird.com/u/Ian)\
**Post date:** [March 16, 2023, 3:02am UTC](https://community.sendbird.com/t/error-when-sending-apns-notification-using-production-cert/6790/2 "2023-03-16T03:02:32Z")

</div>

Hi @Ansel,

I sent you a DM requesting some information.

---

<div class="post-metadata">

**Author:** ![Ansel](https://avatars.discourse-cdn.com/v4/letter/a/dfb087/32.png) [@Ansel](https://community.sendbird.com/u/Ansel)\
**Post date:** [March 16, 2023, 3:36pm UTC](https://community.sendbird.com/t/error-when-sending-apns-notification-using-production-cert/6790/4 "2023-03-16T15:36:47Z")

</div>

Solved the issue. I had the wrong cert uploaded.

---

<div class="post-metadata">

**Author:** ![Ian](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/ian/32/2077_2.png) [@Ian](https://community.sendbird.com/u/Ian)\
**Post date:** [March 16, 2023, 4:58pm UTC](https://community.sendbird.com/t/error-when-sending-apns-notification-using-production-cert/6790/5 "2023-03-16T16:58:48Z")

</div>

Thanks for letting me know. I will mark this as solved! Please let us know if you need anything else.
