Vercel AI Gateway returns 403 Forbidden access_denied for all requests

Problem

Every request to the Vercel AI Gateway returns a 403 Forbidden access_denied response, including the auth-only /v1/credits endpoint. The block appears to be at the team/account level — no model, key, or request shape changes the result.

What I’ve Tried

  • Created a fresh API key (rotated vck_… twice)

  • Removed and re-added my payment method

  • Purchased $15 of paid credits via vercel buy credits gateway 5 (succeeded, balance shows on dashboard)

  • Tested with curl directly to https://ai-gateway.vercel.sh/v1/credits with Authorization: Bearer <key> — same 403

  • Confirmed an obviously-invalid key returns 401, so the 403 is specifically an authorization decision against my team

  • Tried adding a BYOK Anthropic key — the BYOK “Test Request” also fails with HTTP 200 Connection Failed — Forbidden, which matches the known issue vercel/ai#11280 (credit check happens before BYOK routing)

Error

{

"error": {

"message": "Forbidden.",

"type": "access_denied"

}

}

Team ID

team_GcNnvGv1HR62xqaolnXc8vQg

Could someone please patch this on the team, like was done for the other threads (Mar 22, Feb 15, Jan 21)? Happy to provide the project ID, a request ID, or a deployment URL if useful.

Thanks!


Hi @ra333leven, welcome to the Vercel Community!

I’m sorry you’re facing this issue. I’ve escalated internally and keep you posted here when I’ve updates.

I am facing the same issue getting 403 error even when having 14$ in my account.

Team ID: team_dPsy7Ix2NTStNjtCiWf543kQ
@anshumanb

Hi @pranayhaldiya, welcome to the Vercel Community!

I’m sorry you’re facing this issue. Can you confirm it was working previously for you?

@anshumanb Facing this from around 3 months now, earlier it was working, I have added credits recently still not working.

Hi @pranayhaldiya, I see. After checking with the AI Gateway team, we were able to rectify this issue for you and you should be able to use the AI Gateway keys now.

Hi team,

My Vercel project has an issue where Preview Deployments return 403 Forbidden, but the production domain works normally.

I’ve verified:

  • No auth/middleware blocking routes

  • Code works fine (tested even with a fresh Vite React app)

  • No vercel.json rules affecting preview

  • Production deployment is OK

This seems specific to Preview Deployments only.

Any idea what could cause this?

Thanks.

I have the same issue.

Hi everyone,

I’m experiencing an issue with my Vercel project where my firewall is blocking requests from a critical server, and I’m unable to manage the firewall settings.

Project: monime-dash-ussd-flow-exchange

The Problem:

  • Requests from my server (Monime-USSD-Gateway) are being blocked with 403 errors

  • I previously set up a User Agent bypass rule for “Monime-USSD-Gateway” which was working, but the requests are now being blocked again

  • I use a User Agent bypass because the server doesn’t have a static IP

Additional Issue:

  • When I try to access my project’s Firewall settings page, I see a blank screen

  • I’m on the Hobby plan, but it appears that WAF Managed Rulesets (Generic Attack Detection, RCE, XSS, SQLi) are somehow enabled on my project

  • I cannot disable these rules because the firewall page won’t load

What I Need:

  • Help understanding why my firewall page shows blank

  • Assistance disabling the WAF managed rulesets that may be blocking my legitimate traffic

This is affecting a critical business integration. Any help would be greatly appreciated!

Thanks in advance.

Thank you for bringing this to our attention. To ensure this is investigated with the necessary priority and privacy, please report all security-related concerns, potential exploits, or abuse directly to the Vercel Security Team.

Please submit your report here: Report Abuse On Vercel

Reporting via this official channel is the fastest way to reach our security engineers and ensures that sensitive information is handled in a secure environment rather than a public forum.

hi @anshumanb also have issue about Forbidden trying to use AI Gateway

team id team_YrVcbYkLqoCTzSAZ7j4pJHNC

have 15$ available credit, hang around with help bot to ensure i didn’t miss anything, so yeah looks like i need attention from vercel staff

Problem

Every request to the Vercel AI Gateway returns a 403 Forbidden access_denied response, including the auth-only /v1/credits endpoint. The block appears to be at the team/account level — no model, key, or request shape changes the result.

What I’ve Tried

  • Created a fresh API key (rotated vck_… twice)

  • Removed and re-added my payment method

  • Purchased $10 of paid credits — balance shows on dashboard

  • Confirmed an obviously-invalid key returns 401, so the 403 is specifically an authorization decision against my team

Error

{"error":{"message":"Forbidden.","type":"access_denied"}}

Team ID

team_YrVcbYkLqoCTzSAZ7j4pJHNC

Could someone please patch this on the team, like was done for the other threads

Thanks!

i have the same issue

La pagina carga bien, no hay ningún problema. El error 403 en el preview del dashboard de Vercel es completamente normal?

I have this problem in production.

Same problem in production for me. No answers from Vercel

Hi @4erkashin, we’ve recognized an issue with your account and our team is working to resolve it. I’ll update here once it’s ready for use again.

Hi @anshumanb I’m also experiencing the same issue
team id: team_QUd8higa9Og02loKl4AQcM0e

Hi @radya, sorry that you’re facing this issue. Our team is looking into your issue.