[▲ Vercel Community](/) · [Categories](/categories) · [Latest](/latest) · [Top](/top) · [Live](/live)

[AI SDK](/c/ai-sdk/62)

# Vercel AI Gateway 403 Forbidden and access_denied error despite active credits

50 views · 0 likes · 2 posts


Rigelabs (@rigelabs) · 2026-03-18

I have been using the gateway with an access token, but it started to give an error of `Access Denied` while I have enough credit.

I have already added a credit card. Please check what could be the issue.

**User ID:** `x0cd4irzF5VsfKxNVp3miKfO` 

## Error Sample

```json
{
  "statusCode": 403,
  "responseHeaders": {
    "cache-control": "public, max-age=0, must-revalidate",
    "content-encoding": "br",
    "content-type": "application/json",
    "date": "Wed, 18 Mar 2026 19:04:22 GMT",
    "server": "Vercel",
    "strict-transport-security": "max-age=63072000; includeSubDomains; preload",
    "transfer-encoding": "chunked",
    "vary": "rsc, next-router-state-tree, next-router-prefetch, next-router-segment-prefetch",
    "x-matched-path": "/v3/ai/language-model",
    "x-vercel-cache": "MISS",
    "x-vercel-id": "cpt1::fra1::q7rtp-1773860661906-114ace4eea9a"
  },
  "responseBody": "{\"error\":{\"message\":\"Forbidden.\",\"type\":\"access_denied\"}}",
  "isRetryable": false
}
```


Pauline P. Narvas (@pawlean) · 2026-03-19

What type of card are you using? We've seen this happen in the past with invalid cards.