What does Portkey Error Code 033 mean, and how can it be resolved for MCP Gateway access?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

What does Portkey Error Code 033 mean, and how can it be resolved for MCP Gateway access?

L1 Bithead

Issue

Why does an Active Service Gateway API Key with MCP → INVOKE permission receive HTTP 403 / Portkey Error Code 033 when invoking MCP servers provisioned to the same admin-automation workspace in Strata Cloud Manager (SCM)?

Environment / Background

I am evaluating the PRISMA AIRS / AI Gateway MCP functionality in an SCM trial tenant.

A Tumor Board MCP server is registered in:

AI Security → AI Gateway → Integrations → MCP Registry

and provisioned to the admin-automation workspace.

Its catalog entry is:

The backend MCP server itself has already been independently validated: MCP initialize, tools/list, and tools/call work when invoking the backend directly.

I also created an SCM Service Gateway API Key:

  • Key name: tb-mcp-poc-client

  • Type: Service

  • Status: Active

  • Permission: MCP → INVOKE

  • Other permissions: disabled

  • Workspace used during creation: admin-automation

Critical Information / Reproduction

I can reproduce the same failure against two different MCP servers.

1. Tumor Board MCP Server

Request:

POST https://mcp-aigw.portkey.ai/tumor-board-mcp-server/mcp

with:

x-portkey-api-key: <active Service Gateway API key>

and a valid MCP initialize JSON-RPC request.

Result:

HTTP 403 Forbidden

Portkey Error: Forbidden!. Error Code: 033

Request information:

  • Time: 2026-10-29 15:15:46 GMT

  • CF-RAY: a5232336ad43356f-ORD

2. HR MCP Server — A/B comparison

The hr-mcp server is also provisioned to admin-automation, but its backend Auth Type is none.

Request:

POST https://mcp-aigw.portkey.ai/hr-mcp/mcp

using the same Service Gateway API Key and the same MCP initialize request.

Result:

HTTP 403 Forbidden

Portkey Error: Forbidden!. Error Code: 033

Request information:

  • Time: 2026-10-29 15:16:14 GMT

  • CF-RAY: a52323e5bd0a356f-ORD

Because both MCP servers return the same Error 033—including hr-mcp, whose backend authentication type is none—the failure does not appear to be specific to the Tumor Board backend authentication.

Additional Tenant Observations

Workspace:

  • Workspace: admin-automation

  • Workspace members: 0

  • No workspace rate limit

  • No workspace budget limit

  • No workspace guardrail assigned

  • No relevant MCP policy found under Policies & Profiles

User Gateway API Key:

  • User key creation shows: “No users found”

OAuth 2.1 discovery/testing:

  • Protected Resource Metadata discovery succeeds

  • Authorization Server Metadata discovery succeeds

  • Dynamic Client Registration succeeds (HTTP 201)

  • Authorization endpoint fails with:

    • access_denied

    • Organisation identity could not be resolved

Service Gateway API Key:

  • Status: Active

  • Permission: MCP → INVOKE

  • Request header: x-portkey-api-key

  • Result against both MCP servers: HTTP 403 / Portkey Error 033

AI Gateway Observability:

  • The rejected MCP requests do not appear in Analytics, Errors, or Logs for the admin-automation workspace.

Questions

  1. What does Portkey Error Code 033 specifically mean?

  2. Is x-portkey-api-key with an Active Service Gateway API Key and MCP → INVOKE permission supported for non-interactive access to an SCM AI Gateway MCP endpoint such as https://mcp-aigw.portkey.ai/<server-slug>/mcp?

  3. If yes, is any additional organization, workspace, service identity, or MCP-resource authorization required for the Service Gateway API Key?

  4. Is the fact that admin-automation currently has 0 workspace members related to Error 033 for a Service API key, or is that relevant only to the user/OAuth flow?

  5. Could PANW please use the two CF-RAY IDs/timestamps above to determine at which authorization layer the requests are being rejected?

Thank you.

Dequan Chen, Ph.D.
Mayo (MC)

0 REPLIES 0
  • 81 Views
  • 0 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!