Open LinusKaiser opened 1 year ago
Looks like HTML got returned at some point. Could be a firewall issue or something else. Did you see any logs in the dev console or the output?
The root cause is caused by the SSL certificate issue. The error message indicates that the api response is not in JSON format, may by undefined or something else.
The solution is here:
Thank you for reaching out guys. :) This is all that my settings.json contains when I open it like you described. How do I find the path to this cacert.pem and at what palce in the json is it appropriate to enter the settings you described? An example of how it looks for you or how it should look would be helpful.
{
"workbench.colorTheme": "Visual Studio Light",
"jupyter.kernels.filter": [
],
"json.maxItemsComputed": 25000,
"editor.largeFileOptimizations": false,
"workbench.colorCustomizations": {
"terminal.foreground": "#87eee2"
},
"chatgpt.gpt3.apiKey": "---------------MYAPIKEY----------------",
"notebook.output.textLineLimit": 80,
"window.zoomLevel": -1
}
Just installed the addon to VSCode, enter the API key and started typing in a simple question like: "How can I export a pandas data frame?" for testing purposes. When I send that query I get this error message: "Error: Unexpected token < in JSON at position 0". Not sure what could have possibly went wrong, as I followed all instructions.