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

Getting bad requests #6

Open
O5ten opened this issue Feb 19, 2024 · 4 comments
Open

Getting bad requests #6

O5ten opened this issue Feb 19, 2024 · 4 comments

Comments

@O5ten
Copy link

O5ten commented Feb 19, 2024

Getting 400 bad request when making any request towards openai. Is this due to some openai changes of their api perhaps?

[1] 2024-02-19T10:14:14.546Z backstage error Request failed with status code 400 type=errorHandler config=[object Object] request=[object Object] response=[object Object] isAxiosError=true toJSON=function toJSON() {
[1]     return {
[1]       // Standard
[1]       message: this.message,
[1]       name: this.name,
[1]       // Microsoft
[1]       description: this.description,
[1]       number: this.number,
[1]       // Mozilla
[1]       fileName: this.fileName,
[1]       lineNumber: this.lineNumber,
[1]       columnNumber: this.columnNumber,
[1]       stack: this.stack,
[1]       // Axios
[1]       config: this.config,
[1]       code: this.code,
[1]       status: this.response && this.response.status ? this.response.status : null
[1]     };
[1]   } stack=Error: Request failed with status code 400
[1]     at createError (/home/mikaelo/git/backstage/node_modules/openai/node_modules/axios/lib/core/createError.js:16:15)
[1]     at settle (/home/mikaelo/git/backstage/node_modules/openai/node_modules/axios/lib/core/settle.js:17:12)
[1]     at IncomingMessage.handleStreamEnd (/home/mikaelo/git/backstage/node_modules/openai/node_modules/axios/lib/adapters/http.js:322:11)
[1]     at IncomingMessage.emit (node:events:525:35)
[1]     at IncomingMessage.emit (node:domain:489:12)
[1]     at endReadableNT (node:internal/streams/readable:1359:12)
[1]     at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
Copy link

github-actions bot commented Mar 6, 2024

This issue is stale because it has been open for 15 days with no activity.

@github-actions github-actions bot added the stale label Mar 6, 2024
@O5ten
Copy link
Author

O5ten commented Mar 6, 2024

Still having this problem tbh.

@github-actions github-actions bot removed the stale label Mar 7, 2024
Copy link

This issue is stale because it has been open for 15 days with no activity.

@github-actions github-actions bot added the stale label Mar 22, 2024
@O5ten
Copy link
Author

O5ten commented Mar 22, 2024

Still having the same problem..

@github-actions github-actions bot removed the stale label Mar 23, 2024
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

1 participant