Interface
Runbooks
Operational playbooks for Interface
API key failures (401/500)
Symptoms
- Clients receive
401 Unauthorizedor{"detail": "API key is missing"}. - Service returns
500with"API key error"on every request.
Checks
- Confirm the request includes
X-API-Key. - Verify the
INTERFACE_API_KEYsecret exists in Secret Manager. - Ensure the service account has
secretmanager.versions.access. - Restart the service to reload secrets.
Spanner connectivity errors
Symptoms
- Startup failure while warming the Spanner pool.
- Requests fail with Spanner connectivity errors.
Checks
- Validate
SPANNER_INSTANCE_IDandSPANNER_DATABASE_ID. - Confirm the service account has Spanner access.
- Check network egress and VPC connector configuration (if used).
Slow queries or timeouts
Symptoms
- High p95 latency for search endpoints.
- Timeouts on large
searchrequests.
Checks
- Identify the endpoint and filters used by Bubble.
- Review the query shape and index usage in the endpoint code.
- Add or adjust Spanner indexes if necessary.
- Reduce result size with tighter filters or lower
limit.
CORS errors in Bubble
Symptoms
- Browser console shows CORS blocked requests.
Checks
- Confirm
ALLOWED_ORIGINSincludes the Bubble app origin. - Redeploy after changes.
Last updated on