SendException

classSendException :Exception


Firebase message send exception.

This will be passed toonSendError on errors that prevented a message from being sent viasend

Summary

Constants

constInt

Message was sent with invalid parameters.

constInt

Message exceeded the maximum payload size.

constInt

App has too many pending messages so this one was dropped.

constInt

Message time to live (TTL) was exceeded before the message could be sent.

constInt

Unknown error.

Public properties

Int

Constants

ERROR_INVALID_PARAMETERS

const val ERROR_INVALID_PARAMETERS = 1: Int

Message was sent with invalid parameters.

ERROR_SIZE

const val ERROR_SIZE = 2: Int

Message exceeded the maximum payload size.

ERROR_TOO_MANY_MESSAGES

const val ERROR_TOO_MANY_MESSAGES = 4: Int

App has too many pending messages so this one was dropped.

ERROR_TTL_EXCEEDED

const val ERROR_TTL_EXCEEDED = 3: Int

Message time to live (TTL) was exceeded before the message could be sent.

ERROR_UNKNOWN

const val ERROR_UNKNOWN = 0: Int

Unknown error.

Public properties

errorCode

val errorCodeInt

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-07-21 UTC.