The maximum number of decimal places for correct order placement is displayed in the API in the pair_settings method in the price_precision parameter.
You need to configure your software so that the price_precision criterion is taken into account when placing an order. Otherwise, the operation will be automatically canceled, and you will receive an error.