From which cold wallet did you withdraw the funds? You used the term safepal. Well, the dust error must be shown because the amount you were trying to withdraw is considered a dust amount according to the wallet's policy you have used. That's why you were shown that code. And speaking of 1 input and 2 output, that's a little unique for me as well, like if you withdraw funds from a cexs then it's common as they send funds in batches.
AFAIK these cold wallets aren't supposed to send funds in batches.