gateway.ngrok.ai
When troubleshooting issues with the current AI Gateway athttps://gateway.ngrok.ai:
- Check the error code and message in the response body. See Error Codes.
- Verify your app sends an access key—not an upstream provider key.
- Confirm the access key’s configuration allows the provider and model you requested, with routing credentials attached.
- Review usage in Observability.
See Error Handling for retry and failover behavior.
Legacy endpoint setup
If you still run the AI Gateway as a Traffic Policy action on a custom ngrok endpoint, action result variables like${actions.ngrok.ai_gateway} are available in Traffic Policy expressions. See Migrating from endpoints to move to gateway.ngrok.ai.