GoogleUserMessagingPlatform Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
UMPRequestErrorCode
enum UMPRequestErrorCode : NSInteger {}
Error codes used when making requests to update consent info.
-
Declaration
Swift
case `internal` = 1
Objective-C
UMPRequestErrorCodeInternal = 1
-
< The application’s app ID is invalid.
Declaration
Swift
case invalidAppID = 2
Objective-C
UMPRequestErrorCodeInvalidAppID = 2
-
< Network error communicating with Funding Choices.
Declaration
Objective-C
UMPRequestErrorCodeNetwork = 3
-
Declaration
Swift
case misconfiguration = 4
Objective-C
UMPRequestErrorCodeMisconfiguration =
4
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-08-20 UTC.
[null,null,["Last updated 2025-08-20 UTC."],[[["\u003cp\u003e\u003ccode\u003eUMPRequestErrorCode\u003c/code\u003e is an enum listing error codes encountered when updating user consent information.\u003c/p\u003e\n"],["\u003cp\u003ePossible error codes include internal errors, invalid application IDs, and network communication issues with Funding Choices.\u003c/p\u003e\n"],["\u003cp\u003eEach error code has a corresponding integer value used for identification.\u003c/p\u003e\n"],["\u003cp\u003eA \u003ccode\u003emisconfiguration\u003c/code\u003e error code exists but is undocumented.\u003c/p\u003e\n"]]],["The document defines the `UMPRequestErrorCode` enum, which categorizes errors during consent info update requests. It specifies four error codes: `internal` (1) for internal errors, `invalidAppID` (2) indicating an invalid application ID, `network` (3) for network communication failures, and `misconfiguration` (4) which is undocumented. Each error code is presented with its respective Swift and Objective-C declarations, ensuring compatibility across these programming languages.\n"],null,["# GoogleUserMessagingPlatform Framework Reference\n\nUMPRequestErrorCode\n===================\n\n enum UMPRequestErrorCode : NSInteger {}\n\nError codes used when making requests to update consent info.\n- `\n ``\n ``\n `\n\n ### [UMPRequestErrorCodeInternal](#/c:@E@UMPRequestErrorCode@UMPRequestErrorCodeInternal)\n\n `\n ` \n \\\u003c Internal error. \n\n #### Declaration\n\n Swift \n\n case `internal` = 1\n\n Objective-C \n\n UMPRequestErrorCodeInternal = 1\n\n- `\n ``\n ``\n `\n\n ### [UMPRequestErrorCodeInvalidAppID](#/c:@E@UMPRequestErrorCode@UMPRequestErrorCodeInvalidAppID)\n\n `\n ` \n \\\u003c The application's app ID is invalid. \n\n #### Declaration\n\n Swift \n\n case invalidAppID = 2\n\n Objective-C \n\n UMPRequestErrorCodeInvalidAppID = 2\n\n- `\n ``\n ``\n `\n\n ### [UMPRequestErrorCodeNetwork](#/c:@E@UMPRequestErrorCode@UMPRequestErrorCodeNetwork)\n\n `\n ` \n \\\u003c Network error communicating with Funding Choices. \n\n #### Declaration\n\n Swift \n\n case network = 3\n\n Objective-C \n\n UMPRequestErrorCodeNetwork = 3\n\n- `\n ``\n ``\n `\n\n ### [UMPRequestErrorCodeMisconfiguration](#/c:@E@UMPRequestErrorCode@UMPRequestErrorCodeMisconfiguration)\n\n `\n ` \n Undocumented \n\n #### Declaration\n\n Swift \n\n case misconfiguration = 4\n\n Objective-C \n\n UMPRequestErrorCodeMisconfiguration =\n 4"]]