It occurred to me that you can create a transaction where the number of bytes an input adds is valued at less than the fee cost it represents.
Let's say the fees selected are 400 sat/byte, and you add an input with 1200 satoshis but it also adds 4 bytes to the transaction. If this case you should warn the user.