Closed adrianrodriguez-io closed 1 year ago
sorry testet again lokks good. look for syntax error please. you make the mistake . Open consoleand show for errors. Sorry bro, but if you make a mistake by a so simple script and cant understand the error, please let it, cause you can harm yourself. It is an basic to learn! Read the Readme.md again please!
No worries Volkan. I have fixed the issue. It was because i didnt have the ssl certificate enabled.
Many thanks
El mar., 16 may. 2023 21:14, Volkan Kücükbudak @.***> escribió:
sorry testet again lokks good. look for syntax error please. you make the mistake . Open consoleand show for errors. Sorry bro, but if you make a mistake by a so simple script and cant understand the error, please let it, cause you can harm yourself. It is an basic to learn! Read the Readme.md again please!
— Reply to this email directly, view it on GitHub https://github.com/VolkanSah/ChatGPT-API-Integration-in-HTML-CSS-with-JS-PHP/issues/14#issuecomment-1550300454, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAMU6IXWQMVAA4CV2DW57O3XGPN4HANCNFSM6AAAAAAYD5NRPM . You are receiving this because you authored the thread.Message ID: <VolkanSah/ChatGPT-API-Integration-in-HTML-CSS-with-JS-PHP/issues/14/1550300454 @github.com>
Hi,
Thanks for working in this repo, it is very interesting.
I have tried your code but after setting my Open AI api key in config.php and writing and submit a simple Hi prompt, it returns an error like as follows.
Uncaught (in promise) SyntaxError: Unexpected end of JSON input at HTMLFormElement. (script.js:26:37)
(anonymous) @ script.js:26
What could be the problem.
Thanks