MessagingErrorCode

public final enum MessagingErrorCode extends Enum<E extends Enum<E>>

Error codes that can be raised by the Cloud Messaging APIs.

Inherited Method Summary

Enum Values

public static final MessagingErrorCode INTERNAL

Internal server error.

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.