Welcome to the forum :)

If you can’t override the transaction fee, can you tell the size of the transaction?
The tranaction fees increase, if a transaction becomes very large, for example if many inputs are used to create the transaction.