[▲ Vercel Community](/) · [Categories](/categories) · [Latest](/latest) · [Top](/top) · [Live](/live) [v0](/c/v0/59) # v0 API returns 404 not_found_error with valid project ID and API key 32 views · 4 likes · 4 posts Roblenderman 7762 (@roblenderman-7762) · 2026-03-22 · ♥ 1 ## Problem Trying to setup `v0` as an API provider in `Kilo Code`. Not sure why I cannot connect. Getting `404`. I have a premium `v0` account with $20 in credits. Trying this as a test. ## API Configuration Correct API Format (from [v0 docs](https://v0.app/docs/api/platform/overview)): ```bash POST https://api.v0.dev/v1/{projectId}/messages Headers: Content-Type: application/json x-api-key: {key} Body: { "prompt": "Hello, say test", "model": "v0-1.0-md" } ``` ## Test Result Test result with provided key: - **Project ID:** `vc1AzC75fnpYUxLsqE1lmgDf` - **Key:** `mykey` - **Response:** ```json { "error": { "type": "not_found_error", "message": "Not Found" } } ``` ## Summary - ✅ Server reachable (no network error) - ✅ Correct endpoint accepts requests - ❌ Project/key combination not found (`404 Not Found`) The API key/project ID appears invalid or inactive for the `v0` platform. The connection to the server works, but authentication failed for this specific credential. Just upgraded 30 min ago. Logged out and in. Created a new key for this. Any advice is appreciated. V1nc3nt (@v1nc3nt78) · 2026-03-22 · ♥ 2 I am trying to use the `v0 API` but I keep receiving a `404` error. > **Error: not_found_error (404)** I have tried with different browsers and different networks, but the error still appears even with a valid project ID and API key. Andrew Ross (@dopaminedriven) · 2026-03-22 @roblenderman-7762 see this [thread](https://community.vercel.com/t/why-api-v0-dev-returns-404-when-requesting-v0-1-5-md-model/36447) Andrew Ross (@dopaminedriven) · 2026-03-22 · ♥ 1 @v1nc3nt78 see this [thread](https://community.vercel.com/t/why-api-v0-dev-returns-404-when-requesting-v0-1-5-md-model/36447)