Skip to content

iTunes Store returns error 2042 for expired login, rather than 2034 #414

@gitevedev

Description

@gitevedev

What happened?

In case the ipatool hadn't been used for some days, upon a bundle download attempt it returns an error Sign In to the iTunes Store with error code 2042.

The tool currently attempts to re-login automatically only if the 2034 (FailureTypePasswordTokenExpired) code is returned, and it just fails with 2042.

Can we add handling of the 2042 error to the tool similar to how 2034 is handled? Such auto-login doesn't seem to require 2FA.

A sketch of this idea can be found at gitevedev@a5847ef.

Version

2.2.0

Relevant log output

Sign In to the iTunes Store

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions