void icon indicating copy to clipboard operation
void copied to clipboard

Error Error: 400 status code (no body)

Open AcstyStore opened this issue 9 months ago • 4 comments

Type: Bug

Whenever I try to use codebase of anything it shows this error, I am using Gemini api

Full Error: { "status": 400, "headers": { "alt-svc": "h3=":443"; ma=2592000,h3-29=":443"; ma=2592000", "content-encoding": "gzip", "content-type": "application/json; charset=UTF-8", "date": "Wed, 09 Apr 2025 19:35:46 GMT", "server": "scaffolding on HTTPServer2", "server-timing": "gfet4t7; dur=681", "transfer-encoding": "chunked", "vary": "Origin, X-Origin, Referer", "x-content-type-options": "nosniff", "x-frame-options": "SAMEORIGIN", "x-xss-protection": "0" } }

AcstyStore avatar Apr 09 '25 19:04 AcstyStore

1.0.3 should fix this, can you try a version here? https://github.com/voideditor/binaries/releases/

andrewpareles avatar Apr 09 '25 23:04 andrewpareles

1.0.3 should fix this, can you try a version here? https://github.com/voideditor/binaries/releases/

400 code still have... (gemini api key), but it working in postman

@andrewpareles

Void Version: 1.2.5 Release: 25107 VSCode Version: 1.99.0 (system setup) Commit: 6f55e6900b6fce0e331074811f02bd68f15f293f Date: 2025-04-17T06:02:33.023Z Electron: 34.3.2 ElectronBuildId: undefined Chromium: 132.0.6834.210 Node.js: 20.18.3 V8: 13.2.152.41-electron.0 OS: Windows_NT x64 10.0.19045

tihoho avatar Apr 17 '25 19:04 tihoho

Can you try rotating your API key? For some reason this seems to work for many people. Please let me know if this works @tihoho!

andrewpareles avatar Apr 17 '25 23:04 andrewpareles

Can you try rotating your API key? For some reason this seems to work for many people. Please let me know if this works @tihoho!

hmm, rotating helped. but why? @andrewpareles

tihoho avatar Apr 19 '25 18:04 tihoho