Adyen and Swish gives error after creating shipment

I think this is an related error to that the notification webhook from Adyen not is properly configured, see Adyen payment app and notifications - Questions - Litium Forum.

And in this case you should wait with creating the shipment and put into processing until the capture transaction is succeeded in this case.