FirebaseInstanceID Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
FIRInstanceIDError
enum FIRInstanceIDError {}
Public errors produced by InstanceID.
-
Declaration
Objective-C
FIRInstanceIDErrorUnknown = 0
-
Auth Error – GCM couldn’t validate request from this client.
Declaration
Objective-C
FIRInstanceIDErrorAuthentication = 1
-
NoAccess – InstanceID service cannot be accessed.
Declaration
Objective-C
FIRInstanceIDErrorNoAccess = 2
-
Timeout – Request to InstanceID backend timed out.
Declaration
Objective-C
FIRInstanceIDErrorTimeout = 3
-
Network – No network available to reach the servers.
Declaration
Objective-C
FIRInstanceIDErrorNetwork = 4
-
OperationInProgress – Another similar operation in progress,
bailing this one.
Declaration
Objective-C
FIRInstanceIDErrorOperationInProgress = 5
-
InvalidRequest – Some parameters of the request were invalid.
Declaration
Objective-C
FIRInstanceIDErrorInvalidRequest = 7
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 2021-02-11 UTC.
[null,null,["Last updated 2021-02-11 UTC."],[],[],null,["# FirebaseInstanceID Framework Reference\n\nFIRInstanceIDError\n==================\n\n enum FIRInstanceIDError {}\n\nPublic errors produced by InstanceID.\n- `\n ``\n ``\n `\n\n ### [FIRInstanceIDErrorUnknown](#/c:@E@FIRInstanceIDError@FIRInstanceIDErrorUnknown)\n\n `\n ` \n Unknown error. \n\n #### Declaration\n\n Objective-C \n\n FIRInstanceIDErrorUnknown = 0\n\n- `\n ``\n ``\n `\n\n ### [FIRInstanceIDErrorAuthentication](#/c:@E@FIRInstanceIDError@FIRInstanceIDErrorAuthentication)\n\n `\n ` \n Auth Error -- GCM couldn't validate request from this client. \n\n #### Declaration\n\n Objective-C \n\n FIRInstanceIDErrorAuthentication = 1\n\n- `\n ``\n ``\n `\n\n ### [FIRInstanceIDErrorNoAccess](#/c:@E@FIRInstanceIDError@FIRInstanceIDErrorNoAccess)\n\n `\n ` \n NoAccess -- InstanceID service cannot be accessed. \n\n #### Declaration\n\n Objective-C \n\n FIRInstanceIDErrorNoAccess = 2\n\n- `\n ``\n ``\n `\n\n ### [FIRInstanceIDErrorTimeout](#/c:@E@FIRInstanceIDError@FIRInstanceIDErrorTimeout)\n\n `\n ` \n Timeout -- Request to InstanceID backend timed out. \n\n #### Declaration\n\n Objective-C \n\n FIRInstanceIDErrorTimeout = 3\n\n- `\n ``\n ``\n `\n\n ### [FIRInstanceIDErrorNetwork](#/c:@E@FIRInstanceIDError@FIRInstanceIDErrorNetwork)\n\n `\n ` \n Network -- No network available to reach the servers. \n\n #### Declaration\n\n Objective-C \n\n FIRInstanceIDErrorNetwork = 4\n\n- `\n ``\n ``\n `\n\n ### [FIRInstanceIDErrorOperationInProgress](#/c:@E@FIRInstanceIDError@FIRInstanceIDErrorOperationInProgress)\n\n `\n ` \n OperationInProgress -- Another similar operation in progress,\n bailing this one. \n\n #### Declaration\n\n Objective-C \n\n FIRInstanceIDErrorOperationInProgress = 5\n\n- `\n ``\n ``\n `\n\n ### [FIRInstanceIDErrorInvalidRequest](#/c:@E@FIRInstanceIDError@FIRInstanceIDErrorInvalidRequest)\n\n `\n ` \n InvalidRequest -- Some parameters of the request were invalid. \n\n #### Declaration\n\n Objective-C \n\n FIRInstanceIDErrorInvalidRequest = 7"]]