Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ipsw dl dev - add more docs about error cases #440

Open
2 tasks done
benjaminRomano opened this issue Apr 15, 2024 · 0 comments
Open
2 tasks done

ipsw dl dev - add more docs about error cases #440

benjaminRomano opened this issue Apr 15, 2024 · 0 comments
Assignees
Labels
bug Something isn't working triage

Comments

@benjaminRomano
Copy link

What happened?

I'm hitting the following error message:

   ⨯ failed to login: failed to sign in; expected status code 409 (for two factor auth): response received 401 

Running the following command:

ipsw download dev --os --json --pretty --output . -V

The issue is that I put the wrong credentials in. I had to manually go into Keychain Access to remove the invalid entry. To know to do that I had to look through the source code. it may be helpful to improve the diagnostic error message in this case.

e.g. include the response message in the output (only shown with -V).

Additionally I ran into a problem where once I had the correct credentials Apple was not sending me a verification code. On the website, I need to manually have it send SMS verification code. I'm not sure if it's possible to do that programmatically from the CLI though.

How can we reproduce this?

Insert invalid username / password and run dev download command.

ipsw version

latest

Search

  • I did search for other open and closed issues before opening this

Code of Conduct

  • I agree to follow this project's Code of Conduct

Additional context

No response

@benjaminRomano benjaminRomano added bug Something isn't working triage labels Apr 15, 2024
@blacktop blacktop changed the title failed to login: failed to sign in; expected status code 409 (for two factor auth): response received 401 ipsw dl dev - add more docs about error cases Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage
Projects
None yet
Development

No branches or pull requests

2 participants