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-03-25 UTC.
[null,null,["Last updated 2025-03-25 UTC."],[[["\u003cp\u003e\u003ccode\u003eUMPRequestErrorCode\u003c/code\u003e is an enumeration of error codes that can occur when updating user consent information.\u003c/p\u003e\n"],["\u003cp\u003eThese error codes indicate issues such as internal errors, invalid app IDs, network problems, and misconfigurations.\u003c/p\u003e\n"],["\u003cp\u003eEach error code has a corresponding integer value for identification and handling in both Swift and Objective-C.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers should be aware of these error codes to properly handle potential issues during consent updates.\u003c/p\u003e\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"]]