403 Forbidden Error on Vercel AI Gateway (API Access Denied)

Hi Vercel Support,

I’m experiencing an issue when accessing the Vercel AI Gateway via API.

Every request to the AI Gateway endpoint returns a 403 Forbidden response:

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

However:

  • My monthly balance ($5/month) is still available and not exhausted
  • Requests via the Vercel AI Playground are working normally
  • The issue only occurs when making API requests from my application

Details:

  • Team ID: team_QUd8higa9Og02loKl4AQcM0e

What I’ve checked:

  • API key is valid and correctly configured

Thanks in advance.

I’m closing this as you replied in another thread. :slight_smile: