I am getting the error “An error occurred.”
I have checked my code and run it on the kotlin playground, but it works fine there. I posted my problem on discord but someone suggested to post here. I changed the kotlin version to 1.8 and even 1.7 but same problem