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.
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
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.