The restore fails immediately with the following error: Index was outside the bounds of the array

Assuming you use image from https://hub.docker.com/r/linuxserver/duplicati

Release: 2.2.1.0 (Beta) 2026-03-05 in development looks like it has this fix.
That’s based on the Mar 4 post and a look in source.