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)
- Trying to create a nix package. `no required module provides package github.com/blacktop/ipsw/pkg/sandbox/compile` HOT 5
- ⨯ failed to mount DMGs: failed to get SystemOS DMG: no SystemOS DMG found: cryptex not found HOT 2
- ipsw macho patch can only handle 1 build tool for LC_BUILD_VERSION HOT 2
- class-dump XCFramework only creates library for ios-arm64_x86_64-simulator HOT 26
- Remove AppBuildTime HOT 6
- `ipsw dsc slide --json` produces invalid JSON HOT 6
- class-dump: address not within any segment's address range HOT 7
- objc class-dump crash HOT 3
- ipsw dl dev - add more docs about error cases
- class dump objc categories class name missed for NSObject/UIView etc. HOT 14
- `ipsw class-dump` processForwardDeclarations protocol props/methods HOT 1
- `ipsw class-dump` pull structs out into Type.h file HOT 1
- `ipsw class-dump DSC Foundation --headers` not making a file for `_NSAttributedStringFromMarkdownCreator` protocol HOT 4
- why `ipsw` isn't able to locate the symbol for the NSObject class HOT 2
- ipsw can't parse symbol tables for macOS 14.4(.1) DSCs HOT 4
- ipsw swift-dump --arch option HOT 1
- Refresh `--help` output HOT 1
- error when class-dump HOT 12
- ipsw dyld extract --all fails with optimization failure HOT 2
- SIGSEGV when scanning macOS 14.4.1 IPSW HOT 4
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.