Being fair chatgpt also make things up. Just last week I asked it an example of a python program with some specifications and it made it, with some libraries and options in the functions that do not exist.