GithubHelp home page GithubHelp logo

Comments (7)

blacktop avatar blacktop commented on May 27, 2024

412 PRECONDITION FAILED
One or more conditions given in the request header fields evaluated to false when tested on the server.

Can you describe more about what you were doing when you saw the error?

I don't understand:

When many (for me it is 6 phones) trusted phones used in Apple ID and used phone with non first ID download dev

from ipsw.

homebinary avatar homebinary commented on May 27, 2024

Apple ID can have several trusted phones. My Apple ID have 6 phones. When I choose last one (with ID=6), Apple server (https://idmsa.apple.com/appleauth/auth/verify/phone/securitycode) return 412 code.
If I change code to:

json.NewEncoder(buf).Encode(&phone{
			Number: phoneNumber{
				ID: 6,
			},

(hard code ID=6)
and recompile ipsw, error disappear for this trusted phone.

from ipsw.

blacktop avatar blacktop commented on May 27, 2024

Aww yes, I see what you mean! I need to support allowing the user to pick 1 out of many iDevices to choose from when entering the 2factor code!

from ipsw.

homebinary avatar homebinary commented on May 27, 2024

It is already done in UI! But not working in backend... There is phone choose, but ID in POST method always equals 1.

from ipsw.

blacktop avatar blacktop commented on May 27, 2024

This should be fixed in the latest release. Thank you for reporting! I vaguely remember when I first wrote this cmd that I was testing it so much that Apple flat out refused to send me ANY more SMS codes to my device and would ONLY do "trusted-device" push notifications. I also have only 1 device 😞 so I didn't notice this bug. Thank you! 👍

from ipsw.

blacktop avatar blacktop commented on May 27, 2024

feel free to close the issue if the fix is good

from ipsw.

homebinary avatar homebinary commented on May 27, 2024

works great. good job!

from ipsw.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.