File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -716,12 +716,13 @@ class _MessagingService(object):
716
716
INTERNAL_ERROR = 'internal-error'
717
717
UNKNOWN_ERROR = 'unknown-error'
718
718
FCM_ERROR_CODES = {
719
+ 'APNS_AUTH_ERROR' : 'authentication-error' ,
720
+ 'INTERNAL' : INTERNAL_ERROR ,
719
721
'INVALID_ARGUMENT' : 'invalid-argument' ,
720
- 'NOT_FOUND' : 'registration-token-not-registered' ,
721
- 'PERMISSION_DENIED' : 'authentication-error' ,
722
- 'RESOURCE_EXHAUSTED' : 'message-rate-exceeded' ,
723
- 'UNAUTHENTICATED' : 'authentication-error' ,
722
+ 'QUOTA_EXCEEDED' : 'message-rate-exceeded' ,
723
+ 'SENDER_ID_MISMATCH' : 'authentication-error' ,
724
724
'UNAVAILABLE' : 'server-unavailable' ,
725
+ 'UNREGISTERED' : 'registration-token-not-registered' ,
725
726
}
726
727
IID_ERROR_CODES = {
727
728
400 : 'invalid-argument' ,
You can’t perform that action at this time.
0 commit comments