I did a bit of debugging, even asked ChatGPT why it wasn't working and it gave me several tips but even when I fixed those it still didn't work. I have a vague suspicion it has to do with permissions.