Skip to content

SMS 2FA code submission failed with http status 412 Precondition Failed: { #319

Open

Description

@rainweb82

Describe the issue

 ● Failed to complete SMS 2FA
 ├ /Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/isideload-0.2.20/src/auth/apple_account.rs:136
 │
 ● SMS 2FA code submission failed with http status 412 Precondition Failed: {
 │   "trustedPhoneNumbers" : [ {
 │     "nonFTEU" : true,
 │     "numberWithDialCode" : "+86 ••• •••• ••44",
 │     "obfuscatedNumber" : "••• •••• ••44",
 │     "lastTwoDigits" : "44",
 │     "pushMode" : "sms",
 │     "id" : 2
 │   } ],
 │   "phoneNumber" : {
 │     "nonFTEU" : false
 │   },
 │   "securityCode" : {
 │     "length" : 6,
 │     "tooManyCodesSent" : false,
 │     "tooManyCodesValidated" : false,
 │     "securityCodeLocked" : false,
 │     "securityCodeCooldown" : false
 │   },
 │   "mode" : "sms",
 │   "type" : "verification",
 │   "authenticationType" : "hsa2",
 │   "recoveryUrl" : "https://gsa.apple.com/iforgot/phone/add?prs_account_nm=iamruirui%40yeah.net&autoSubmitAccount=true&appId=93",
 │   "cantUsePhoneNumberUrl" : "https://gsa.apple.com/iforgot/phone/add?context=cantuse&prs_account_nm=iamruirui%40yeah.net&autoSubmitAccount=true&appId=93",
 │   "dontHaveAccessUrl" : "https://gsa.apple.com/iforgot/phone/add?context=donthaveaccess&prs_account_nm=iamruirui%40yeah.net&autoSubmitAccount=true&appId=93",
 │   "recoveryWebUrl" : "https://iforgot.apple.com/password/verify/appleid?prs_account_nm=iamruirui%40yeah.net&autoSubmitAccount=true&appId=93",
 │   "repairPhoneNumberUrl" : "https://gsa.apple.com/appleid/account/manage/repair/verify/phone",
 │   "repairPhoneNumberWebUrl" : "https://appleid.apple.com/widget/account/repair?#!repair",
 │   "aboutTwoFactorAuthenticationUrl" : "https://support.apple.com/kb/HT204921",
 │   "autoVerified" : false,
 │   "showAutoVerificationUI" : false,
 │   "supportsCustodianRecovery" : false,
 │   "hideSendSMSCodeOption" : false,
 │   "supervisedChangePasswordFlow" : false,
 │   "enableNonFTEU" : true,
 │   "trustedPhoneNumber" : {
 │     "nonFTEU" : true,
 │     "numberWithDialCode" : "+86 ••• •••• ••44",
 │     "obfuscatedNumber" : "••• •••• ••44",
 │     "lastTwoDigits" : "44",
 │     "pushMode" : "sms",
 │     "id" : 2
 │   },
 │   "hsa2Account" : true,
 │   "restrictedAccount" : false,
 │   "managedAccount" : false,
 │   "supportsRecovery" : true
 │ }
 ╰ /Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/isideload-0.2.20/src/auth/apple_account.rs:322

Error message

No response

Computer OS

macOS Sequoia

iloader version

2.0.10

What distribution of iloader did you download?

.dmg (macOS)

Please certify that if you use Windows, you have iTunes or Apple Mobile Devices installed, or if you use Linux, you have usbmuxd installed.

  • I certify the above is true

iOS Version

15.7.3

Phone model

iphone 15 plus

Please certify the following about your iPhone/iPad:

  • My phone is in developer mode
  • My phone has a passcode set
  • My phone is connected to my computer over USB

Do you have a paid or free developer account?

Free

Two-factor auth (2FA) type

Trusted Device

Activity

  1. added
    bug
    on Mar 26, 2026
  2. zws13579 commented on Mar 26, 2026

    @zws13579

    me too

  3. helixdragon500 commented on Mar 26, 2026

    @helixdragon500

    same i have tried everything

  4. notmalicik commented on Apr 14, 2026

    @notmalicik
    Contributor

    same here

  5. helixdragon500 commented on Apr 14, 2026

    @helixdragon500

    I managed to fix it. You need to login with your account on a apple device and then try signing in and enter the 2FA displayed on your apple device not the one from the sms.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions