Current error handling is not good enough - [ ] https://github.com/nextcloud/server/pull/31945 - [ ] TODO - PR on this side to adapt code