Send feedback
MessagingErrorCode
Stay organized with collections
Save and categorize content based on your preferences.
Error codes that can be raised by the Cloud Messaging APIs.
Inherited Method Summary
From class
java.lang.Enum
final
Object
clone ()
final
int
compareTo (E arg0)
int
compareTo (Object arg0)
final
boolean
equals (Object arg0)
final
void
finalize ()
final
Class<E>
getDeclaringClass ()
final
int
hashCode ()
final
String
name ()
final
int
ordinal ()
String
toString ()
static
<T extends Enum<T>>
T
valueOf (Class<T> arg0, String arg1)
From class
java.lang.Object
Object
clone ()
boolean
equals (Object arg0)
void
finalize ()
final
Class<?>
getClass ()
int
hashCode ()
final
void
notify ()
final
void
notifyAll ()
String
toString ()
final
void
wait (long arg0, int arg1)
final
void
wait (long arg0)
final
void
wait ()
From interface
java.lang.Comparable
abstract
int
compareTo (T arg0)
Enum Values
public
static
final
MessagingErrorCode
INTERNAL
public
static
final
MessagingErrorCode
INVALID_ARGUMENT
One or more arguments specified in the request were invalid.
public
static
final
MessagingErrorCode
QUOTA_EXCEEDED
Sending limit exceeded for the message target.
public
static
final
MessagingErrorCode
SENDER_ID_MISMATCH
The authenticated sender ID is different from the sender ID for the registration token.
public
static
final
MessagingErrorCode
THIRD_PARTY_AUTH_ERROR
APNs certificate or web push auth key was invalid or missing.
public
static
final
MessagingErrorCode
UNAVAILABLE
Cloud Messaging service is temporarily unavailable.
public
static
final
MessagingErrorCode
UNREGISTERED
App instance was unregistered from FCM. This usually means that the token used is no longer
valid and a new one must be used.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-04-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2021-04-28 UTC."],[],[]]