Hi Jacob,
Sorry to hear about your experience.
Can you explain more about your environment and steps to deploy?
Alternatively, this works for me and maybe it helps for you too https://github.com/pdebruin/functionspy/tree/main/3storagefunction
Thanks,
Pieter