As you can see the worker have enough stamina, yet I getting an error that I don't have enough.
The real reason why the repeat not works here is the lack of materials in the storage, so it should say that.
I don't know if it's just a wrong text, or a functional issue.