mdesilva / AmazonFlexUnlimited

Automate the process of grabbing job blocks from Amazon Flex
150 stars 99 forks source link

Keep getting captcha #144

Open tech818 opened 10 months ago

tech818 commented 10 months ago

Is there a reason why I keep getting hit with captcha? I tried logging in via flex app and accepting a random block and finishing the captcha but when I turn the bot on again I get the captcha sent.

cesarmayo commented 9 months ago

I don't know what you guys are doing wrong, but mine worked like a charm. If you don't want to believe it, continue as you were using it and that's fine.

Only today my bot grabbed 3 blocks for next week. The captcha has been resolved automatically several times.

Could you please share the whole code with me???

Vasa211 commented 9 months ago

The captcha has been resolved automatically several times.

Can you send your answer after request with url and cookies from anticaptcha

Becase I (and i think all users) received:

Status code: 503 Text: To discuss automated access to Amazon data please contact api-services-support@amazon.com. For information about migrating to our APIs refer to our Marketplace APIs at https://developer.amazonservices.com/ref=rm_5_sv, or our Product Advertising API at https://affiliate-program.amazon.com/gp/advertising/api/detail/main.html/ref=rm_5_ac for advertising use cases.

<!doctype html>

Sorry! Something went wrong! Amazon.com
Sorry! Something went wrong on our end. Please go back and try again or go to Amazon's home page.
Dogs of Amazon
lpcs007 commented 9 months ago

I don't know what you guys are doing wrong, but mine worked like a charm. If you don't want to believe it, continue as you were using it and that's fine. Only today my bot grabbed 3 blocks for next week. The captcha has been resolved automatically several times.

your solving is successful but submitting id to amazon failed. add codes below you'll see amazon rejects your submissions. also as other guys mentioned you are not using proxy to match IPs so guaranteed to get deactivated.

x = requests.get(result["url"], cookies=result["cookies"]) print(x.status_code) print(x.text)

y = requests.request("POST", "https://flex-capacity-na.amazon.com/ValidateChallenge", headers=self.__requestHeaders, data=payload) print(y.status_code) print(y.text)

Ok and what solution do you have for that?

Vasa211 commented 9 months ago

I don't know what you guys are doing wrong, but mine worked like a charm. If you don't want to believe it, continue as you were using it and that's fine. Only today my bot grabbed 3 blocks for next week. The captcha has been resolved automatically several times.

your solving is successful but submitting id to amazon failed. add codes below you'll see amazon rejects your submissions. also as other guys mentioned you are not using proxy to match IPs so guaranteed to get deactivated. x = requests.get(result["url"], cookies=result["cookies"]) print(x.status_code) print(x.text) y = requests.request("POST", "https://flex-capacity-na.amazon.com/ValidateChallenge", headers=self.__requestHeaders, data=payload) print(y.status_code) print(y.text)

Ok and what solution do you have for that?

Today I have traced all requests, the conclusion is as follows: it is not possible to safely solve captcha automatically with this code (AmazonFlexUnlimited), even if you pass captcha, it will be a "red flag" for amazon, passing proxy to anti-captcha will not help here. Missing parameters starting with authorization

lovespot commented 9 months ago

I don't know what you guys are doing wrong, but mine worked like a charm. If you don't want to believe it, continue as you were using it and that's fine. Only today my bot grabbed 3 blocks for next week. The captcha has been resolved automatically several times.

your solving is successful but submitting id to amazon failed. add codes below you'll see amazon rejects your submissions. also as other guys mentioned you are not using proxy to match IPs so guaranteed to get deactivated. x = requests.get(result["url"], cookies=result["cookies"]) print(x.status_code) print(x.text) y = requests.request("POST", "https://flex-capacity-na.amazon.com/ValidateChallenge", headers=self.__requestHeaders, data=payload) print(y.status_code) print(y.text)

Ok and what solution do you have for that?

Seems amazon add some encryption in fingerprint. Unless we know exact underlying algo there is no way to overcome this.

Anyway there is no point to auto solve it as after 20 seconds offers have already be gone :(

lpcs007 commented 9 months ago

I don't know what you guys are doing wrong, but mine worked like a charm. If you don't want to believe it, continue as you were using it and that's fine. Only today my bot grabbed 3 blocks for next week. The captcha has been resolved automatically several times.

your solving is successful but submitting id to amazon failed. add codes below you'll see amazon rejects your submissions. also as other guys mentioned you are not using proxy to match IPs so guaranteed to get deactivated. x = requests.get(result["url"], cookies=result["cookies"]) print(x.status_code) print(x.text) y = requests.request("POST", "https://flex-capacity-na.amazon.com/ValidateChallenge", headers=self.__requestHeaders, data=payload) print(y.status_code) print(y.text)

Ok and what solution do you have for that?

Seems amazon add some encryption in fingerprint. Unless we know exact underlying algo there is no way to overcome this.

Anyway there is no point to auto solve it as after 20 seconds offers have already be gone :(

My suggestion, which I'm already working on, is to resolve the captcha constantly every X minutes. This way, it won't ask to resolve the captcha when an offer appears. However, I know that this can increase the risk of account ban. Therefore, I intend to leave this option as optional so that each person can decide to take the risk.

jczapatap commented 9 months ago

mine is working smoothly, Thank you very much for sharing

On Mon, Sep 11, 2023 at 3:02 PM lpcs007 @.***> wrote:

I don't know what you guys are doing wrong, but mine worked like a charm. If you don't want to believe it, continue as you were using it and that's fine. Only today my bot grabbed 3 blocks for next week. The captcha has been resolved automatically several times.

your solving is successful but submitting id to amazon failed. add codes below you'll see amazon rejects your submissions. also as other guys mentioned you are not using proxy to match IPs so guaranteed to get deactivated. x = requests.get(result["url"], cookies=result["cookies"]) print(x.status_code) print(x.text) y = requests.request("POST", " https://flex-capacity-na.amazon.com/ValidateChallenge", headers=self.__requestHeaders, data=payload) print(y.status_code) print(y.text)

Ok and what solution do you have for that?

Seems amazon add some encryption in fingerprint. Unless we know exact underlying algo there is no way to overcome this.

Anyway there is no point to auto solve it as after 20 seconds offers have already be gone :(

My suggestion, which I'm already working on, is to resolve the captcha constantly every X minutes. This way, it won't ask to resolve the captcha when an offer appears. However, I know that this can increase the risk of account ban. Therefore, I intend to leave this option as optional so that each person can decide to take the risk.

— Reply to this email directly, view it on GitHub https://github.com/mdesilva/AmazonFlexUnlimited/issues/144#issuecomment-1714425663, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6V47K5M2ZLT7EYKVFG6GK3XZ5N5RANCNFSM6AAAAAA3ERUU7M . You are receiving this because you commented.Message ID: @.***>

lovespot commented 9 months ago

Today I contacted amazon on behalf of my company which develops commercial software. So in order to programmatically solve captcha you must register with amazon to get some authentication code and include it in your requests. That explains why our attempts fail......

lpcs007 commented 9 months ago

Today I contacted amazon on behalf of my company which develops commercial software. So in order to programmatically solve captcha you must register with amazon to get some authentication code and include it in your requests. That explains why our attempts fail......

And how to register?

lovespot commented 9 months ago

Today I contacted amazon on behalf of my company which develops commercial software. So in order to programmatically solve captcha you must register with amazon to get some authentication code and include it in your requests. That explains why our attempts fail......

And how to register?

Basically captcha service is a public service aws offers. Any corporate which wants to use it needs to register with aws. Flex is just a captcha service user. To answer your question - only Flex team can use their authentication code. So call Flex to get it ......

sdubzz commented 9 months ago

@lpcs007 in your code you should add a check for the response code from the /ValidateChallenge endpoint. Code 200 means the puzzle was solved correctly. Code 498 means the validation failed.

Anticaptcha solutions will often cause the code 498 error because many of their workers have created their own bots to automate solving the "amazon uniqueValidationId" Antigate template. In order for one of their workers to complete the Antigate task, they simply have to follow the set of instructions which can be found if you search for the template on their site. In order to complete the task, all they need to do is create a bot that navigates to a fake url (for example, I typed this out myself, it's a valid URL but I generated the uuid4 token: https://www.amazon.com/?clientId=flex-offers&sessionToken=%7B%22uniqueValidationId%22%3A%22ad855aef-a016-44ab-b28d-39ce36a7d694%22%7D

I have tried multiple times to make my own recreations of the "amazon uniqueValidationId" template (you can make your own in the Anticaptcha Developer's Center). Because the Funcaptchas are nested within iframes, there is little that can be done to add more steps to the template that will completely prevent a bot from cheating the template. You can't access any of the attributes of the elements within the iframes to use with the template steps. Using a custom template and testing it, you can also see how you can easily cheat the template. When using the Anticaptcha plugin to test the template, start the task, then simply edit the URL and enter a random uuid4 token. It counts as a solve.

I have noticed that for a short while after I create my own private template, the workers who solve them do not cheat, my captcha submissions to the Flex api return code 200. Most likely because they haven't adjusted their bots to account for my custom template steps. But after a day or two, all of a sudden most of the submissions to the /ValidateChallenge endpoint return 498 error codes.

I know that their workers cheat because the admin of Anticaptcha told me: "I'm afraid there's a bunch of cheaters who don't solve anything and fraud our backend by submitting the same result over and over. I made a few templates to fight this problem, but they quickly adapt, solve those templates by hand and fraud the rest".

After some back and forth over a few days, I sent them this message: "If you insist that you do not wish to discuss this any further and that there is nothing else you can do to help me, then I will close this ticket and will not bring it up again. I am very frustrated because your service was working very well up until a couple weeks ago when this fraud started. Out of all the other captcha services I tried, none could provide me with consistent, accurate solutions. Yours worked perfectly. It will be with great disappointment if I have to discontinue using your service because of this unsolved problem. I do not want to go through the hassle of speaking to the incompetent support from other services who don't even understand my questions. The reason why I immediately appreciated and respected your service is because you responded to my initial tickets a few months ago with a clear understanding and knowledge of your application and captchas. I apologize if my tone has become agitated as our conversation progressed. I have become increasingly frustrated seeing my funds drain 10x as fast as they did in previous months using your service." (due to requesting 10 captcha solves to finally receive a genuinely solved token that returns code 200 when validated)

Their response: "I'm not tolerating any accusations that this is fraud and I'm standing behind this. I'm refunding the remaining of the balance and removing verified status. No more support, no more payment with cards. Only crypto payment. Have a wonderful life."

Maybe if more people bring this issue up to them then they will do something about it. Until then, Anticaptcha may not be the best solution, but I haven't found another one that works to provide the uniqueValidationId which is generated in the same browser as the Funcaptcha that must be solved by the worker. Most captcha services send back the Funcaptcha token but that is useless without an associated uniqueValidationId.

One last note: Make sure to send a proxy to Anticaptcha, The proxy IP must match the IP sent with the /ValidateChallenge request. If they don't match, you will still get a 200 code. But you can expect to receive a detection email (that was my experience at least).

Vasa211 commented 9 months ago

@lpcs007 in your code you should add a check for the response code from the /ValidateChallenge endpoint. Code 200 means the puzzle was solved correctly. Code 498 means the validation failed.

Anticaptcha solutions will often cause the code 498 error because many of their workers have created their own bots to automate solving the "amazon uniqueValidationId" Antigate template. In order for one of their workers to complete the Antigate task, they simply have to follow the set of instructions which can be found if you search for the template on their site. In order to complete the task, all they need to do is create a bot that navigates to a fake url (for example, I typed this out myself, it's a valid URL but I generated the uuid4 token: https://www.amazon.com/?clientId=flex-offers&sessionToken=%7B%22uniqueValidationId%22%3A%22ad855aef-a016-44ab-b28d-39ce36a7d694%22%7D

I have tried multiple times to make my own recreations of the "amazon uniqueValidationId" template (you can make your own in the Anticaptcha Developer's Center). Because the Funcaptchas are nested within iframes, there is little that can be done to add more steps to the template that will completely prevent a bot from cheating the template. You can't access any of the attributes of the elements within the iframes to use with the template steps. Using a custom template and testing it, you can also see how you can easily cheat the template. When using the Anticaptcha plugin to test the template, start the task, then simply edit the URL and enter a random uuid4 token. It counts as a solve.

I have noticed that for a short while after I create my own private template, the workers who solve them do not cheat, my captcha submissions to the Flex api return code 200. Most likely because they haven't adjusted their bots to account for my custom template steps. But after a day or two, all of a sudden most of the submissions to the /ValidateChallenge endpoint return 498 error codes.

I know that their workers cheat because the admin of Anticaptcha told me: "I'm afraid there's a bunch of cheaters who don't solve anything and fraud our backend by submitting the same result over and over. I made a few templates to fight this problem, but they quickly adapt, solve those templates by hand and fraud the rest".

After some back and forth over a few days, I sent them this message: "If you insist that you do not wish to discuss this any further and that there is nothing else you can do to help me, then I will close this ticket and will not bring it up again. I am very frustrated because your service was working very well up until a couple weeks ago when this fraud started. Out of all the other captcha services I tried, none could provide me with consistent, accurate solutions. Yours worked perfectly. It will be with great disappointment if I have to discontinue using your service because of this unsolved problem. I do not want to go through the hassle of speaking to the incompetent support from other services who don't even understand my questions. The reason why I immediately appreciated and respected your service is because you responded to my initial tickets a few months ago with a clear understanding and knowledge of your application and captchas. I apologize if my tone has become agitated as our conversation progressed. I have become increasingly frustrated seeing my funds drain 10x as fast as they did in previous months using your service." (due to requesting 10 captcha solves to finally receive a genuinely solved token that returns code 200 when validated)

Their response: "I'm not tolerating any accusations that this is fraud and I'm standing behind this. I'm refunding the remaining of the balance and removing verified status. No more support, no more payment with cards. Only crypto payment. Have a wonderful life."

Maybe if more people bring this issue up to them then they will do something about it. Until then, Anticaptcha may not be the best solution, but I haven't found another one that works to provide the uniqueValidationId which is generated in the same browser as the Funcaptcha that must be solved by the worker. Most captcha services send back the Funcaptcha token but that is useless without an associated uniqueValidationId.

One last note: Make sure to send a proxy to Anticaptcha, The proxy IP must match the IP sent with the /ValidateChallenge request. If they don't match, you will still get a 200 code. But you can expect to receive a detection email (that was my experience at least).

I completely agree with you! I've been struggling with the captcha for 3 weeks now, and there's no perfect automated solution yet. I've tried probably all the services for solving captchas, including trying to go through the audio captcha, but it's all in vain. I know that there are bots that offer auto-passed, and I'm more than sure that there is nothing new there and they just do it through anti-captcha, which is actually very low quality

zmkaihan commented 9 months ago

@sdubzz please let me know how can I send a proxy to Anticaptcha, your help will be much appreciated.

Vasa211 commented 9 months ago

@sdubzz please let me know how can I send a proxy to Anticaptcha, your help will be much appreciated.

Read instruction in faq anti-captcha api

*but anti-captcha need personal clear proxy, and fast proxy (bruted residential proxy its trash)

zmkaihan commented 9 months ago

@Vasa211 I am really confused with proxy can you give me an example in the code of how to request through a proxy and send that proxy IP back to anti-captcha ?? what is the best proxy that I can use here?

lpcs007 commented 9 months ago

@lpcs007 in your code you should add a check for the response code from the /ValidateChallenge endpoint. Code 200 means the puzzle was solved correctly. Code 498 means the validation failed.

Anticaptcha solutions will often cause the code 498 error because many of their workers have created their own bots to automate solving the "amazon uniqueValidationId" Antigate template. In order for one of their workers to complete the Antigate task, they simply have to follow the set of instructions which can be found if you search for the template on their site. In order to complete the task, all they need to do is create a bot that navigates to a fake url (for example, I typed this out myself, it's a valid URL but I generated the uuid4 token: https://www.amazon.com/?clientId=flex-offers&sessionToken=%7B%22uniqueValidationId%22%3A%22ad855aef-a016-44ab-b28d-39ce36a7d694%22%7D

I have tried multiple times to make my own recreations of the "amazon uniqueValidationId" template (you can make your own in the Anticaptcha Developer's Center). Because the Funcaptchas are nested within iframes, there is little that can be done to add more steps to the template that will completely prevent a bot from cheating the template. You can't access any of the attributes of the elements within the iframes to use with the template steps. Using a custom template and testing it, you can also see how you can easily cheat the template. When using the Anticaptcha plugin to test the template, start the task, then simply edit the URL and enter a random uuid4 token. It counts as a solve.

I have noticed that for a short while after I create my own private template, the workers who solve them do not cheat, my captcha submissions to the Flex api return code 200. Most likely because they haven't adjusted their bots to account for my custom template steps. But after a day or two, all of a sudden most of the submissions to the /ValidateChallenge endpoint return 498 error codes.

I know that their workers cheat because the admin of Anticaptcha told me: "I'm afraid there's a bunch of cheaters who don't solve anything and fraud our backend by submitting the same result over and over. I made a few templates to fight this problem, but they quickly adapt, solve those templates by hand and fraud the rest".

After some back and forth over a few days, I sent them this message: "If you insist that you do not wish to discuss this any further and that there is nothing else you can do to help me, then I will close this ticket and will not bring it up again. I am very frustrated because your service was working very well up until a couple weeks ago when this fraud started. Out of all the other captcha services I tried, none could provide me with consistent, accurate solutions. Yours worked perfectly. It will be with great disappointment if I have to discontinue using your service because of this unsolved problem. I do not want to go through the hassle of speaking to the incompetent support from other services who don't even understand my questions. The reason why I immediately appreciated and respected your service is because you responded to my initial tickets a few months ago with a clear understanding and knowledge of your application and captchas. I apologize if my tone has become agitated as our conversation progressed. I have become increasingly frustrated seeing my funds drain 10x as fast as they did in previous months using your service." (due to requesting 10 captcha solves to finally receive a genuinely solved token that returns code 200 when validated)

Their response: "I'm not tolerating any accusations that this is fraud and I'm standing behind this. I'm refunding the remaining of the balance and removing verified status. No more support, no more payment with cards. Only crypto payment. Have a wonderful life."

Maybe if more people bring this issue up to them then they will do something about it. Until then, Anticaptcha may not be the best solution, but I haven't found another one that works to provide the uniqueValidationId which is generated in the same browser as the Funcaptcha that must be solved by the worker. Most captcha services send back the Funcaptcha token but that is useless without an associated uniqueValidationId.

One last note: Make sure to send a proxy to Anticaptcha, The proxy IP must match the IP sent with the /ValidateChallenge request. If they don't match, you will still get a 200 code. But you can expect to receive a detection email (that was my experience at least).

Thanks for suggesting return codes.

Did you receive this email?

Hi there,

Recently we were receiving a number of complaints about Amazon tokens bypass ratio. Our guess it that there are some workers running cheating bot programs, which post fake Antigate Template results. As we are not able to build a verification ourselves, we need your help to eliminate this problem. All you need to do is to report both good and bad task IDs by using these methods:

https://anti-captcha.com/apidoc/methods/reportCorrectRecaptcha
https://anti-captcha.com/apidoc/methods/reportIncorrectRecaptcha

Don't be confused by methods names, they do their job. If we're able to gather enough data, then we'll be able to knock out those fraud workers and you'll be receiving 100% quality tokens. Please take your action and don't ignore this message, there are just a few customers who are submitting this type of tasks and you're one of them. What we have now is that several people are complaining, we're suggesting the solution and only one of them is actually sending reports in amounts which are not enough to catch all bad workers.

Thank you.

Have a nice day,
Anti-Captcha 

I just didn't understand because in the email it refers to Amazon but the documentation link is from Recaptcha. I'm adjusting my code so that when it receives a return other than 200, it resubmits it and maybe sends the AntiCaptcha report

Vasa211 commented 9 months ago

@lpcs007 in your code you should add a check for the response code from the /ValidateChallenge endpoint. Code 200 means the puzzle was solved correctly. Code 498 means the validation failed. Anticaptcha solutions will often cause the code 498 error because many of their workers have created their own bots to automate solving the "amazon uniqueValidationId" Antigate template. In order for one of their workers to complete the Antigate task, they simply have to follow the set of instructions which can be found if you search for the template on their site. In order to complete the task, all they need to do is create a bot that navigates to a fake url (for example, I typed this out myself, it's a valid URL but I generated the uuid4 token: https://www.amazon.com/?clientId=flex-offers&sessionToken=%7B%22uniqueValidationId%22%3A%22ad855aef-a016-44ab-b28d-39ce36a7d694%22%7D I have tried multiple times to make my own recreations of the "amazon uniqueValidationId" template (you can make your own in the Anticaptcha Developer's Center). Because the Funcaptchas are nested within iframes, there is little that can be done to add more steps to the template that will completely prevent a bot from cheating the template. You can't access any of the attributes of the elements within the iframes to use with the template steps. Using a custom template and testing it, you can also see how you can easily cheat the template. When using the Anticaptcha plugin to test the template, start the task, then simply edit the URL and enter a random uuid4 token. It counts as a solve. I have noticed that for a short while after I create my own private template, the workers who solve them do not cheat, my captcha submissions to the Flex api return code 200. Most likely because they haven't adjusted their bots to account for my custom template steps. But after a day or two, all of a sudden most of the submissions to the /ValidateChallenge endpoint return 498 error codes. I know that their workers cheat because the admin of Anticaptcha told me: "I'm afraid there's a bunch of cheaters who don't solve anything and fraud our backend by submitting the same result over and over. I made a few templates to fight this problem, but they quickly adapt, solve those templates by hand and fraud the rest". After some back and forth over a few days, I sent them this message: "If you insist that you do not wish to discuss this any further and that there is nothing else you can do to help me, then I will close this ticket and will not bring it up again. I am very frustrated because your service was working very well up until a couple weeks ago when this fraud started. Out of all the other captcha services I tried, none could provide me with consistent, accurate solutions. Yours worked perfectly. It will be with great disappointment if I have to discontinue using your service because of this unsolved problem. I do not want to go through the hassle of speaking to the incompetent support from other services who don't even understand my questions. The reason why I immediately appreciated and respected your service is because you responded to my initial tickets a few months ago with a clear understanding and knowledge of your application and captchas. I apologize if my tone has become agitated as our conversation progressed. I have become increasingly frustrated seeing my funds drain 10x as fast as they did in previous months using your service." (due to requesting 10 captcha solves to finally receive a genuinely solved token that returns code 200 when validated) Their response: "I'm not tolerating any accusations that this is fraud and I'm standing behind this. I'm refunding the remaining of the balance and removing verified status. No more support, no more payment with cards. Only crypto payment. Have a wonderful life." Maybe if more people bring this issue up to them then they will do something about it. Until then, Anticaptcha may not be the best solution, but I haven't found another one that works to provide the uniqueValidationId which is generated in the same browser as the Funcaptcha that must be solved by the worker. Most captcha services send back the Funcaptcha token but that is useless without an associated uniqueValidationId. One last note: Make sure to send a proxy to Anticaptcha, The proxy IP must match the IP sent with the /ValidateChallenge request. If they don't match, you will still get a 200 code. But you can expect to receive a detection email (that was my experience at least).

Thanks for suggesting return codes.

Did you receive this email?

Hi there,

Recently we were receiving a number of complaints about Amazon tokens bypass ratio. Our guess it that there are some workers running cheating bot programs, which post fake Antigate Template results. As we are not able to build a verification ourselves, we need your help to eliminate this problem. All you need to do is to report both good and bad task IDs by using these methods:

https://anti-captcha.com/apidoc/methods/reportCorrectRecaptcha
https://anti-captcha.com/apidoc/methods/reportIncorrectRecaptcha

Don't be confused by methods names, they do their job. If we're able to gather enough data, then we'll be able to knock out those fraud workers and you'll be receiving 100% quality tokens. Please take your action and don't ignore this message, there are just a few customers who are submitting this type of tasks and you're one of them. What we have now is that several people are complaining, we're suggesting the solution and only one of them is actually sending reports in amounts which are not enough to catch all bad workers.

Thank you.

Have a nice day,
Anti-Captcha 

I just didn't understand because in the email it refers to Amazon but the documentation link is from Recaptcha. I'm adjusting my code so that when it receives a return other than 200, it resubmits it and maybe sends the AntiCaptcha report

The recaptcha in the name doesn't matter, because you're passing the task ID. And nothing is automatically reported, you have to configure the sending of an error report yourself

lpcs007 commented 9 months ago

I updated my code with the AntiCaptcha report. Hope this helps improve performance. I'll still think of some way to proxy it. For the AntiCaptcha report to work, I needed to modify the anticaptchaofficial module file, as the most recent version does not have the function that gets the task id. So I needed to create the function and everything worked fine.

sdubzz commented 9 months ago

Thanks for suggesting return codes.

Did you receive this email?

Hi there,

Recently we were receiving a number of complaints about Amazon tokens bypass ratio. Our guess it that there are some workers running cheating bot programs, which post fake Antigate Template results. As we are not able to build a verification ourselves, we need your help to eliminate this problem. All you need to do is to report both good and bad task IDs by using these methods:

https://anti-captcha.com/apidoc/methods/reportCorrectRecaptcha
https://anti-captcha.com/apidoc/methods/reportIncorrectRecaptcha

Don't be confused by methods names, they do their job. If we're able to gather enough data, then we'll be able to knock out those fraud workers and you'll be receiving 100% quality tokens. Please take your action and don't ignore this message, there are just a few customers who are submitting this type of tasks and you're one of them. What we have now is that several people are complaining, we're suggesting the solution and only one of them is actually sending reports in amounts which are not enough to catch all bad workers.

Thank you.

Have a nice day,
Anti-Captcha 

I just didn't understand because in the email it refers to Amazon but the documentation link is from Recaptcha. I'm adjusting my code so that when it receives a return other than 200, it resubmits it and maybe sends the AntiCaptcha report

Hah, no they didn't send me any email after they put my account on lockdown. I guess enough people complained that they finally tried to do something about it. Thank you for sharing.

I updated my code with the AntiCaptcha report. Hope this helps improve performance. I'll still think of some way to proxy it. For the AntiCaptcha report to work, I needed to modify the anticaptchaofficial module file, as the most recent version does not have the function that gets the task id. So I needed to create the function and everything worked fine.

It appears there is a method report_incorrect_recaptcha() that you can use directly with the antigateTask() solver object. I haven't tried it but I assume it would work automatically without needing to pass the id explicitly.

sdubzz commented 9 months ago

@lpcs007 A helpful guide to set up a squid proxy if you're using a linux machine: https://www.digitalocean.com/community/tutorials/how-to-set-up-squid-proxy-on-ubuntu-20-04

lpcs007 commented 9 months ago

It appears there is a method report_incorrect_recaptcha() that you can use directly with the antigateTask() solver object. I haven't tried it but I assume it would work automatically without needing to pass the id explicitly.

I didn't know about that function. Worked well. I've already updated my code again. Thank you very much for the suggestion.

lpcs007 commented 9 months ago

@lpcs007 A helpful guide to set up a squid proxy if you're using a linux machine: https://www.digitalocean.com/community/tutorials/how-to-set-up-squid-proxy-on-ubuntu-20-04

I use Windows.

jaimbox commented 9 months ago

@zmkaihan do you want to share something about this. Thanks 🙌

sdubzz commented 9 months ago

@jaimbox buy a fast proxy and use a server with low latency to the flex API. You have to shop around.

jaimbox commented 9 months ago

@lpcs007 When I want to take the block I always get the Captcha, the anticaptcha "resolves it" but when I try again I still get the captcha. image

sdubzz commented 9 months ago

@jaimbox status code 410 means block missed, not captcha, captcha requested is status code 307.

cesarmayo commented 9 months ago

@lpcs007 When I want to take the block I always get the Captcha, the anticaptcha "resolves it" but when I try again I still get the captcha.

image

I have the exactly the same problem after the Anticaptcha resolve it and I still getting the captcha

lpcs007 commented 9 months ago

I updated my code.

If I leave the captcha to solve when trying to get an offer, it's a bad idea because I always miss the offer. Then I realized that captcha is always required at the following times:

So I change my code to always solve the captcha after those moments (except when canceling an offer)

lpcs007 commented 9 months ago

I don't know about you guys, but I had a huge increase in acceptance offers with that last update I sent. Can anyone confirm if there was any improvement as well?

Vasa211 commented 9 months ago

I don't know about you guys, but I had a huge increase in acceptance offers with that last update I sent. Can anyone confirm if there was any improvement as well?

What respronse code you get here: requests.get(result["url"], cookies=result["cookies"])???

I think you dont need this, because same request send browser when solving

Vasa211 commented 9 months ago

always solve the captcha

Its stupid idea, because if you correct solve captcha on first time, you can work again many time. If anticaptcha send many wrong uniqId, and this ids you send to amazon, then amazon asked captcha maaaaany times. Total: if you correct solve captcha from first time, you can work

lpcs007 commented 9 months ago

I don't know about you guys, but I had a huge increase in acceptance offers with that last update I sent. Can anyone confirm if there was any improvement as well?

What respronse code you get here: requests.get(result["url"], cookies=result["cookies"])???

I think you dont need this, because same request send browser when solving

I remove that line: https://github.com/lpcs007/amazonflexunlimitedsupercharged

lpcs007 commented 9 months ago

always solve the captcha

Its stupid idea, because if you correct solve captcha on first time, you can work again many time. If anticaptcha send many wrong uniqId, and this ids you send to amazon, then amazon asked captcha maaaaany times. Total: if you correct solve captcha from first time, you can work

The puzzle is always required after those requests. So the puzzle is solved whenever those requests are sent. This helped a lot in accepting offers.

Vasa211 commented 9 months ago

The puzzle is always required after those requests

If you're constantly asking for captcha, it's not normal, it's a bad sign! Stop the bot and don't use amazon flex for 24-48 hours, and then you can work normally again without captcha

zmkaihan commented 9 months ago

I don't know why my code always goes to sleep for 30 minutes, any anyone know what mechanism should use to take more time then reach 30 minutes wait

jaimbox commented 9 months ago

I don't know why my code always goes to sleep for 30 minutes, any anyone know what mechanism should use to take more time then reach 30 minutes wait

This is not an Issue and it doesn't belong here. Review your code carefully and read the README.md

ransel2016 commented 8 months ago

I'm getting this error, has anyone had this problem?

Trying bypass captcha. making request to getBalance making request to createTask could not create task API error ERROR_NO_SLOT_AVAILABLE: No idle workers are available at the moment. Please try a bit later or increase your maximum bid in menu Settings - API Setup in Anti-Captcha Customers Area. Task finished with error ERROR_NO_SLOT_AVAILABLE

lpcs007 commented 8 months ago

I'm getting this error, has anyone had this problem?

Trying bypass captcha. making request to getBalance making request to createTask could not create task API error ERROR_NO_SLOT_AVAILABLE: No idle workers are available at the moment. Please try a bit later or increase your maximum bid in menu Settings - API Setup in Anti-Captcha Customers Area. Task finished with error ERROR_NO_SLOT_AVAILABLE

https://anti-captcha.com/apidoc/errors

ransel2016 commented 8 months ago

I'm getting this error, has anyone had this problem? Trying bypass captcha. making request to getBalance making request to createTask could not create task API error ERROR_NO_SLOT_AVAILABLE: No idle workers are available at the moment. Please try a bit later or increase your maximum bid in menu Settings - API Setup in Anti-Captcha Customers Area. Task finished with error ERROR_NO_SLOT_AVAILABLE

https://anti-captcha.com/apidoc/errors

I increased the offer and it remains the same, I am using exactly the code you updated

lpcs007 commented 8 months ago

I'm getting this error, has anyone had this problem? Trying bypass captcha. making request to getBalance making request to createTask could not create task API error ERROR_NO_SLOT_AVAILABLE: No idle workers are available at the moment. Please try a bit later or increase your maximum bid in menu Settings - API Setup in Anti-Captcha Customers Area. Task finished with error ERROR_NO_SLOT_AVAILABLE

https://anti-captcha.com/apidoc/errors

I increased the offer and it remains the same, I am using exactly the code you updated

open new ticket with them

ransel2016 commented 8 months ago

I tried that but I was reading in the Fun Captcha documentation that I didn't even waste my time sending them a ticket about this matter because there is nothing they can do about it. :(

lpcs007 commented 8 months ago

I tried that but I was reading in the Fun Captcha documentation that I didn't even waste my time sending them a ticket about this matter because there is nothing they can do about it. :(

But the issue is with them. Unfortunately I can't help you with that.

ransel2016 commented 8 months ago

I tried that but I was reading in the Fun Captcha documentation that I didn't even waste my time sending them a ticket about this matter because there is nothing they can do about it. :(

But the issue is with them. Unfortunately I can't help you with that.

Maybe I should upload the offer, as soon as you recommend that I put it, or maybe I should configure something extra in my Anti Captcha panel

Vasa211 commented 8 months ago

Who knows why amazon response status is 500 after requesting for offers?

travislazzaro commented 8 months ago

@lpcs007 im trying to run your script but i get this error. can you help me?

Traceback (most recent call last): File "C:\Users\Ronnie\Desktop\AmazonFlexUnlimitedSUPERCHARGED-master\AmazonFlexUnlimitedSUPERCHARGED-master\app.py", line 6, in flexUnlimited = FlexUnlimited() ^^^^^^^^^^^^^^^ File "C:\Users\Ronnie\Desktop\AmazonFlexUnlimitedSUPERCHARGED-master\AmazonFlexUnlimitedSUPERCHARGED-master\lib\FlexUnlimited.py", line 74, in init config = json.load(configFile) ^^^^^^^^^^^^^^^^^^^^^ File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1520.0_x64qbz5n2kfra8p0\Lib\json\init.py", line 293, in load return loads(fp.read(), ^^^^^^^^^^^^^^^^ File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1520.0_x64qbz5n2kfra8p0\Lib\json__init.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1520.0_x64qbz5n2kfra8p0\Lib\json\decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1520.0_x64__qbz5n2kfra8p0\Lib\json\decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) ^^^^^^^^^^^^^^^^^^^^^^ json.decoder.JSONDecodeError: Expecting ',' delimiter: line 26 column 17 (char 703)

travislazzaro commented 8 months ago

@lpcs007 im trying to run your script but i get this error. can you help me?

Traceback (most recent call last): File "C:\Users\Ronnie\Desktop\AmazonFlexUnlimitedSUPERCHARGED-master\AmazonFlexUnlimitedSUPERCHARGED-master\app.py", line 6, in flexUnlimited = FlexUnlimited() ^^^^^^^^^^^^^^^ File "C:\Users\Ronnie\Desktop\AmazonFlexUnlimitedSUPERCHARGED-master\AmazonFlexUnlimitedSUPERCHARGED-master\lib\FlexUnlimited.py", line 74, in init config = json.load(configFile) ^^^^^^^^^^^^^^^^^^^^^ File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1520.0_x64qbz5n2kfra8p0\Lib\jsoninit.py", line 293, in load return loads(fp.read(), ^^^^^^^^^^^^^^^^ File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1520.0_x64qbz5n2kfra8p0\Lib\jsoninit.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1520.0_x64qbz5n2kfra8p0\Lib\json\decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1520.0_x64qbz5n2kfra8p0\Lib\json\decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) ^^^^^^^^^^^^^^^^^^^^^^ json.decoder.JSONDecodeError: Expecting ',' delimiter: line 26 column 17 (char 703)

@lpcs007 does this have something to do with it?

Installing collected packages: pip Attempting uninstall: pip Found existing installation: pip 23.1.2 Uninstalling pip-23.1.2: Successfully uninstalled pip-23.1.2 WARNING: The scripts pip.exe, pip3.11.exe and pip3.exe are installed in 'C:\Users\Ronnie\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\Scripts' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location. Successfully installed pip-23.2.1

lpcs007 commented 8 months ago

Guys, let's look at the title of the topic with the subject you are going to post.This topic is not to help with installing the script or return code or anything like that. Our focus here is on passing the captcha. If you have a problem with the script I published, open an issue in the repository.

ransel2016 commented 8 months ago

Guys, I have been trying Capsolver to solve the Captcha but the completed task sends me an error, have you tried this provider?

ransel2016 commented 8 months ago

Respuesta exitosa: { "errorId": 0, "taskId": "2aa26e4d-0482-4b1d-ae1b-f74b37926407", "status": "idle" } Respuesta exitosa: { "errorId": 1, "errorCode": "ERROR_CAPTCHA_SOLVE_FAILED", "errorDescription": "failed ,please retry", "taskId": "2aa26e4d-0482-4b1d-ae1b-f74b37926407", "status": "failed" }

lpcs007 commented 8 months ago

Guys, I have been trying Capsolver to solve the Captcha but the completed task sends me an error, have you tried this provider?

The last time I tried capsolver I couldn't use it because it didn't return the TokenID.