My dev friend understood where the error was. Looked at the library's documentation and realized the documentation had an outdated name for one of the functions. Interesting that the issue here was not Chat GPT directly but the source!