You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can't start the node server.js - I am using ChatGPT Plus. I am not sure if this issue is related to Plus account or API can handle the account type etc.
-chrome-extension (main)
$ node server.js
× Training ChatGPT (1 plugin rules)
file:///D:/SoftwareDevelopment/GitHub/GPT/chatgpt-chrome-extension/nod
e_modules/chatgpt/build/index.js:202
const error = new ChatGPTError(msg, { cause: res });
^
ChatGPTError: ChatGPT error 404: {
"error": {
"message": "That model does not exist",
"type": "invalid_request_error",
"param": null,
"code": null
}
}
ion/node_modules/chatgpt/build/index.js:202:29
at process.processTicksAndRejections (node:internal/process/task_queues:95:5
) {
statusCode: 404,
statusText: 'Not Found',
[cause]: Response {
[Symbol(realm)]: null,
[Symbol(state)]: {
aborted: false,
rangeRequested: false,
timingAllowPassed: true,
requestIncludesCredentials: true,
type: 'default',
status: 404,
timingInfo: {
startTime: 302.7082999944687,
redirectStartTime: 0,
redirectEndTime: 0,
postRedirectStartTime: 302.7082999944687,
finalServiceWorkerStartTime: 0,
finalNetworkResponseStartTime: 0,
finalNetworkRequestStartTime: 0,
endTime: 0,
encodedBodySize: 0,
decodedBodySize: 0,
finalConnectionTimingInfo: null
},
cacheState: '',
statusText: 'Not Found',
headersList: HeadersList {
cookies: null,
[Symbol(headers map)]: Map(7) {
'date' => { name: 'Date', value: 'Sat, 11 Feb 2023 23:15:54 GMT' },
'content-type' => {
name: 'Content-Type',
value: 'application/json; charset=utf-8'
},
'content-length' => { name: 'Content-Length', value: '158' },
'connection' => { name: 'Connection', value: 'keep-alive' },
'vary' => { name: 'Vary', value: 'Origin' },
'x-request-id' => {
name: 'X-Request-Id',
value: '087313fcbe31bb0e1737046c1af37213'
},
'strict-transport-security' => {
name: 'Strict-Transport-Security',
value: 'max-age=15724800; includeSubDomains'
}
},
[Symbol(headers map sorted)]: null
},
urlList: [
<ref *1> URL {
[Symbol(context)]: URLContext {
flags: 400,
scheme: 'https:',
username: '',
password: '',
host: 'api.openai.com',
port: null,
path: [Array],
query: null,
fragment: null
},
[Symbol(query)]: URLSearchParams {
[Symbol(query)]: [],
[Symbol(context)]: [Circular *1]
}
}
],
body: {
stream: ReadableStream {
[Symbol(kType)]: 'ReadableStream',
[Symbol(kState)]: {
disturbed: true,
reader: [ReadableStreamDefaultReader],
state: 'closed',
storedError: undefined,
stream: undefined,
transfer: [Object],
controller: [ReadableStreamDefaultController]
},
[Symbol(nodejs.webstream.isClosedPromise)]: {
promise: [Promise],
resolve: [Function (anonymous)],
reject: [Function (anonymous)]
}
}
}
},
[Symbol(headers)]: Headers {
[Symbol(headers list)]: HeadersList {
cookies: null,
[Symbol(headers map)]: Map(7) {
'date' => { name: 'Date', value: 'Sat, 11 Feb 2023 23:15:54 GMT' },
'content-type' => {
name: 'Content-Type',
value: 'application/json; charset=utf-8'
},
'content-length' => { name: 'Content-Length', value: '158' },
'connection' => { name: 'Connection', value: 'keep-alive' },
'vary' => { name: 'Vary', value: 'Origin' },
'x-request-id' => {
name: 'X-Request-Id',
value: '087313fcbe31bb0e1737046c1af37213'
},
'strict-transport-security' => {
name: 'Strict-Transport-Security',
value: 'max-age=15724800; includeSubDomains'
}
},
[Symbol(headers map sorted)]: null
},
[Symbol(guard)]: 'immutable',
[Symbol(realm)]: null
}
}
}
Node.js v19.6.0
The text was updated successfully, but these errors were encountered: