A push notification has two lives. In the first, your server asks Firebase Cloud Messaging (FCM) or Apple's APNs to deliver it, and gets an answer. In the second, a phone somewhere decides whether to show it. Most debugging goes wrong because people read the first answer as if it described the second.
This is a guide to both: what the errors from FCM (HTTP v1) and APNs mean, which ones to retry, which ones to treat as "delete this token", and the failures that come back with no error at all.
"Accepted" is not "delivered"
When APNs answers 200 , it accepted your request. When FCM answers with a message name, it accepted your request. A web push service answering 201 Created is the same: RFC 8030 says the message "was accepted", nothing more.
Apple's documentation does not give the sending server a signal that the notification was displayed.…