com.google.firebase.messaging.MessagingErrorCode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of firebase-admin Show documentation
Show all versions of firebase-admin Show documentation
This is the official Firebase Admin Java SDK. Build extraordinary native JVM apps in
minutes with Firebase. The Firebase platform can power your app’s backend, user
authentication, static hosting, and more.
package com.google.firebase.messaging;
/**
* Error codes that can be raised by the Cloud Messaging APIs.
*/
public enum MessagingErrorCode {
/**
* APNs certificate or web push auth key was invalid or missing.
*/
THIRD_PARTY_AUTH_ERROR,
/**
* One or more arguments specified in the request were invalid.
*/
INVALID_ARGUMENT,
/**
* Internal server error.
*/
INTERNAL,
/**
* Sending limit exceeded for the message target.
*/
QUOTA_EXCEEDED,
/**
* The authenticated sender ID is different from the sender ID for the registration token.
*/
SENDER_ID_MISMATCH,
/**
* Cloud Messaging service is temporarily unavailable.
*/
UNAVAILABLE,
/**
* App instance was unregistered from FCM. This usually means that the token used is no longer
* valid and a new one must be used.
*/
UNREGISTERED,
}