Metamask Aave loan repayment - Error getting txParams

I’ve been struggling for two days and nights now trying to repay a loan I got from AAVE app. The loan is for $10,000 BUSD and 5.84 wETH was used for collateral. So I go to [https://app.aave.com/->Your borrows->Repay->Collateral->MAX Debt amount to repay, but all I get is the error message: “There was some error. Please try changing the parameters or copy the error”. When I copy and paste the error says: “Error getting txParams”. And that’s it. I’ve tried changing the Max slippage rate, as well as the Debt Amount to Repay, but unless I go to as low as $100 BUSD repayment, all I get is the same error message. There’s $1,000 USD worth of ETH in my Metamask wallet to cover for gas fees. Please help. Thank you.

Hi @archmaster , I am having the same issue! Have you managed to figure out the solution?

Hi @tray1975us. No. I never did, and was never able to contact anyone who could help me with this. As a result of that I got automatically liquidated on the last market dip, and the $6,000 usd worth of ETH that should have remained in my wallet are now worth only $900 usd. This is unacceptable, but the worst part of it is that there’s no one to put the blame on and no one will be responsible. DO NOT USE AAVE, IS THE WORST PIECE OF SHIT SOFTWARE I HAVE EVER INTERACTED WITH. As a web developer, I’ll make sure all of my site’s followers are aware of this.

1 Like

@archmaster OMG… I am scared now. I am trapped with know way to get my funds out of there. I am trying to join forums and all I get so far is scammers trying to get me to give up my private keys. This sucks!

Damn - that sucks… I’ve never had any issue repaying a loan personally, so I wouldn’t be able to offer any help.

Were there any error messages thrown from the browser console?

Perhaps we can bring attention to this issue for future users or get the devs to implement more helpful error messages.

1 Like

I think the aave interface repo ist a better place to report such issues GitHub - aave/interface: An open source interface for the decentralized liquidity protocol Aave so someone will see it.

“Error getting tx Params” can have multiple reasons. It essentially means that paraswap(which is used for the underlying swap) wasn’t able to build the TXN.
If a repayment rate was shown before that means that for some reason the api wasn’t able to build a TXN for the route if found. Might be better to ask paraswap or look in the console network tab to see if there’s some more helpful error on the api response.

Reasons I saw in the past:

  • buggy api
  • api down/rate limited
  • one of the amms used in the route blocking your address for whatever reason

Anyhow without any actual error message it’s hard to say anything as it’s just guessing. If your not comfortable with sharing your public wallet address you could try reaching out via intercom on aave.com which will probably reach a developer.


One known issue with collateral repay right now is on repay with stETH which is quite special.

Thanks sakulstra for your help! I just logged a question on the GitHub forum you suggested. Here is the actual error message I keep getting…(Any other thoughts?)

Did anyone find a solution to this problem? I am currently and suddenly having this issue with Polygon V3. It’s been happening all day…before this, Aave has been working well for me for several months.

1 Like

Did you guys figure out a solution for this error message? Im experiencing it right now.

@CryptoDude100 What are the collateral and borrow assets you are trying to using in the transaction?

As mentioned earlier in the thread this error message is caused by a failure fetching a swap rate from the Paraswap API. One thing you can try is clearing your browser cache and retrying.

If the error is persistent we can report the specific asset pair to ParaSwap and see if can be addressed on their end.

1 Like

Thanks for the reply. I am using Ledger Live. This morning, I received the message the first time or two I tried to supply Polygon to Aave. Then it finally worked and supplied the platform. But Im still having problems trying to borrow usdc. I am getting charged gas fees each time I try but the transaction keeps failing each time on the polygon network when I check the explorer. If this persists, Im thinking I may have to withdraw my Polygon (if I can) and exchange it for Ethereum and use it on V3. Do you have any idea why my borrow attempts are failing on Polygon V3?

Hi there. I have the same problem. I am trying to pay USDT using USDC as colateral and USDT in my wallet, but I couln´t due to the message;
There was some error. Please try changing the parameters or copy the error.

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":[{"value":"0x0","from":"0x6e14016c189db08049b6458dbdc4654e8a8c703d","to":"0x1809f186d680f239420b56948c58f8dbbcdf1e18","data":"0x4db9dc97000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000000000000000000000000000000000012baadc0e000000000000000000000000000000000000000000000000000000012a05f20000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000001465aae31000000000000000000000000000000000000000000000000000000006496fa95000000000000000000000000000000000000000000000000000000000000001b0db599b41d85ed84aec55c4b31863cd8a472f952032a8386ac3898894e7e03445798b87d524be5450c2e210353457b46fc10ca9fea3f2ccf2ad462887a44c6c300000000000000000000000000000000000000000000000000000000000002e00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000def171fe48cf0115b1d80b88dc8eab59176fee57000000000000000000000000000000000000000000000000000000000000026487a639260000000000000000000000000000000000000000000000000000000000000020000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000000000000000000000000000000000012baadc0e000000000000000000000000000000000000000000000000000000012a05f200000000000000000000000000000000000000000000000000000000012a2d3192010000000000000000000000000000000000000000000000000000000003138800000000000000000000000000000000000000000000000000000000649740ff0000000000000000000000009abf798f5314bfd793a9e57a654bed35af4a1d600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000220cc11770a159d44948ca1b33a5776de6c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002bdac17f958d2ee523a2206206994597c13d831ec7000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"}],"id":43,"jsonrpc":"2.0"}”,“requestMethod”:“POST”,“url”:“Web3”}, method=“estimateGas”, transaction=“accessList”:null}, code=UNPREDICTABLE_GAS_LIMIT, version=providers/5.5.3)

Thank you for help,

Hi, Jumita.

You need a programmer to look into the Google Chrome Console and see if she can do something with the information displayed. I could not figure it out and ended up losing a lot of money.

Hope this helps.

Me too. MM connected to AAVE, can’t repay my USDT loan with wallet funds or colatteral

Now it comes up with this error message which is new when trying to pay USDT back from collateral “Due to approval mechanics of USDT on Ethereum Mainnet, it cannot be used with the current adapter contract for this action” Can anyone decipher this for us simple folk out here?

The USDT token on ETH mainnet has a non-standard approve function which wasn’t handled in the repay with collateral and collateral switch adapter contracts. It was updated in a new deployment of the adapter contracts and is live on the Aave Interface, so these issues should be resolved @Windsurf @Jsimo01

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.

Hope this helps.

1 Like

Hi, I am getting the same error now when trying to swap between usdc and wbtc on aave v2, avalanche network. I am trying to repay a loan but can’t do so. The error is “Error building transaction parameters”

I know, it´s terrible. I lost a buck load of money. I’m never using these platforms again. My advice is to get yourself a programmer to look into the matter, maybe she can shed some light. Also, you can try switching to a different browser and or device.
Good luck.

We’re you able to solve the problem? I am getting the same error now. Switched browsers and same issue. Any advice?