Thanks so much for sharing your solution, I am really glad this is sorted!
Btw seeing you are using Nextcloud, there’s unfortunately one more bug in the current version of n8n which @No_Name described and solved over here: Nextcloud share file node cannot find file - #8 by No_Name. This will be fixed in one of the next releases with fix(next-cloud-node): Fix issue with credential verification and sharing file by michael-radency · Pull Request #3894 · n8n-io/n8n · GitHub. Just wanted to make sure you’re aware of this.