Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
m3kw9
on Feb 2, 2023
|
parent
|
context
|
favorite
| on:
ChatGPT Plus
Some reason, this code doesn't work. I cleaned up the 's and have a api key. It says
TypeError: undefined is not an object (evaluating 'data.choices[0]')
m3kw9
on Feb 2, 2023
|
next
[–]
Is ok I got it fixed, by asking chatgpt to write me some new code.
vimutti
on Feb 3, 2023
|
parent
|
next
[–]
I'm seeing the same error. How did you fix it? I don't understand what you meant by asking chatgpt to write you new code, I can't even open chatgpt due to high traffic.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
TypeError: undefined is not an object (evaluating 'data.choices[0]')