I cannot do any transaction on SushiSwap

Hi,

Contract address on testnet BSC 0x99ff6abbfa7e9d9ef3019bdc5919009e94d5f18c
Testnet router address: 0xD99D1c33F9fC3444f8101754aBC46c52416550D1

I can approve liquidity and BNB with the owner wallet via SushiSwap. Proof: https://testnet.bscscan.com/tx/0x91207e967763c317ef82c08977db14af475dec59ca4648903b1f1bc7014f9215

However, I cannot buy or sell from any other wallet and gives me this error below:

The transaction cannot succeed due to error: . This is probably an issue with one of the tokens you are swapping.

What are the steps I should follow?

  • Verify the contract.
  • Should I exclude the Pair Contract from the fee? (I do it but the same error shows up.)
  • Add liquidity via SushiSwap. (I can do it 100% of the supply and 1 BNB)

I am applying a politics again the whales to you can only buy or sell 0.1% of the supply in one transaction, but I guess this is not the issue I’m having.

If I remove

uint256 private constant _numTokensSellToAddToLiquidity = 10000000000 * 10**8;

and

if (contractTokenBalance >= _numTokensSellToAddToLiquidity && !_inSwapAndLiquify && sender != uniswapPair) {
        contractTokenBalance = _numTokensSellToAddToLiquidity;
        _swapAndLiquify(_numTokensSellToAddToLiquidity);
    }

works perfectly but this is not the thing I want.

What should I do?

My contract:

Hi @Sahan_CAVA , welcome to Open Zepplin forums.

This is a SafeMoon fork issue. Please search the forums for your issue. Your problem already has a solution.

Please refer to

It’s either SwapAndLiquify needs to be set to False or MaxTxPercent needs to be set to 100.

If you have rejected ownership then you likely cannot get the liquidity back.