| name | figma-incident-runbook |
| description | Respond to Figma API outages, auth failures, and rate limit incidents.
Use when Figma integration is down, experiencing errors,
or running post-incident reviews for Figma-related failures.
Trigger with phrases like "figma incident", "figma outage",
"figma down", "figma broken", "figma emergency".
|
| allowed-tools | Read, Grep, Bash(curl:*) |
| version | 1.6.0 |
| license | MIT |
| author | Jeremy Longshore <jeremy@intentsolutions.io> |
| tags | ["saas","figma"] |
| compatibility | Designed for Claude Code |
Figma Incident Runbook
Overview
Rapid incident response procedures for Figma REST API integration failures. Covers triage, mitigation, and postmortem for the most common failure modes.
Prerequisites
- Access to application logs and metrics
- Figma PAT for health checks
- Communication channel (Slack, PagerDuty)
Instructions
Step 1: Quick Triage (First 5 Minutes)
#!/bin/bash
echo "=== Figma Incident Triage ==="
echo -n "Figma Status: "
curl -s https://www.figmastatus.com/api/v2/status.json 2>/dev/null \
| jq -r '.status.description // "Cannot reach status page"'
echo -n "Auth Check: "
HTTP_CODE=$(curl -s -o /dev/null -w "%{http_code}" \
-H "X-Figma-Token: ${FIGMA_PAT}" \
https://api.figma.com/v1/me)
echo "$HTTP_CODE"
echo -n "File Access: "
curl -s -H "X-Figma-Token: ${FIGMA_PAT}" \
"https://api.figma.com/v1/files/${FIGMA_FILE_KEY}?depth=1" \
| jq -r '.name // "FAILED"'
echo "Rate Limit Headers:"
curl -s -D - -o /dev/null \
-H "X-Figma-Token: ${FIGMA_PAT}" \
https://api.figma.com/v1/me 2>/dev/null \
| grep -iE "(retry-after|rate-limit|figma)" || echo "No rate limit headers"
Step 2: Decision Tree
API returning errors?
โโโ 403 Forbidden
โ โโโ Token expired (>90 days) โ Rotate PAT immediately
โ โโโ Wrong scopes โ Regenerate with correct scopes
โ โโโ File not shared โ Check file permissions
โ
โโโ 429 Rate Limited
โ โโโ Retry-After < 60s โ Wait and retry automatically
โ โโโ Retry-After > 300s โ Reduce request volume
โ โโโ X-Figma-Rate-Limit-Type: low โ Consider upgrading plan
โ
โโโ 404 Not Found
โ โโโ File deleted โ Check with file owner
โ โโโ Wrong file key โ Verify FIGMA_FILE_KEY
โ โโโ API path wrong โ Check endpoint documentation
โ
โโโ 500/503 Server Error
โ โโโ status.figma.com shows incident โ Wait for resolution
โ โโโ Intermittent โ Retry with backoff
โ โโโ Persistent โ Contact Figma support
โ
โโโ Network Error (ECONNREFUSED, timeout)
โโโ DNS resolution failing โ Check DNS config
โโโ Firewall blocking โ Verify outbound HTTPS to api.figma.com
โโโ TLS error โ Check Node.js version (18+ required)