Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working with ChatGPT Plus account #32

Open
munawarabadullah opened this issue Feb 11, 2023 · 2 comments
Open

Not working with ChatGPT Plus account #32

munawarabadullah opened this issue Feb 11, 2023 · 2 comments

Comments

@munawarabadullah
Copy link

-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
}
}

at file:///D:/Workplace/SoftwareDevelopment/GitHub/GPT/chatgpt-chrome-extens

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

@munawarabadullah
Copy link
Author

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.

@craigSochocki
Copy link

I'm getting the same error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants