Facing This Error

Can someone help me figure out what’s causing this?

see if your getCorrectAnswer function is returning List<String>

It does return a list as you can see here:

Hey @Nitin529 , could you DM me on slack?

1 Like

Hey, I couldn’t find your contact in Slack so I couldn’t contact you.

@Nitin529, it’s asking for a List, but you’re converting that list to a string using toString. Just remove toString and it might work.

Closing this topic as your issue has been resolved by the community. If not Kindly un-mark the accepted solution to re-open the topic or feel free to create a new topic and post a link to this topic as a reference.