MessagingClientErrorCode class
Stay organized with collections
Save and categorize content based on your preferences.
Messaging client error codes and their default messages.
Signature:
export declare class MessagingClientErrorCode
Properties
MessagingClientErrorCode.AUTHENTICATION_ERROR
Signature:
static AUTHENTICATION_ERROR: {
code: string;
message: string;
};
MessagingClientErrorCode.DEVICE_MESSAGE_RATE_EXCEEDED
Signature:
static DEVICE_MESSAGE_RATE_EXCEEDED: {
code: string;
message: string;
};
MessagingClientErrorCode.INTERNAL_ERROR
Signature:
static INTERNAL_ERROR: {
code: string;
message: string;
};
MessagingClientErrorCode.INVALID_ARGUMENT
Signature:
static INVALID_ARGUMENT: {
code: string;
message: string;
};
MessagingClientErrorCode.INVALID_DATA_PAYLOAD_KEY
Signature:
static INVALID_DATA_PAYLOAD_KEY: {
code: string;
message: string;
};
MessagingClientErrorCode.INVALID_OPTIONS
Signature:
static INVALID_OPTIONS: {
code: string;
message: string;
};
MessagingClientErrorCode.INVALID_PACKAGE_NAME
Signature:
static INVALID_PACKAGE_NAME: {
code: string;
message: string;
};
MessagingClientErrorCode.INVALID_PAYLOAD
Signature:
static INVALID_PAYLOAD: {
code: string;
message: string;
};
MessagingClientErrorCode.INVALID_RECIPIENT
Signature:
static INVALID_RECIPIENT: {
code: string;
message: string;
};
MessagingClientErrorCode.INVALID_REGISTRATION_TOKEN
Signature:
static INVALID_REGISTRATION_TOKEN: {
code: string;
message: string;
};
MessagingClientErrorCode.MESSAGE_RATE_EXCEEDED
Signature:
static MESSAGE_RATE_EXCEEDED: {
code: string;
message: string;
};
MessagingClientErrorCode.MISMATCHED_CREDENTIAL
Signature:
static MISMATCHED_CREDENTIAL: {
code: string;
message: string;
};
MessagingClientErrorCode.PAYLOAD_SIZE_LIMIT_EXCEEDED
Signature:
static PAYLOAD_SIZE_LIMIT_EXCEEDED: {
code: string;
message: string;
};
MessagingClientErrorCode.REGISTRATION_TOKEN_NOT_REGISTERED
Signature:
static REGISTRATION_TOKEN_NOT_REGISTERED: {
code: string;
message: string;
};
MessagingClientErrorCode.SERVER_UNAVAILABLE
Signature:
static SERVER_UNAVAILABLE: {
code: string;
message: string;
};
MessagingClientErrorCode.THIRD_PARTY_AUTH_ERROR
Signature:
static THIRD_PARTY_AUTH_ERROR: {
code: string;
message: string;
};
MessagingClientErrorCode.TOO_MANY_TOPICS
Signature:
static TOO_MANY_TOPICS: {
code: string;
message: string;
};
MessagingClientErrorCode.TOPICS_MESSAGE_RATE_EXCEEDED
Signature:
static TOPICS_MESSAGE_RATE_EXCEEDED: {
code: string;
message: string;
};
MessagingClientErrorCode.UNKNOWN_ERROR
Signature:
static UNKNOWN_ERROR: {
code: string;
message: string;
};
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 2024-05-21 UTC.
[[["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 2024-05-21 UTC."],[],[],null,["# MessagingClientErrorCode class\n\nMessaging client error codes and their default messages.\n\n**Signature:** \n\n export declare class MessagingClientErrorCode \n\nProperties\n----------\n\n| Property | Modifiers | Type | Description |\n|-------------------------------------------------------------------------------------------------------------------------------------------------------|-----------|------------------------------------|-------------|\n| [AUTHENTICATION_ERROR](./firebase-admin.messaging.messagingclienterrorcode.md#messagingclienterrorcodeauthentication_error) | `static` | { code: string; message: string; } | |\n| [DEVICE_MESSAGE_RATE_EXCEEDED](./firebase-admin.messaging.messagingclienterrorcode.md#messagingclienterrorcodedevice_message_rate_exceeded) | `static` | { code: string; message: string; } | |\n| [INTERNAL_ERROR](./firebase-admin.messaging.messagingclienterrorcode.md#messagingclienterrorcodeinternal_error) | `static` | { code: string; message: string; } | |\n| [INVALID_ARGUMENT](./firebase-admin.messaging.messagingclienterrorcode.md#messagingclienterrorcodeinvalid_argument) | `static` | { code: string; message: string; } | |\n| [INVALID_DATA_PAYLOAD_KEY](./firebase-admin.messaging.messagingclienterrorcode.md#messagingclienterrorcodeinvalid_data_payload_key) | `static` | { code: string; message: string; } | |\n| [INVALID_OPTIONS](./firebase-admin.messaging.messagingclienterrorcode.md#messagingclienterrorcodeinvalid_options) | `static` | { code: string; message: string; } | |\n| [INVALID_PACKAGE_NAME](./firebase-admin.messaging.messagingclienterrorcode.md#messagingclienterrorcodeinvalid_package_name) | `static` | { code: string; message: string; } | |\n| [INVALID_PAYLOAD](./firebase-admin.messaging.messagingclienterrorcode.md#messagingclienterrorcodeinvalid_payload) | `static` | { code: string; message: string; } | |\n| [INVALID_RECIPIENT](./firebase-admin.messaging.messagingclienterrorcode.md#messagingclienterrorcodeinvalid_recipient) | `static` | { code: string; message: string; } | |\n| [INVALID_REGISTRATION_TOKEN](./firebase-admin.messaging.messagingclienterrorcode.md#messagingclienterrorcodeinvalid_registration_token) | `static` | { code: string; message: string; } | |\n| [MESSAGE_RATE_EXCEEDED](./firebase-admin.messaging.messagingclienterrorcode.md#messagingclienterrorcodemessage_rate_exceeded) | `static` | { code: string; message: string; } | |\n| [MISMATCHED_CREDENTIAL](./firebase-admin.messaging.messagingclienterrorcode.md#messagingclienterrorcodemismatched_credential) | `static` | { code: string; message: string; } | |\n| [PAYLOAD_SIZE_LIMIT_EXCEEDED](./firebase-admin.messaging.messagingclienterrorcode.md#messagingclienterrorcodepayload_size_limit_exceeded) | `static` | { code: string; message: string; } | |\n| [REGISTRATION_TOKEN_NOT_REGISTERED](./firebase-admin.messaging.messagingclienterrorcode.md#messagingclienterrorcoderegistration_token_not_registered) | `static` | { code: string; message: string; } | |\n| [SERVER_UNAVAILABLE](./firebase-admin.messaging.messagingclienterrorcode.md#messagingclienterrorcodeserver_unavailable) | `static` | { code: string; message: string; } | |\n| [THIRD_PARTY_AUTH_ERROR](./firebase-admin.messaging.messagingclienterrorcode.md#messagingclienterrorcodethird_party_auth_error) | `static` | { code: string; message: string; } | |\n| [TOO_MANY_TOPICS](./firebase-admin.messaging.messagingclienterrorcode.md#messagingclienterrorcodetoo_many_topics) | `static` | { code: string; message: string; } | |\n| [TOPICS_MESSAGE_RATE_EXCEEDED](./firebase-admin.messaging.messagingclienterrorcode.md#messagingclienterrorcodetopics_message_rate_exceeded) | `static` | { code: string; message: string; } | |\n| [UNKNOWN_ERROR](./firebase-admin.messaging.messagingclienterrorcode.md#messagingclienterrorcodeunknown_error) | `static` | { code: string; message: string; } | |\n\nMessagingClientErrorCode.AUTHENTICATION_ERROR\n---------------------------------------------\n\n**Signature:** \n\n static AUTHENTICATION_ERROR: {\n code: string;\n message: string;\n };\n\nMessagingClientErrorCode.DEVICE_MESSAGE_RATE_EXCEEDED\n-----------------------------------------------------\n\n**Signature:** \n\n static DEVICE_MESSAGE_RATE_EXCEEDED: {\n code: string;\n message: string;\n };\n\nMessagingClientErrorCode.INTERNAL_ERROR\n---------------------------------------\n\n**Signature:** \n\n static INTERNAL_ERROR: {\n code: string;\n message: string;\n };\n\nMessagingClientErrorCode.INVALID_ARGUMENT\n-----------------------------------------\n\n**Signature:** \n\n static INVALID_ARGUMENT: {\n code: string;\n message: string;\n };\n\nMessagingClientErrorCode.INVALID_DATA_PAYLOAD_KEY\n-------------------------------------------------\n\n**Signature:** \n\n static INVALID_DATA_PAYLOAD_KEY: {\n code: string;\n message: string;\n };\n\nMessagingClientErrorCode.INVALID_OPTIONS\n----------------------------------------\n\n**Signature:** \n\n static INVALID_OPTIONS: {\n code: string;\n message: string;\n };\n\nMessagingClientErrorCode.INVALID_PACKAGE_NAME\n---------------------------------------------\n\n**Signature:** \n\n static INVALID_PACKAGE_NAME: {\n code: string;\n message: string;\n };\n\nMessagingClientErrorCode.INVALID_PAYLOAD\n----------------------------------------\n\n**Signature:** \n\n static INVALID_PAYLOAD: {\n code: string;\n message: string;\n };\n\nMessagingClientErrorCode.INVALID_RECIPIENT\n------------------------------------------\n\n**Signature:** \n\n static INVALID_RECIPIENT: {\n code: string;\n message: string;\n };\n\nMessagingClientErrorCode.INVALID_REGISTRATION_TOKEN\n---------------------------------------------------\n\n**Signature:** \n\n static INVALID_REGISTRATION_TOKEN: {\n code: string;\n message: string;\n };\n\nMessagingClientErrorCode.MESSAGE_RATE_EXCEEDED\n----------------------------------------------\n\n**Signature:** \n\n static MESSAGE_RATE_EXCEEDED: {\n code: string;\n message: string;\n };\n\nMessagingClientErrorCode.MISMATCHED_CREDENTIAL\n----------------------------------------------\n\n**Signature:** \n\n static MISMATCHED_CREDENTIAL: {\n code: string;\n message: string;\n };\n\nMessagingClientErrorCode.PAYLOAD_SIZE_LIMIT_EXCEEDED\n----------------------------------------------------\n\n**Signature:** \n\n static PAYLOAD_SIZE_LIMIT_EXCEEDED: {\n code: string;\n message: string;\n };\n\nMessagingClientErrorCode.REGISTRATION_TOKEN_NOT_REGISTERED\n----------------------------------------------------------\n\n**Signature:** \n\n static REGISTRATION_TOKEN_NOT_REGISTERED: {\n code: string;\n message: string;\n };\n\nMessagingClientErrorCode.SERVER_UNAVAILABLE\n-------------------------------------------\n\n**Signature:** \n\n static SERVER_UNAVAILABLE: {\n code: string;\n message: string;\n };\n\nMessagingClientErrorCode.THIRD_PARTY_AUTH_ERROR\n-----------------------------------------------\n\n**Signature:** \n\n static THIRD_PARTY_AUTH_ERROR: {\n code: string;\n message: string;\n };\n\nMessagingClientErrorCode.TOO_MANY_TOPICS\n----------------------------------------\n\n**Signature:** \n\n static TOO_MANY_TOPICS: {\n code: string;\n message: string;\n };\n\nMessagingClientErrorCode.TOPICS_MESSAGE_RATE_EXCEEDED\n-----------------------------------------------------\n\n**Signature:** \n\n static TOPICS_MESSAGE_RATE_EXCEEDED: {\n code: string;\n message: string;\n };\n\nMessagingClientErrorCode.UNKNOWN_ERROR\n--------------------------------------\n\n**Signature:** \n\n static UNKNOWN_ERROR: {\n code: string;\n message: string;\n };"]]