|
Status
|
Likely cause
|
|---|---|
|
401
|
Missing or incorrect token, or misconfigured audience or tenant ID
|
|
422
|
Malformed request or threat detection triggered
|
|
429
|
Azure OpenAI rate limit reached
|
|
500
|
Internal error; review pod logs for level="error"
|
|
504
|
Timeout connecting to Azure OpenAI; check network connectivity
|
|
|
Stack traces are suppressed in production mode. Set LOG_LEVEL: DEBUG and restart pods for more detail. Customer-hosted deployment always enforces INFO-level floor on modules that expose sensitive data.
|
kubectl logs -n <namespace> deployment/cb-ai-service --since=2h > cbai_logs.txt
kubectl logs -n <namespace> <pod-name> --previous >> cbai_logs.txt # if pod crashed
kubectl describe pod -n <namespace> <pod-name> > pod_describe.txt
kubectl get events -n <namespace> --sort-by='.lastTimestamp' > k8s_events.txt
kubectl get configmap <name> -n <namespace> -o yaml
curl -H "Authorization: Bearer <token>" https://<host>/cb-ai-service/ping/v1