FirebaseMessaging Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
_ErrorType
typealias MessagingError.Code._ErrorType = MessagingError
@enum FIRMessagingError
-
-
FIRMessaging couldn’t validate request from this client.
Declaration
Swift
case authentication = 1
-
InstanceID service cannot be accessed.
-
Request to InstanceID backend timed out.
-
No network available to reach the servers.
-
Another similar operation in progress, bailing this one.
Declaration
Swift
case operationInProgress = 5
-
Some parameters of the request were invalid.
Declaration
Swift
case invalidRequest = 7
-
Topic name is invalid for subscription/unsubscription.
Declaration
Swift
case invalidTopicName = 8
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 2025-03-11 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 2025-03-11 UTC."],[],[],null,["# FirebaseMessaging Framework Reference\n\n_ErrorType\n==========\n\n typealias MessagingError.Code._ErrorType = MessagingError\n\n@enum FIRMessagingError\n- `\n ``\n ``\n `\n\n ### [unknown](#/c:@E@FIRMessagingError@FIRMessagingErrorUnknown)\n\n `\n ` \n Unknown error. \n\n #### Declaration\n\n Swift \n\n case unknown = 0\n\n- `\n ``\n ``\n `\n\n ### [authentication](#/c:@E@FIRMessagingError@FIRMessagingErrorAuthentication)\n\n `\n ` \n FIRMessaging couldn't validate request from this client. \n\n #### Declaration\n\n Swift \n\n case authentication = 1\n\n- `\n ``\n ``\n `\n\n ### [noAccess](#/c:@E@FIRMessagingError@FIRMessagingErrorNoAccess)\n\n `\n ` \n InstanceID service cannot be accessed. \n\n #### Declaration\n\n Swift \n\n case noAccess = 2\n\n- `\n ``\n ``\n `\n\n ### [timeout](#/c:@E@FIRMessagingError@FIRMessagingErrorTimeout)\n\n `\n ` \n Request to InstanceID backend timed out. \n\n #### Declaration\n\n Swift \n\n case timeout = 3\n\n- `\n ``\n ``\n `\n\n ### [network](#/c:@E@FIRMessagingError@FIRMessagingErrorNetwork)\n\n `\n ` \n No network available to reach the servers. \n\n #### Declaration\n\n Swift \n\n case network = 4\n\n- `\n ``\n ``\n `\n\n ### [operationInProgress](#/c:@E@FIRMessagingError@FIRMessagingErrorOperationInProgress)\n\n `\n ` \n Another similar operation in progress, bailing this one. \n\n #### Declaration\n\n Swift \n\n case operationInProgress = 5\n\n- `\n ``\n ``\n `\n\n ### [invalidRequest](#/c:@E@FIRMessagingError@FIRMessagingErrorInvalidRequest)\n\n `\n ` \n Some parameters of the request were invalid. \n\n #### Declaration\n\n Swift \n\n case invalidRequest = 7\n\n- `\n ``\n ``\n `\n\n ### [invalidTopicName](#/c:@E@FIRMessagingError@FIRMessagingErrorInvalidTopicName)\n\n `\n ` \n Topic name is invalid for subscription/unsubscription. \n\n #### Declaration\n\n Swift \n\n case invalidTopicName = 8"]]