It’s a bit hard to tell what might be failing and I would hope the entire stacktrace shows where the issue might come from (e.g. an invalid index or an invalid transformation etc.).
As a debugging step you could use num_workers=0 and check, if this would work. Of course the performance would be lower, but the stacktrace could give you a better error message.