Most first faults on a WSO2 AI Gateway fall into four groups: the gateway will not register, the model provider returns an error, a policy or guardrail does not apply, or you cannot find the log that explains it. Work through them in that order, because each group assumes the one before it is fine. This runbook gives the checks, the likely causes and what to record. It is general practice, not a replacement for the documentation for your release; log names and messages vary, so confirm them in a lab. The gateway is now named Choreo AI Gateway (formerly WSO2 AI Gateway) after Choreo Labs, formerly WSO2, renamed on November 17, 2026.
Before you start
Write down: the API Manager or AI Workspace release, where the gateway runs, the environment, the provider and model, the time of the failure and a request ID if you have one. Reproduce the fault with one request from a command line, not from the application. That removes the application as a variable.
Registration faults
The gateway must reach its control plane, and the control plane must accept it. Work through the network, then identity, then version.
| Check | What to look for | Likely fix |
|---|---|---|
| Network path | Can the gateway reach the control plane address and port | Open the route, check DNS, proxy and firewall rules |
| Certificates | Expired, wrong name or untrusted authority | Renew or import the chain, check the time on both sides |
| Credentials | Registration token or key wrong, expired or for another environment | Reissue and apply to the right environment |
| Version match | Gateway and control plane releases that do not work together | Align releases per the documentation for your version |
| Environment or label | Gateway registered under the wrong name | Correct the label and re-register |
| Clock | Large time drift between hosts | Fix time sync |
If an air-gapped design is in use, check that no step in the registration assumes an outbound call. See setup and registration for the decisions to make first.
Provider errors
Separate errors that come from the provider from errors the gateway raises. Read the status and the body.
| Symptom | Likely cause | Check |
|---|---|---|
| 401 or 403 from the provider | Key wrong, expired or for another project | Re-enter the key in the production and sandbox endpoints |
| 404 or "model not found" | Model name or deployment name wrong | Compare with the provider's current list |
| 429 | Provider quota or rate limit | Check the provider quota and your token limits |
| 5xx or timeout | Provider outage or slow response | Check the provider status page and your timeout settings |
| Works in sandbox, fails in production | Different key or endpoint | Compare Default Sandbox and Default Production endpoints |
| Works from your laptop, fails from the gateway | Network egress, proxy or private route | Test from the gateway host |
The 4.6.0 guide says the key is set under API Configurations, in Endpoints, on the Default Production Endpoint and the Default Sandbox Endpoint. If you route between models, test each target on its own first. Custom providers need separate setup, as the documentation notes.
Policy not applied
A policy that "does nothing" is usually attached to the wrong thing or not deployed.
- Confirm the policy is attached to the API you are calling, not a sibling or an older version.
- Confirm the revision with the policy is deployed to the gateway you are calling.
- Confirm the release has the guardrail: guardrails came in 4.6, and 4.7.0 lists eleven.
- Send a case that must trip the rule. Use a clear one, such as a prompt far over a length limit.
- If it still passes, check for a higher-priority policy or an organisation-level rule that changes the outcome. The overview does not describe check order, so confirm in your lab.
- If it trips but the caller sees an odd message, record the response shape for your client team.
For model-based checks, repeat the same prompt several times; results can vary. A test set turns this from guesswork into a routine.
Logs
Read logs in this order and note timestamps.
| Where | What it tells you |
|---|---|
| Your client or command line | What was sent and what came back |
| Gateway runtime log | Whether the request arrived and which policy ran |
| Control plane or Publisher | Deployment state of the API and revision |
| Provider dashboard | Whether the call reached the provider and what it returned |
| Network devices | Blocks, resets and timeouts on the route |
| Your monitoring | Token counts, latency and error rates over time |
Where you have enabled analytics from the 4.7 release, check them for trends. Keep the failing request and the log lines together in one ticket, with the release and the time, because a fault you cannot reproduce is hard to hand to a vendor. For MCP traffic, see MCP proxies on WSO2 API Manager.
When to escalate
Escalate to the vendor or your support partner when you can reproduce the fault from the command line, you have the release, the time and the log lines, and the checks above have not found a cause. A clean report saves days. Include the failing request with secrets removed, the response, the policy attached to the API and the deployed revision.
A first engagement
Duczer East offers an AI gateway fit check and, for running estates, WSO2 support that covers production incidents and upgrades. We build the test set and runbook with your team so the first fault is a routine one. See WSO2 AI Gateway setup.



