Issue compiling with macro

I made an macro to get the parameters from an function, but this error keeps showing up

Uncaught exception Unexpected value VEnumValue(TDynamic(null)), expected object

I don’t really understand what this is, since I don’t have an lot of experience with macros

Okay never mind I managed to fix it, turns out I was just using enum values incorrectly