I am in school currently and have had students sitting next to me use ChatGPT to help with some in class quizzes, we are allowed to use other resources, so it wasn't cheating. For some of the questions, ChatGPT was flat wrong when analyzing code. One specific question was asking where errors were in a block of code by line number, ChatGPT gave the wrong line number and wrong number of lines on top of that. The student actually knew how to answer the question, but didn't want to think. In a different class, a prof said she knew some students were using ChatGPT because the errors some students made were the same errors ChatGPT made and they were kind of dumb mistakes if you knew what was going on.
I don't mean to say your experience isn't possible nor a fluke. What I mean to say is, if you don't know something, ChatGPT shouldn't be your only resource, you won't know when it's wrong.
edit: words, spelling