Vercel AI Gateway returns 403 Forbidden access_denied error

Problem

When I used Vercel AI Gateway today, the interface returned a 403 response to me.

What I’ve Tried

  • Deleted and rebound the payment method
  • Created a new API key

The problem was not resolved.

Error:

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

My Team ID is team_2xxv7Vt2o5o4LaavFoDyR7Xf

Hey, @iwfwcfgcp-5884!

I’ve shared with the team and will loop back.

Thanks for your patience :slight_smile:

I think this is likely because a 403 Forbidden / access_denied :prohibited::key: usually means the server understood the request but refused permission to access the resource, even if the API key and billing look correct. In other words, it’s often a permissions or scope issue on the server side, not a broken key or random bug, 403 errors generally signal insufficient access privileges. Vercel REST API Error Codes.

Hi @iwfwcfgcp-5884, I’ve patched this for you. You should be able to use Vercel AI Gateway now.

1 Like

Hi, I’m experiencing the same 403 Forbidden / access_denied issue with my AI Gateway. Could you please help check my Gateway as well?
My team ID: team_NLzCgqONFjBw9GvvY3EwjzNs
Thanks.

2 Likes

I’ve passed it on internally.

1 Like