It is surprising to see a lot of people criticise ChatGPT after seeing the made-up references. But this is just the expected behaviour. The model was not designed for giving the exact references. It is simply giving the most likely next token given previous tokens.