It’s weird… Thanks for posting. I’ll look into the code today and try to fix it. Since this is randomly generated, it might work in another try.
Let me know if you played several times and it didn’t work in any of them.
You are either very unlucky or there is something wrong in one of the versions. Which platform are you playing on?
(Edit: I’ve looked into the codes the other day and everything seems to work! I really have no idea what’s causing this. I might remove or replace this puzzle if more players struggle with it…)