Trying the new API feature and so excited, but keep getting this error:
-
“Error generating content:”
-
{stack: “Error: No content received from API at handleGenerateWithAI (https://zp1v56uxy8rdx5ypatb0ockcb9tr6a-oci3--5173--2e03455b.local-credentialless.webcontainer-api.io/src/App.tsx?t=1746406975382:117:15)”, message: “No content received from API”, name: “Error”}
at handleGenerateWithAI (/src/App.tsx?t=1746406975382:120:15)
- My React code is correctly calling the Pickaxe API (
https://api.pickaxe.co/v1/completions
). - My API key is correct, and Pickaxe is authenticating you.
- The Pickaxe API itself is responding with an HTTP status 200 OK (which means Pickaxe successfully handled your request).
- However, the content of Pickaxe’s successful response shows an internal error on their end:
JSON
{
success: false,
error: '400 Client Error: Bad Request for url: https://api.anthropic.com/v1/messages'
}
This means Pickaxe tried to call the underlying model (Anthropic Claude, based on the URL) on your behalf, but that call failed with a “400 Bad Request”.