Most problems you encounter with SAW fall into one of two categories: environment setup issues that prevent the server from starting correctly, and runtime API errors that surface as non-2xx responses during normal operation. The sections below cover the most common cases with specific remediation steps for each.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/samkit511/SAW---Security-Analyst-Workspace/llms.txt
Use this file to discover all available pages before exploring further.
ADK/Gemini not responding or producing stub results
ADK/Gemini not responding or producing stub results
If the dashboard loads and the API returns responses, but Verify quota:The key must have Gemini API quota enabled in Google Cloud. Visit the Google Cloud console and confirm the Gemini API is active for your project.Reinstall dependencies:If the key is correct but requests still fail, reinstall the Python packages to rule out a stale ADK installation:After making changes, restart the server for the new environment variables to take effect.
agent_summary is generic or workflow_status is DEGRADED with no real model output, the most likely cause is a missing or invalid Gemini API key.Check your environment file:Open .env and confirm that at least one of these variables is set to a valid key:PowerShell blocks virtual environment activation
PowerShell blocks virtual environment activation
On Windows, PowerShell’s default execution policy prevents running Fix for the current session only:Run this before activating the environment. The
.ps1 scripts, including the venv activation script. You will see an error similar to:Process scope means the policy change applies only to this PowerShell window and does not persist.401 Unauthorized on protected endpoints
401 Unauthorized on protected endpoints
429 Rate Limited
429 Rate Limited
SAW limits each source IP to 12 requests per 60-second window. When you exceed this limit the API responds with HTTP 429:Read the
retry_after_seconds value and wait that many seconds before retrying. Do not immediately retry — repeated requests while rate-limited will not reset the window and will continue to return 429.409 Replay Detected
409 Replay Detected
If you send the same Causes:
x-event-id value in two requests within 30 seconds, the second request returns HTTP 409:- You are retrying a request that already succeeded and reusing the same event ID.
- Your log forwarder is sending duplicate events with identical IDs.
x-event-id value for each distinct log event. If you need to retry a failed request, verify first that the original did not succeed by checking /latest or the incident ID. If the original succeeded, do not retry with the same event ID.Wait the full 30-second replay window before reusing an event ID if you have no other option.503 Service Unavailable (overloaded)
503 Service Unavailable (overloaded)
Agent results show workflow_status: DEGRADED
Agent results show workflow_status: DEGRADED
DEGRADED means the pipeline completed but at least one agent encountered an error and did not produce its normal output. The system continues rather than failing entirely.Check which agents failed:Look at trace.agent_orchestration.failures in the response:meta.resilience.failed_agents count also gives you a quick summary of how many agents did not complete successfully.Common causes:- A Gemini model quota error mid-pipeline — verify your API key and quota as described in the first accordion above.
- The
ASA_ENABLE_ADK_ADVISORYorASA_ENABLE_ESCALATIONfeature flags are set tofalse, causing those pipeline stages to be skipped. This is expected behavior, not an error. - A transient network issue reaching the Gemini API. Retry the request; most transient failures resolve on the next attempt.