Skip to content

AltServer 1.8.2: HTTP 415 when requesting SMS verification code (AppleDeveloperError 3000) #1844

Open

Description

@WhyAntoine

Description

After updating to AltServer 1.8.2, the previous Apple ID authentication error (-80045) appears to be resolved. However, I am now encountering a different error that prevents AltStore from being installed or refreshed.

AltServer fails when attempting to request an SMS verification code from Apple, returning HTTP 415 (Unsupported Media Type).

Steps to Reproduce

  1. Launch AltServer 1.8.2 on macOS.
  2. Connect the iPad to the Mac via USB or Wi-Fi.
  3. Select Install AltStore and choose the device.
  4. Enter Apple ID credentials when prompted.
  5. AltServer fails during the verification process with HTTP 415.

Expected Behavior

AltServer should successfully complete Apple ID authentication and allow AltStore installation or refresh.

Actual Behavior

The installation fails with the following error:

AltStore.AppleDeveloperError 3000

Could not request an SMS verification code from Apple.
Apple's authentication servers returned an error (HTTP 415).

Source File: AltSign/ALTAppleAPI+Authentication.swift
Source Line: 437
HTTPStatusCode: 415

Additional Information

  • AltServer version: 1.8.2
  • Platform: macOS
  • Device: iPad
  • Device OS: iPadOS 26.7.1
  • Connection: Both USB and Wi-Fi tested
  • Previous error: -80045 (before updating to 1.8.2)
  • Current error: HTTP 415 / AppleDeveloperError 3000
  • Repeated attempts produce the same result.

The issue occurs during Apple ID authentication, before the app installation process begins.

Is this a known regression in AltServer 1.8.2, or is there a workaround for the SMS verification request failure?

Thanks for your work on AltStore!

Image

Update — October 29, 2026

I've updated AltServer to 1.8.3 (macOS), but unfortunately the issue is still present.

I'm still getting exactly the same error:

AltStore.AppleDeveloperError 3000 — HTTP 415

AltServer fails when requesting the SMS verification code from Apple, preventing AltStore from being installed on my iPad (iPadOS 26.7.1).

The issue persists with both USB and Wi-Fi connections.

It looks like the 1.8.3 update did not address this particular authentication issue.

Thanks to everyone investigating this. Hopefully the proposed fix in rileytestut/AltSign#62 will help resolve it!

Update — November 23, 2026

Unfortunately, the issue is still not resolved with AltServer 1.8.4 on macOS.

The behavior has changed:

  1. AltServer now successfully requests an SMS verification code from Apple.
  2. I receive the SMS and enter the verification code.
  3. Instead of completing authentication, AltServer requests another SMS code.
  4. This repeats several times in a loop.
  5. Eventually, AltServer fails with AppleDeveloperError 3000 — HTTP 500.

The error details show:

  • Source: AltSign/ALTAppleAPI+Authentication.swift
  • Source line: 438
  • HTTP status: 500
  • Device: iPad, iPadOS 26.7.1
  • AltServer: 1.8.4 (macOS)

My Apple ID also has trusted Apple devices, which normally receive verification codes.

Could this be related to the authentication loop or inconsistent Anisette identity described in #1772, or to the incorrect 2FA method selection discussed earlier in this issue?

I've attached screenshots showing the latest error.

Thanks again for your continued investigation!

Activity

  1. anil-shrestha commented on Oct 24, 2026

    @anil-shrestha

    i am facing same issue

  2. Totoror123 commented on Oct 24, 2026

    @Totoror123

    I get the same issue when trying to sign in on my phone

  3. Necklac3 commented on Oct 24, 2026

    @Necklac3

    I have this issue too. This is killing me. But it's my American Apple account got this problem, my other Chinese Apple account worked fine.

  4. sj-pr commented on Oct 24, 2026

    @sj-pr

    Same issue here when installing

  5. codefan-byte commented on Oct 24, 2026

    @codefan-byte

    I get the same issue when trying to sign in on my phone

  6. manuelgimenez95 commented on Oct 25, 2026

    @manuelgimenez95

    I get the same issue!

  7. AdRyAniP commented on Oct 25, 2026

    @AdRyAniP

    I got the same error. In my case I have AltStore configured to use Remote AltServer with LocalDevVPN and I was affected by previous error -80045. Today I updated my AltStore to 2.3.1 and start receiving the error "Could not requet an SMS vertification code from Apple. Apple returned 415"

  8. WhyAntoine commented on Oct 25, 2026

    @WhyAntoine
    Author

    3. I have this issue too. This is killing me. But it's my American Apple account got this problem, my other Chinese Apple account worked fine.

    Same for my US  account

  9. awsaim commented on Oct 25, 2026

    @awsaim

    Same issue as everyone else

  10. matteodib commented on Oct 27, 2026

    @matteodib

    Same here

  11. Danrarbc commented on Oct 28, 2026

    @Danrarbc

    Same error here too.

  12. bhavya4312 commented on Oct 28, 2026

    @bhavya4312

    ++

  13. kisnner26 commented on Oct 29, 2026

    @kisnner26

    i traced this against the AltSign revision used by classic (e639bdf). the sms path still posts an xml plist to /auth/verify/phone/put?mode=sms, whereas isideload uses json with PUT /auth/verify/phone and nested fields for code verification.

    i opened a draft candidate at rileytestut/AltSign#62 with those changes. syntax and payload-serialization checks pass, but i have not completed a real sms sign-in, so this is not yet a confirmed fix. testing needs to cover receiving the sms, accepting its code, and completing sign-in on an affected account. please do not post credentials or verification codes here.

  14. kisnner26 commented on Nov 3, 2026

    @kisnner26

    for people still getting HTTP 415 when asking for the sms code (the ones where apple sends the code by text instead of to a trusted device): i opened a draft fix in rileytestut/AltSign#62. it sends the sms request the way isideload does today (PUT /auth/verify/phone with json, and POST /auth/verify/phone/securitycode for the code).

    i can't test it myself: my account gets the code on my trusted devices and never reaches the sms path, so this is not validated against apple. if you hit the 415 and want to try it, there is an experimental macos build here: https://github.com/kisnner26/AltStore/releases/tag/v1.8.2-sms-json-experimental (altserver 1.8.2 + that one change, unsigned, with checksums and the patch so you can check or rebuild it). please don't use it if you don't get the 415: the official 1.8.3 is newer and has the other fixes.

    what i need back is simple: did the sms arrive, did the code verify, did the sign-in finish. and your account's region if you know it, since most reports are us accounts.

  15. WhyAntoine commented on Nov 3, 2026

    @WhyAntoine
    Author

    15. for people still getting HTTP 415 when asking for the sms code (the ones where apple sends the code by text instead of to a trusted device): i opened a draft fix in rileytestut/AltSign#62. it sends the sms request the way isideload does today (PUT /auth/verify/phone with json, and POST /auth/verify/phone/securitycode for the code).
    i can't test it myself: my account gets the code on my trusted devices and never reaches the sms path, so this is not validated against apple. if you hit the 415 and want to try it, there is an experimental macos build here: https://github.com/kisnner26/AltStore/releases/tag/v1.8.2-sms-json-experimental (altserver 1.8.2 + that one change, unsigned, with checksums and the patch so you can check or rebuild it). please don't use it if you don't get the 415: the official 1.8.3 is newer and has the other fixes.
    what i need back is simple: did the sms arrive, did the code verify, did the sign-in finish. and your account's region if you know it, since most reports are us accounts.

    Thanks for investigating this!

    Interestingly, my situation is similar to yours: my Apple ID receives verification codes on my other trusted Apple devices, not via SMS.

    However, AltServer still attempts to request an SMS verification code and fails with HTTP 415 (AppleDeveloperError 3000).

    The issue persists with AltServer 1.8.3 on macOS, when trying to install AltStore on my iPad (iPadOS 26.7.1).

    It seems that AltServer may be incorrectly attempting the SMS verification flow even though my account uses trusted-device verification.

    Could this be a separate issue from the one your patch addresses? Or could your fix potentially help in this case as well?

    Thanks again for looking into this!

  16. kisnner26 commented on Nov 3, 2026

    @kisnner26

    thanks for the details, that's a useful data point. the 415 comes from the sms request itself, so it applies even if your codes normally go to your devices: altsign takes that path when apple's response to the sign-in says secondaryAuth. i can't tell why apple does that for your account.

    #62 only changes the format of that request, so it might help, but i haven't validated it against apple. if you want to try, the experimental build is the release linked above (macos, 1.8.2 + that change): https://github.com/kisnner26/AltStore/releases/tag/v1.8.2-sms-json-experimental

    what would help me: does the 415 go away, does an sms arrive, does the code verify and the sign-in finish. please include your macos version.

  17. Grillza commented on Nov 3, 2026

    @Grillza

    I had the same problem but found that it works with AppleIDs that was signed into the device. My throwaway dev account didn't work, signed it in under "Add account" ios settings, tried again and got a prompt for the MFA code. Altstore installed successfully.

  18. AdRyAniP commented on Nov 4, 2026

    @AdRyAniP

    18. I had the same problem but found that it works with AppleIDs that was signed into the device. My throwaway dev account didn't work, signed it in under "Add account" ios settings, tried again and got a prompt for the MFA code. Altstore installed successfully.

    This worked for me as well. Basically from App Store close your personal account session and open the one of your dev account (don't worry you can go back later to personal account without losing any app or anything).
    After that you can try again to refresh apps in AltStore and you will receive a prompt in the iphone with the code and in AltStore the prompt to introduce it.
    After introducing them the refresh works and you can switch back to your personal account in App Store.

    Thanks!

  19. jaakkopalvaila commented on Nov 6, 2026

    @jaakkopalvaila

    Data point for the fix in rileytestut/AltSign#62: the JSON SMS requests it switches to do work against Apple. I did not test the experimental AltServer build linked above. I tested the same requests from a C++ port in my AltServer-Linux fork, on 2026-11-05, with a free Apple ID that had SMS-only 2FA:

    • PUT /auth/verify/phone (JSON) sent the SMS,
    • POST /auth/verify/phone/securitycode (JSON) accepted the code,
    • the next sign-in completed and the install finished.

    Two details that may explain the mixed results in this thread:

    • For that SMS-only account, Apple's sign-in reply said au=trustedDeviceSecondaryAuth, not secondaryAuth. AltSign takes the SMS path only for secondaryAuth, so such an account can end up on the trusted-device path instead and never get a usable code.
    • The whole sign-in must use one anisette identity. With an anisette server that returns a new device for every request, the code is accepted for one device and the next sign-in from another device asks for 2FA again.

    Details: rileytestut/AltSign#62 (comment)

  20. kisnner26 commented on Nov 8, 2026

    @kisnner26

    update: rileytestut merged the fix in rileytestut/AltSign#62 and said an official update with it is coming soon. he confirmed it works signing in with his own test apple id that had this issue. jaakkopalvaila also checked the same json requests against apple above, thanks.

    so there's no need to use the experimental build i linked earlier: when the official update is out, use that. i don't know the release date. the experimental build stays up only as a reference (it's based on altserver 1.8.2, older than the official 1.8.3), and its release notes now say this too.

    thanks to everyone who gave details here, they helped narrow it down.

  21. gkoch02 commented on Nov 10, 2026

    @gkoch02

    Still failing for me on the official AltServer 1.8.4 (101), but now with HTTP 403 instead of 415.

    Setup: macOS 27.3 (26C5035r), iPhone 17 Pro on iOS 27.3 (24C5037i). Personal Apple ID with 2FA, three trusted devices plus a trusted phone number. First attempt on this account (not repeated retries).

    AltServer (Mac → install AltStore on the phone): right after entering Apple ID and password, it fails with:

    AltStore.AppleDeveloperError 3000: Could not request an SMS verification code from Apple. Apple's authentication servers returned an error (HTTP 403).
    Source: AltSign/ALTAppleAPI+Authentication.swift, line 438

    No push prompt appears on any trusted device before it falls back to SMS.

    AltStore on iOS (refresh via AltServer): it asks for a 2FA code, but no code is ever pushed to any trusted device. A code generated offline on the iPhone (Settings → Sign-In & Security → Get Verification Code, in Airplane Mode) is rejected as an incorrect verification code. AltStore is signed in with the same Apple ID as the iPhone, so it is not an account mismatch.

    So it looks like the JSON SMS request from AltSign#62 now reaches Apple and Apple refuses it (403), while the trusted-device path never delivers a push.

  22. jaakkopalvaila commented on Nov 10, 2026

    @jaakkopalvaila

    @gkoch02 A data point from the Linux port, which sends the same JSON requests as AltSign#62:

    AltSign chooses the 2FA method from au in the sign-in response: secondaryAuth → SMS, trustedDeviceSecondaryAuth → trusted device. On 2026-11-05 I saw au disagree with the account: an account with no trusted device got trustedDeviceSecondaryAuth. Your account has trusted devices but went down the SMS path, so it looks like the opposite case.

    What worked for me: read the account's 2FA info with GET https://gsa.apple.com/auth (it sends no code) and choose from that. noTrustedDevices → SMS, otherwise the trusted-device path.

    It may also explain the rejected offline code. I expect a code generated in Settings to validate only on the trusted-device endpoint, not on /auth/verify/phone/securitycode.

    I have not seen the 403 myself, and I have not sent the SMS request for an account that has trusted devices, so I can't say why Apple refuses it.

  23. ghostermncornell commented on Nov 16, 2026

    @ghostermncornell

    Sharing a workaround for the HTTP 403 error on macOS with AltServer 1.8.4. My Apple Account set to China mainland could sign in at account.apple.com, but AltServer returned AltStore.AppleDeveloperError 3000 (HTTP 403) when requesting an SMS verification code.

    I retried Install AltStore using a different Apple Account set to another region, and AltStore Classic installed successfully. If you already have another Apple Account, try using it in the AltServer installation prompt. This is what I observed with two accounts. I haven’t confirmed whether the account region caused the error.

  24. WhyAntoine commented on Nov 23, 2026

    @WhyAntoine
    Author

    Unfortunately, the issue is still not resolved with AltServer 1.8.4 on macOS.

    The behavior has changed:

    1. AltServer now successfully requests an SMS verification code from Apple.
    2. I receive the SMS and enter the verification code.
    3. Instead of completing authentication, AltServer requests another SMS code.
    4. This repeats several times in a loop.
    5. Eventually, AltServer fails with AppleDeveloperError 3000 — HTTP 500.

    The error details show:

    • Source: AltSign/ALTAppleAPI+Authentication.swift
    • Source line: 438
    • HTTP status: 500
    • Device: iPad, iPadOS 26.7.1
    • AltServer: 1.8.4 (macOS)

    My Apple ID also has trusted Apple devices, which normally receive verification codes.

    Could this be related to the authentication loop or inconsistent Anisette identity described in #1772, or to the incorrect 2FA method selection discussed earlier in this issue?

    I've attached screenshots showing the latest error.

    Снимок экрана — 2026-11-23 в 13 55 22 Снимок экрана — 2026-11-23 в 13 55 26

    Thanks again for your continued investigation!

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions