<FIRMessaging/WARNING> Failed to subscribe to topic Error Domain=com.google.fcm Code=5 “(null)”

Im not able to subscribe to a topic in iOS build. Im using FCM for notification. Any idea on how to resolve this issue?
Ionic CLI 3.19.0
FCM plugin: Cordova-plugin-fcm 2.1.2