Can't Export PNG Sequence (After effects AEGP plugin error 5027 12)



I get this error when trying to export a PNG seqeunce in After Effects 2022 (latest version).
I'm on an Apple Macbook M1 Pro. It was working just fine in my old laptop but now it won't export anymore.

These are my export settings for reference.
I looked at other forums but I could only find solutions for when a PNG imported is corrupted. The weird thing is that I didn't import a PNG for this comp...
Any help would be appreciated!
