mdesilva / AmazonFlexUnlimited

Automate the process of grabbing job blocks from Amazon Flex
168 stars 102 forks source link

Amazon flagged me !!!!!!! #93

Open MY20-PHEV opened 1 year ago

MY20-PHEV commented 1 year ago

Just a heads up, I used this script and it worked well for me through Jan and part of Feb. Then I got an email from Amazon detailing a period of 7 days that they detected I was using a bot to get blocks. Basically Ive not used it since but Im really missing it !!!! Was wondering if anyone has had a similar experience ? I was running the bot practically 24/7 but never refreshed in the actual app while it was running. I started to look into this script a bit further and captured the TCP packets from the flex app and noticed that part of the headers sent to the API are supposed to be signed. Even though the script works fine without signed headers it would be nice to be able to figure out how the signatures are created. Any thoughts ?

kyleanderson84 commented 1 year ago

Oh no, did you possibly get the Captcha without noticing? Response number 307 triggers it on an attempted route pick up. I almost never run my app, since surges are very predictable

MY20-PHEV commented 1 year ago

Oh no, did you possibly get the Captcha without noticing? Response number 307 triggers it on an attempted route pick up. I almost never run my app, since surges are very predictable

I got flagged about a month ago, so long before this new captcha thing.

It was only a warning email but sinister enough (amazon style) to let me know that repeated use would lead to termination !

I dare not use it since, but really need it at the minute in the UK :(

MY20-PHEV commented 1 year ago

this was the email

We've reviewed your account and noticed that on 2023-02-12,2023-02-13,2023-02-14,2023-02-15,2023-02-16,2023-02-17 you used third-party applications or technology, such as bots (robots), to schedule blocks with Amazon Flex. As a result, this instance will be included in your delivery history.

Using third-party applications or technology, such as bots to schedule blocks is a violation of the Terms of Service and also negatively impacts other delivery partners. Repeated instances could impact your eligibility in the programme even if your Standing isn't Below Standards.

If you believe this is an error, below are some suggestions to secure your account:

• Limit the number of devices you use for Amazon Flex. • Limit the number of Amazon Flex accounts that share one device. • Regularly change your password.

If you would like to appeal this outcome, please email amazonflex-support@amazon.co.uk providing additional information within ten (10) days of receiving this notice.

The Amazon Flex Team

iFrostCakes commented 1 year ago

this was the email

We've reviewed your account and noticed that on 2023-02-12,2023-02-13,2023-02-14,2023-02-15,2023-02-16,2023-02-17 you used third-party applications or technology, such as bots (robots), to schedule blocks with Amazon Flex. As a result, this instance will be included in your delivery history.

Using third-party applications or technology, such as bots to schedule blocks is a violation of the Terms of Service and also negatively impacts other delivery partners. Repeated instances could impact your eligibility in the programme even if your Standing isn't Below Standards.

If you believe this is an error, below are some suggestions to secure your account:

• Limit the number of devices you use for Amazon Flex. • Limit the number of Amazon Flex accounts that share one device. • Regularly change your password.

If you would like to appeal this outcome, please email amazonflex-support@amazon.co.uk providing additional information within ten (10) days of receiving this notice.

The Amazon Flex Team

What date did you get the email? Curious to see the turn-around time from when they catch you to when they send you an email.

MY20-PHEV commented 1 year ago

I got the email on the 21st Feb, so approx 1 week after the dates they listed.

ransel2016 commented 1 year ago

Oh no, did you possibly get the Captcha without noticing? Response number 307 triggers it on an attempted route pick up. I almost never run my app, since surges are very predictable

Good evening, the status code of the new captcha is 307?

gmcsnetwork commented 1 year ago

Yes, the response code 307 is indicative of the captcha prompt. To work around it, stop the script, open the mobile app, accept any available route and complete the captcha, cancel the offer and restart the script.

ransel2016 commented 1 year ago

Does the script have to be stopped after entering a status code 200 or before?

gmcsnetwork commented 1 year ago

As far as I can tell the script continue to get the list of available offers without issues but when it tries to accept an offer it gets the 307 response code requiring you to complete captcha in the mobile app. Once you restart the script, it is able to accept other offers. I'm still trying to figure out how often the 307 code will come up, so far I have seen it once.

ransel2016 commented 1 year ago

Can you help me in which part of the code I have to add the 307 error because I'm not sure, thanks in advance

gmcsnetwork commented 1 year ago

The response 307 comes from Amazon, the script should display a message "Unable to accept an offer. Request returned status code 307"

ransel2016 commented 1 year ago

I think I understand you, I must enter the error code 307 where the script asks for error 410, which is the one that detects the offers that were lost, am I right?

gmcsnetwork commented 1 year ago

The script already displays any status code if it fails to accept an offer. In this case instead of 410 it will display 307

See Line 411 Log.error(f"Unable to accept an offer. Request returned status code {request.status_code}")

ransel2016 commented 1 year ago

Perfect, thank you very much for the information.

asadbek064 commented 1 year ago

The script already displays any status code if it fails to accept an offer. In this case instead of 410 it will display 307

See Line 411

Log.error(f"Unable to accept an offer. Request returned status code {request.status_code}")

Should I cancel the script if it detects 307 and ask user to solve the captach.

John3356 commented 11 months ago

Any one can help me to set up amazon flex step by step to get blocks