If your API calls are failing, the error code tells you what's wrong. Here's what each one means and how to fix it.
401 — Authentication error
The error: Your key is wrong, expired, or revoked.
How to fix:
- Check that you copied the whole key. It should start with
vinci_live_. If it's truncated, copy it again carefully. - Confirm the key hasn't been revoked. Go to platform.getsimpledirect.com, open API keys, and check the list. If you revoked it by accident, issue a new one.
- Check if the key expired. API keys can be set to expire after 30, 90, or 365 days — if yours has expired, issue a new one.
- Verify the auth header format. Use
Authorization: Bearer YOUR_KEY_HEREin your request headers. See the developer docs for a complete example.
402 — Budget exhausted or insufficient quota
The error: Your account is out of credits.
How to fix:
- Open Account in the Vinci app or visit platform.getsimpledirect.com.
- Check your credit balance.
- Add credits (minimum $10 purchase) or enable auto top-up to refill automatically.
- Retry your API call.
403 — Permission error
The error: Your key doesn't have permission to call that endpoint.
How to fix:
- Go to platform.getsimpledirect.com and open API keys.
- Find your key and check its scopes. Common scopes are:
inference— needed to callPOST /chat/completionsmodels— needed to callGET /modelsusage— needed to read usage data
- If your key lacks the scope you need, revoke it and issue a new one with the right scopes selected. (You can't edit scopes on existing keys.)
429 — Rate limit error
The error: Vinci is briefly busy and rate-limited your request.
How to fix:
- Wait a few seconds — this is temporary.
- Retry your request. It should succeed.
This isn't a credit or authentication issue — it just means we're handling a surge of traffic. A short retry delay (with exponential backoff) is standard practice.
Still getting errors?
If none of the above match what you're seeing, contact support with:
- The exact error code and message.
- The endpoint you're calling (e.g.,
POST /chat/completions). - A small, reproducible example of your request (don't include your actual key).
- What programming language or tool you're using.
For more details
Check the developer docs for setup instructions and a complete API reference.