Comments (6)
Were you able to figure this out? We are running into an error when we try to execute the script. [ Line 46: Cannot read properties of undefined (reading '0') ]
from scripts.
Error with [ Line 46: Cannot read properties of undefined (reading '0') ]too
from scripts.
Hi - the most common solution to this error was the API key. Either it wasn't entered correctly - or it was invalid. Best is if you login to openai and make sure that the API key you are using is still valid.
from scripts.
I'm also experiencing Error with [ Line 46: Cannot read properties of undefined (reading '0') ]
I generated a new API and carefully made sure it's accurate. Are you aware of any other solutions I might try?
Thank you for doing this and making it accessible to everyone!!
from scripts.
Hey all, I have the same issue and my API key is valid. Does anyone have solution for this error?
from scripts.
I get a different error: undefined is not an object (evaluating 'json.choices[0]')
Sounds like the json response is empty so json.choices is also empty.
from scripts.
Related Issues (9)
- Line 46 error HOT 10
- OpenAI in Excel script is running, but not returning the correct answer
- Error - Excel cannot openthe file... file format/file extension is not valid. HOT 2
- "Script is running" but nothing happens HOT 4
- hi
- excel
- Bring ChatGPT inside Excel issue HOT 1
- undefined is not an object (evaluating 'json.choices[0]') HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scripts.