Repay USDT problems

Hi there,

I do not know if this place is the correct one to ask you guys. I do have a problem to repay USDT due to error in AAVE platform. After apoved the transaction there are a error message: RotationProvider exceeded max number of retries. Last error: There was some error. Please try changing the parameters or copy the error. It seems to be something related to cannot estimate gas; transaction may fail or may require manual gas limit (error={“reason”:“processing response error”,“code”:“SERVER_ERROR”,“body”:"code=UNPREDICTABLE_GAS_LIMIT, version=providers/5.5.3).

Please, How to solve this problem during Repay? All the other transactions is it working perfectly.

Thank you so much.

1 Like

I’m having the same issue, please help

RotationProvider exceeded max number of retries. Last error: cannot estimate gas; transaction may fail or may require manual gas limit (error={“reason”:“processing response error”,“code”:“SERVER_ERROR”,“body”:“{"jsonrpc":"2.0","id":43,"error":{"code":-32000,"message":"execution reverted"}}”,“error”:{“code”:-32000},“requestBody”:“{"method":"eth_estimateGas","params":[{"from":"0x90bb846133da113d9ffd42f4eeb01be668bf781b","to":"0xdac17f958d2ee523a2206206994597c13d831ec7","data":"0x095ea7b300000000000000000000000087870bca3f3fd6335c3f4ce8392d69350b4fa4e2ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"}],"id":43,"jsonrpc":"2.0"}”,“requestMethod”:“POST”,“url”:“Web3”}, method=“estimateGas”, transaction=XXXXX

code=UNPREDICTABLE_GAS_LIMIT, version=providers/5.5.3)

I am having similar issues, how to fix it?

It was necessary to use the “SWITCH” function of the AAVE platform itself and exchange the loan from USDT to DAI, paying the loan with DAI. It worked perfectly here, this was the only way I found to solve this problem.

I found this on another thread, and it worked for me:

USDT smart contract won’t let you update the approval limit without first resetting it to 0. See: $1.00 | Tether USD (USDT) Token Tracker | Etherscan

Go to Token Approvals | Etherscan or https://revoke.cash and revoke the approval (set allowance to 0) for Aave, and then repay your debt from Aave frontend.

Thanks jdubz, it’s a bit complex but if it works it’s ok :+1:t2:

@Combative268 were you able to fix the issue?