-
Notifications
You must be signed in to change notification settings - Fork 104
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
Unable to authenticate #13
Comments
Following. I have the same issue. |
Me too |
I have the same issue as well |
After more digging I found that But, unfortunately I have no experience with how to deal with or bypass them |
Start Charles proxy and sign out of amazon flex and then sign in back. In the Charles you will see api.amazon link, remember to enable SSL. Then copy your device serial number and frc from Charles and paste it into the script. And you are good to go. |
This is good info. Would you happen to know what the FRC string is for? And does it change between sessions? |
I don’t know. But I tested it on several peoples account who were getting error to connect and this trick worked for all of them.
Get Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
From: figamore ***@***.***>
Sent: Monday, August 15, 2022 12:58:57 PM
To: mdesilva/AmazonFlexUnlimited ***@***.***>
Cc: hedytt ***@***.***>; Comment ***@***.***>
Subject: Re: [mdesilva/AmazonFlexUnlimited] Unable to authenticate (Issue #13)
Start Charles proxy and sign out of amazon flex and then sign in back. In the Charles you will see api.amazon link, remember to enable SSL. Then copy your device serial number and frc from Charles and paste it into the script. And you are good to go.
This is good info. Would you happen to know what the FRC string is for? And does it change between sessions?
—
Reply to this email directly, view it on GitHub<#13 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AKAC6W2DTAF2KCUJJAJAYO3VZJZNDANCNFSM55LLMPSQ>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Did you setup any delay between each offer fetch request? Doesn’t Amazon flag you if you make too many requests too fast?
… On Aug 15, 2022, at 8:05 PM, hedytt ***@***.***> wrote:
I don’t know. But I tested it on several peoples account who were getting error to connect and this trick worked for all of them.
Get Outlook for iOS<https://aka.ms/o0ukef>
________________________________
From: figamore ***@***.***>
Sent: Monday, August 15, 2022 12:58:57 PM
To: mdesilva/AmazonFlexUnlimited ***@***.***>
Cc: hedytt ***@***.***>; Comment ***@***.***>
Subject: Re: [mdesilva/AmazonFlexUnlimited] Unable to authenticate (Issue #13)
Start Charles proxy and sign out of amazon flex and then sign in back. In the Charles you will see api.amazon link, remember to enable SSL. Then copy your device serial number and frc from Charles and paste it into the script. And you are good to go.
This is good info. Would you happen to know what the FRC string is for? And does it change between sessions?
—
Reply to this email directly, view it on GitHub<#13 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AKAC6W2DTAF2KCUJJAJAYO3VZJZNDANCNFSM55LLMPSQ>.
You are receiving this because you commented.Message ID: ***@***.***>
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.
|
I did 1 sec delay
Get Outlook for iOS<https://aka.ms/o0ukef>
________________________________
From: figamore ***@***.***>
Sent: Monday, August 15, 2022 1:30:21 PM
To: mdesilva/AmazonFlexUnlimited ***@***.***>
Cc: hedytt ***@***.***>; Comment ***@***.***>
Subject: Re: [mdesilva/AmazonFlexUnlimited] Unable to authenticate (Issue #13)
Did you setup any delay between each offer fetch request? Doesn’t Amazon flag you if you make too many requests too fast?
On Aug 15, 2022, at 8:05 PM, hedytt ***@***.***> wrote:
I don’t know. But I tested it on several peoples account who were getting error to connect and this trick worked for all of them.
Get Outlook for iOS<https://aka.ms/o0ukef>
________________________________
From: figamore ***@***.***>
Sent: Monday, August 15, 2022 12:58:57 PM
To: mdesilva/AmazonFlexUnlimited ***@***.***>
Cc: hedytt ***@***.***>; Comment ***@***.***>
Subject: Re: [mdesilva/AmazonFlexUnlimited] Unable to authenticate (Issue #13)
Start Charles proxy and sign out of amazon flex and then sign in back. In the Charles you will see api.amazon link, remember to enable SSL. Then copy your device serial number and frc from Charles and paste it into the script. And you are good to go.
This is good info. Would you happen to know what the FRC string is for? And does it change between sessions?
—
Reply to this email directly, view it on GitHub<#13 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AKAC6W2DTAF2KCUJJAJAYO3VZJZNDANCNFSM55LLMPSQ>.
You are receiving this because you commented.Message ID: ***@***.***>
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.
—
Reply to this email directly, view it on GitHub<#13 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AKAC6W3DVGIH26BA6WPNRZLVZJ5C3ANCNFSM55LLMPSQ>.
You are receiving this because you commented.Message ID: ***@***.***>
|
@mkb79 Thanks for your insight here on the FRC key. Do you know if there is a way to generate the FRC without the user having to sign in to Amazon Flex on their device ? |
No need to waste time with the FRC. Amazn doesn't require it anymore. Better find out what the best way not to get rate limited is instead. |
@figamore |
I understand that, but specifically for Amazon Flex this is not needed. |
@figamore |
You just don't need it on this platform. The requests will succeed whether or not you include FRC. |
Repo has been cloned, but I still can't authenticate for nothing. So how are you guys bypassing this issue if it's not an FRC problem? |
Amz changed the Flex login and rate limiting workflow recently. This bot is good as dead. If you want to keep playing around with it, the way to login is by logging in to amazon with your flex account through a browser on the computer you're running the script in, verify your email/phone, and then it will let you login. |
Thanks, I was able to authenticate following your advice. Now it complains about ERROR: 'twilioAcctSid' was not set. That looks like it's an option on the config file. I have tried to set the twilioAcctSID with my deviceId and twilioAuthToken with deviceSerialNumber sniffed from charlesproxy. That didn't work. |
You should only set twilioACCTSID with the SID of your Twilio API if and only if you have a Twilio account and want to receive text notifications, otherwise leave it blank. Also, there's a spelling mistake in the variable twilioAcctSid. Make sure its spelled the same in both the config file and the main bot python file, I think "twilioAcctSID" in config file needs to be changed to "twilioAcctSid" |
@figamore The typo with the |
I've posted a link to an example, how to register a Goodreads device, above. This can be adept to Amazon Flex. If you have 2FA enabled, you can add your OTP code to your password or you have to solve a challenge on a Amazon page. And then you are in. Besides a access token, the device registration response gives you a refresh token too. So you can refresh your token without needing a new device registration (or authorization). |
Thanks mkb79 |
Thanks for the help.
I have tried many times to set/ export the variables (AMZNFLEXUSERNAME & AMZNFLEXPWD), but it is giving me the following:
"Unable to authenticate to Amazon Flex. Please provide a valid Amazon Flex username and password."
Is the app still working?
The text was updated successfully, but these errors were encountered: