[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-14 UTC."],[],[],null,["# RecaptchaEnterprise Framework Reference\n\nRecaptchaErrorCode\n==================\n\n enum RecaptchaErrorCode : NSInteger {}\n\nList of errors that can be returned from the SDK.\n- `\n ``\n ``\n `\n\n ### [RecaptchaErrorCodeUnknown](#/c:@E@RecaptchaErrorCode@RecaptchaErrorCodeUnknown)\n\n `\n ` \n Unknown error occurred during the workflow. \n\n #### Declaration\n\n Swift \n\n case errorCodeUnknown = 0\n\n Objective-C \n\n RecaptchaErrorCodeUnknown = 0\n\n- `\n ``\n ``\n `\n\n ### [RecaptchaErrorNetworkError](#/c:@E@RecaptchaErrorCode@RecaptchaErrorNetworkError)\n\n `\n ` \n reCAPTCHA cannot connect to Google servers, please make sure the app has network access. \n\n #### Declaration\n\n Swift \n\n case errorNetworkError = 1\n\n Objective-C \n\n RecaptchaErrorNetworkError = 1\n\n- `\n ``\n ``\n `\n\n ### [RecaptchaErrorInvalidSiteKey](#/c:@E@RecaptchaErrorCode@RecaptchaErrorInvalidSiteKey)\n\n `\n ` \n The site key used to call reCAPTCHA is invalid. \n\n #### Declaration\n\n Swift \n\n case errorInvalidSiteKey = 2\n\n Objective-C \n\n RecaptchaErrorInvalidSiteKey = 2\n\n- `\n ``\n ``\n `\n\n ### [RecaptchaErroInvalidKeyType](#/c:@E@RecaptchaErrorCode@RecaptchaErroInvalidKeyType)\n\n `\n ` \n Cannot create a reCAPTCHA client because the key used cannot be used on iOS.\n\n Please register new site key with the key type set to \"iOS App\" via\n [Create Key](https://cloud.google.com/recaptcha/docs/create-key). \n\n #### Declaration\n\n Swift \n\n case erroInvalidKeyType = 3\n\n Objective-C \n\n RecaptchaErroInvalidKeyType = 3\n\n- `\n ``\n ``\n `\n\n ### [RecaptchaErrorInvalidPackageName](#/c:@E@RecaptchaErrorCode@RecaptchaErrorInvalidPackageName)\n\n `\n ` \n Cannot create a reCAPTCHA client because the site key used doesn't support the calling package. \n\n #### Declaration\n\n Swift \n\n case errorInvalidPackageName = 4\n\n Objective-C \n\n RecaptchaErrorInvalidPackageName = 4\n\n- `\n ``\n ``\n `\n\n ### [RecaptchaErrorInvalidAction](#/c:@E@RecaptchaErrorCode@RecaptchaErrorInvalidAction)\n\n `\n ` \n reCAPTCHA cannot accept the action used, see custom\n [action guidelines](https://cloud.google.com/recaptcha/docs/actions-mobile). \n\n #### Declaration\n\n Swift \n\n case errorInvalidAction = 5\n\n Objective-C \n\n RecaptchaErrorInvalidAction = 5\n\n- `\n ``\n ``\n `\n\n ### [RecaptchaErrorInvalidTimeout](#/c:@E@RecaptchaErrorCode@RecaptchaErrorInvalidTimeout)\n\n `\n ` \n reCAPTCHA cannot accept timeout provided, see\n [timeout guidelines](https://cloud.google.com/recaptcha/docs/instrument-ios-apps#timeout). \n\n #### Declaration\n\n Swift \n\n case errorInvalidTimeout = 6\n\n Objective-C \n\n RecaptchaErrorInvalidTimeout = 6\n\n- `\n ``\n ``\n `\n\n ### [RecaptchaErrorNoNetwork](#/c:@E@RecaptchaErrorCode@RecaptchaErrorNoNetwork)\n\n `\n ` \n No network was found in the device. \n\n #### Declaration\n\n Swift \n\n case errorNoNetwork = 7\n\n Objective-C \n\n RecaptchaErrorNoNetwork = 7\n\n- `\n ``\n ``\n `\n\n ### [RecaptchaErrorCodeInternalError](#/c:@E@RecaptchaErrorCode@RecaptchaErrorCodeInternalError)\n\n `\n ` \n reCAPTCHA has faced an internal error, please try again in a bit. \n\n #### Declaration\n\n Swift \n\n case errorCodeInternalError = 100\n\n Objective-C \n\n RecaptchaErrorCodeInternalError = 100"]]