Hey @akhilpuri2003,
I tried to test the function again one day after I posted this thread and it miraculously worked. Not sure if it’s because I reported the bug or if it was a temporary thing