Bitcoin core trying to sign a transaction loaded from psbt file, but getting "could not sign any more inputs" error
I changed my passphrase of bitcoin-core before I did the second try. Does it matter?

Yes. Entering the passphrase in console using walletpassphrase should resolve the issue