FirebaseMessaging Framework Reference

_ErrorType

typealiasMessagingError.Code._ErrorType=MessagingError

@enum FIRMessagingError

  • Unknown error.

    Declaration

    Swift

    staticvarunknown:MessagingError.Code{get}
  • FIRMessaging couldn’t validate request from this client.

    Declaration

    Swift

    staticvarauthentication:MessagingError.Code{get}
  • InstanceID service cannot be accessed.

    Declaration

    Swift

    staticvarnoAccess:MessagingError.Code{get}
  • Request to InstanceID backend timed out.

    Declaration

    Swift

    staticvartimeout:MessagingError.Code{get}
  • No network available to reach the servers.

    Declaration

    Swift

    staticvarnetwork:MessagingError.Code{get}
  • Another similar operation in progress, bailing this one.

    Declaration

    Swift

    staticvaroperationInProgress:MessagingError.Code{get}
  • Some parameters of the request were invalid.

    Declaration

    Swift

    staticvarinvalidRequest:MessagingError.Code{get}
  • Topic name is invalid for subscription/unsubscription.

    Declaration

    Swift

    staticvarinvalidTopicName:MessagingError.Code{get}

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 2026-01-13 UTC.