API error 1013

Hi
I recently started using trading view alerts to trigger buys and sells for multiple cryptos. It was working fine but recently I keep on getting API error 1013. I understand what the error means but I don’t know how to fix it. I programmed and app to translate the TradingView alerts into buy orders on binance Could somebody please give me a hand with this. Mail ye I need to change the code in the app? Or maybe my alerts need more detail? I am not sure. I am trading ten cryptos all from usdt to the crypto
Thank you

Giving the following can be more helpful to understand the context:

  • What was the used request url (including base url + parameters)
  • What’s the complete error message?

Hi Aisling. thank you so so much for your response.

2021-09-13T21:46:03.891828+00:00 app[web.1]: BCHUSDT
2021-09-13T21:46:03.891838+00:00 app[web.1]: {‘time’: ‘2021-09-13T21:46:00Z’, ‘open’: 617.5, ‘high’: 617.5, ‘low’: 617.5, ‘close’: 617.5, ‘volume’: 0.724}
2021-09-13T21:46:03.891842+00:00 app[web.1]: sending order MARKET - BUY 0.7373 BCHUSDT
2021-09-13T21:46:04.119271+00:00 app[web.1]: an exception occured - APIError(code=-1013): Filter failure: LOT_SIZE
2021-09-13T21:46:04.119274+00:00 app[web.1]: order failed

If I’m not mistaken I think this error has got to do with the how many decimal places of accuracy can be applied to the quantity of an order. I think in the case of bchusdt if the order exceeds two decimal places eg. 0.737 the order will not be executed and the api error will occur

Thank you if you can help at all.