Comments (7)
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.
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.
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.
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.
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.
feel free to close the issue if the fix is good
from ipsw.
works great. good job!
from ipsw.
Related Issues (20)
- SIGSEGV when scanning macOS 14.4.1 IPSW HOT 4
- ipsw swift-dump errors on Intel HOT 2
- Fix docs full text search HOT 1
- Resumed downloads freeze when complete
- New `ipsw verify` command? HOT 1
- Trying to `class-dump` UIKitCore results in out of range exception HOT 10
- fail to class dump HOT 5
- class dump all images HOT 1
- Truncating class-dump headers might cause them not to be properly imported in the umbrella.h
- 'ipsw dyld slide' Broken on MacOS 15 Beta Shared Cache HOT 2
- Sort members of generated headers for better diffing
- Crash when extracting entitlement in Mac_15.0_24A5279h beta build HOT 1
- ipsw symbolicate: hide absolute 0 from symbolicate panic backtraces HOT 1
- ipsw symbolicate: add 'unslide' support to panic 210 logs
- ipsw symbolicate: isCorpse is typed int (instead of bool) on iOS 15+ ips HOT 2
- Delta OTA's missed without --build and --version passed HOT 4
- ipsw_db missing new M4 iPads HOT 3
- failed to parse AEA encrypted DMG for iOS 18.1 Beta ipsw HOT 11
- Getting errors while trying to retrieve key for Mac ipsw or trying to decrypt directly the .dmg.aea file using the key. HOT 10
- ld error when linking with .tbd output of ipsw dyld tbd --private HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ipsw.