Getting Filter failure: LOT_SIZE even though quantity is above the minimum required

I am using python-binance and when I put the sell order :

sell_order = client.create_order(symbol=‘CAKEUSDT’, side=‘SELL’, type=‘MARKET’, quantity=0.00980000)

I am getting the following error:
binance.exceptions.BinanceAPIException: APIError(code=-1013): Filter failure: LOT_SIZE

The quantity passed here is above the minimum quantity to be provided for that particular asset.

Please check the rule for LOT_SIZE, under https://binance-docs.github.io/apidocs/spot/en/#filters