Search code examples
app-store-connectjava-clientapple-reporter

Apple Reporter returns "Invalid username and password" with valid credentials


I've been using Apple Reporter for several weeks without issue, but yesterday (7/20/2017) all my calls fail unexpectedly. My token is valid, I've refreshed and replaced it and setup a new account as an additional test. I can find no status or support page for this java client that Apple provides.

For anyone else using this client, are you experiencing the same issue (or have you encountered this before)? Below is the XML returned by the java client, but I am 100% certain that my username and password are, in fact, valid. No code changes or other changes were made on my side of this integration.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Error>
    <Code>108</Code>
    <Message>Invalid username and password. Change values and try again.</Message>
</Error>

Thanks for any and all help.


Solution

  • It turns out that Apple coincidentally just released a new version of the Reporter:

    We’ve also updated Reporter to let you generate an access token with the new generateToken command. To use this new command, download Reporter 2.2.

    ^ one important note about the above, is a noticeable change in the Reporter.properties file. Mode is defaulting to Normal, UserId is gone, and AccessToken replaces the Password option. Make sure you update all the details accordingly and then you'll be back on track.