Diagnose and fix common Figma REST API and Plugin API errors.

MITAuto-check passedBackend & APIs

Install Figma Common Errors

skills CLI
$ npx skills add jeremylongshore/tons-of-skills-marketplace --skill figma-common-errors -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install jeremylongshore/tons-of-skills-marketplace figma-common-errors --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/.curated/figma-common-errors .claude/skills/figma-common-errors && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
figma-common-errors
GitHub stars
2.8k
Token cost
~1.8k tokens
SKILL.md length
420 words
Files
5 (incl. references)
Skills in repo
3,342
Repo updated
First seen
Licence
MIT

At a glance

Diagnose and fix common Figma REST API and Plugin API errors.

  • Works in 4 steps: Identify the Error Category → Diagnose Specific Errors → Plugin API Errors → …
  • Encountering HTTP errors
  • SKILL.md covers Overview, Prerequisites, Instructions and Output, plus 4 more sections
  • Calls curl and jq; reaches api.figma.com and figma.com; needs FIGMA_FILE_KEY and FILE_KEY

What it does

Figma Common Errors is an agent skill from jeremylongshore/tons-of-skills-marketplace. Diagnose and fix common Figma REST API and Plugin API errors. Use when encountering HTTP errors, plugin sandbox crashes, or unexpected API responses from Figma. Trigger with phrases like "figma error", "fix figma", "figma not working", "figma 403", "figma 429".

Its SKILL.md is about 1.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including reference files (for example `references/diagnose-specific-errors.md`, `references/examples.md` and `references/identify-the-error-category.md`). Compatibility notes: Designed for Claude Code

It sits in Backend & APIs, covering REST APIs. It works with Figma. The repository describes itself as: Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com. The licence is MIT.

When your agent uses it

  • Encountering HTTP errors
  • Plugin sandbox crashes
  • Unexpected API responses from Figma
  • With phrases like figma error

Example prompts

  • “figma error”
  • “fix figma”
  • “figma not working”
  • “/figma-common-errors”

Requirements

  • Node.js
  • A credential in FILE_KEY
  • A credential in FIGMA_FILE_KEY
  • Compatibility (from SKILL.md): Designed for Claude Code
  • Pre-approved tools (allowed-tools): Read, Grep, Bash(curl:*)

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Identify the Error Category
  2. Diagnose Specific Errors
  3. Plugin API Errors
  4. Quick Diagnostic Script

What it can do on your machine

Read from SKILL.md and the folder at commit 80f86df. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Grep
    • Bash(curl:*)

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • curl
    • jq

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • api.figma.com
    • figma.com

    Also links to:

    • developers.figma.com
    • status.figma.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • FIGMA_FILE_KEY
    • FILE_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Designed for Claude Code

    From compatibility in the SKILL.md frontmatter.

Context cost

Figma Common Errors loads about 1.8k tokens when it runs, and up to ~3.2k if it reads all its reference files. Until then it costs about 70 tokens; SKILL.md has 420 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~70
When it runs · the whole SKILL.md, loaded when a task matches
~1.8k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~3.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from jeremylongshore/tons-of-skills-marketplace at commit 80f86df, republished under its MIT licence (© jeremylongshore). 420 words, ~1,801 tokens.

Download SKILL.mdSave it as .claude/skills/figma-common-errors/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
figma-common-errors
description
Diagnose and fix common Figma REST API and Plugin API errors. Use when encountering HTTP errors, plugin sandbox crashes, or unexpected API responses from Figma. Trigger with phrases like "figma error", "fix figma", "figma not working", "figma 403", "figma 429".
allowed-tools
Read, Grep, Bash(curl:*)
compatibility
Designed for Claude Code
version
1.6.0
license
MIT
author
Jeremy Longshore <jeremy@intentsolutions.io>
tags
saas, figma

Figma Common Errors

Overview

Quick reference for the most common Figma REST API and Plugin API errors, with exact error messages and working solutions.

Prerequisites

  • Figma API credentials configured
  • Access to your application logs or browser console

Instructions

Step 1: Identify the Error Category
REST API HTTP Errors
StatusErrorCauseSolution
400Bad RequestMalformed request, invalid node IDsVerify node ID format (pageId:nodeId, e.g., 0:1)
403ForbiddenInvalid token, wrong scopes, no file accessRegenerate PAT with correct scopes; verify file sharing
404Not FoundWrong file key, deleted file, wrong endpointCheck file key from URL; verify file exists
429Rate LimitedToo many requestsRead Retry-After header; implement backoff
500Internal Server ErrorFigma server issueRetry with exponential backoff; check status.figma.com
Step 2: Diagnose Specific Errors
403 Forbidden -- Token Issues
bash
# Test your token
curl -s -o /dev/null -w "%{http_code}" \
  -H "X-Figma-Token: ${FIGMA_PAT}" \
  https://api.figma.com/v1/me
# 200 = token valid, 403 = invalid/expired

# Check what scopes your request needs
# file_content:read  -> GET /v1/files/:key
# file_comments:read -> GET /v1/files/:key/comments
# file_variables:read -> GET /v1/files/:key/variables/local
# webhooks:write     -> POST /v2/webhooks

Common 403 causes:

  • PAT expired (90-day maximum lifetime)
  • Token missing required scope (e.g., using file_content:read but calling comments endpoint)
  • File not shared with the token owner
  • OAuth token not refreshed after expiry
429 Rate Limited
typescript
// Figma returns these headers on 429:
// Retry-After: <seconds>            -- wait this long before retrying
// X-Figma-Rate-Limit-Type: <type>   -- "low" or "high" tier
// X-Figma-Plan-Tier: <plan>         -- your plan level

async function handleRateLimit(response: Response) {
  if (response.status === 429) {
    const retryAfter = parseInt(response.headers.get('Retry-After') || '60');
    const limitType = response.headers.get('X-Figma-Rate-Limit-Type');
    console.warn(`Rate limited (${limitType}). Retrying in ${retryAfter}s`);
    await new Promise(r => setTimeout(r, retryAfter * 1000));
    return true; // signal to retry
  }
  return false;
}
404 Not Found
bash
# Verify your file key is correct
# URL format: https://www.figma.com/design/<FILE_KEY>/<file-name>
# The file key is the string between /design/ and the next /

# Test the file key
curl -s -H "X-Figma-Token: ${FIGMA_PAT}" \
  "https://api.figma.com/v1/files/${FIGMA_FILE_KEY}" \
  | jq '.name // "FILE NOT FOUND"'
Images Endpoint Returns null
typescript
// GET /v1/images/:key returns null for nodes that cannot render
const images = await exportImages(['0:1', '0:2']);

for (const [nodeId, url] of Object.entries(images)) {
  if (url === null) {
    // Node failed to render. Common causes:
    // - Node is invisible (visibility: false)
    // - Node has 0% opacity
    // - Node ID does not exist in the file
    // - Node has no visual content (e.g., an empty frame)
    console.error(`Failed to render node ${nodeId}`);
  }
}
Step 3: Plugin API Errors
ErrorContextCauseSolution
figma is not definedNode.js / browserRunning plugin code outside Figma sandboxPlugin code only runs inside Figma desktop app
Cannot read property of undefinedPluginAccessing deleted node referenceRe-query node: figma.getNodeById(id)
Plugin timed outPluginOperation took too longUse figma.commitUndo() and batch operations
Quota exceededPluginToo many nodes createdLimit to ~5000 nodes per operation
Permission deniedPluginMissing manifest.json permissionAdd required permission to permissions array
Show full SKILL.md (163 more words)Show less
Step 4: Quick Diagnostic Script
bash
#!/bin/bash
echo "=== Figma API Diagnostics ==="

# 1. Check Figma service status
echo -n "Figma Status: "
curl -s -o /dev/null -w "%{http_code}" https://www.figma.com && echo " OK" || echo " DOWN"

# 2. Validate token
echo -n "Token Valid: "
curl -s -o /dev/null -w "%{http_code}" \
  -H "X-Figma-Token: ${FIGMA_PAT}" \
  https://api.figma.com/v1/me

# 3. Check file access
echo -n "File Access: "
curl -s -H "X-Figma-Token: ${FIGMA_PAT}" \
  "https://api.figma.com/v1/files/${FIGMA_FILE_KEY}" \
  | jq -r '.name // "FAILED"'

# 4. Check env vars
echo "FIGMA_PAT: ${FIGMA_PAT:+SET (${#FIGMA_PAT} chars)}"
echo "FIGMA_FILE_KEY: ${FIGMA_FILE_KEY:-NOT SET}"

Output

  • Identified error cause from status code and headers
  • Applied targeted fix
  • Verified resolution with diagnostic commands

Error Handling

When the diagnostic itself fails, work outside-in before re-consulting the catalog:

SymptomCauseSolution
Every call returns 401, even /v1/meToken revoked, expired, or wrong header (Authorization vs X-Figma-Token)Regenerate the PAT; PATs use X-Figma-Token, OAuth uses Authorization: Bearer
Diagnostic script (Step 4) hangsNo timeout on the probe requestsAdd --max-time 15 to curl / AbortSignal.timeout() in fetch
Error not in the catalogNew API behavior or plugin-API error mistaken for RESTCheck Step 3 (plugin errors) and status.figma.com before filing
Fix applied but error persistsCached 4xx response or stale token in another envBust caches; verify which env's token the failing process actually loaded

Full per-error diagnosis flow: references/diagnose-specific-errors.md; automated probe: references/quick-diagnostic-script.md.

Examples

Error Wrapper with Actionable Messages
typescript
function diagnoseFigmaError(status: number, body: string): string {
  switch (status) {
    case 403: return 'Auth failed. Check: (1) PAT not expired (2) correct scopes (3) file shared with you';
    case 404: return 'Not found. Check: (1) file key from URL (2) file not deleted (3) node IDs valid';
    case 429: return 'Rate limited. Implement exponential backoff with Retry-After header';
    case 500: return 'Figma server error. Check status.figma.com and retry with backoff';
    default: return `Unexpected ${status}: ${body}`;
  }
}

Resources

Next Steps

For comprehensive debugging, see figma-debug-bundle.

© jeremylongshore, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 4 other files (references) in skills/.curated/figma-common-errors of jeremylongshore/tons-of-skills-marketplace.

  • SKILL.md
  • references/diagnose-specific-errors.md
  • references/examples.md
  • references/identify-the-error-category.md
  • references/quick-diagnostic-script.md

Open the folder on GitHubat commit 80f86df

Compare with similar skills

Figma Common Errors next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Figma Common Errors compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Figma Common Errors this skilljeremylongshore/tons-of-skills-marketplace2.8k—~1.8kAutomated safety check: PassMIT
Io Figmagridaco/grida2.7k—~2.2kAutomated safety check: NotesApache-2.0
Figma Explorebitovi/ai-enablement-prompts121—~1.1kAutomated safety check: NotesMIT
Figma Comment Fix Loophashgraph-online/awesome-codex-plugins1.3k—~4.8kAutomated safety check: PassMIT
Figma To StaticLeoYeAI/openclaw-master-skills2.2k—~7.1kAutomated safety check: PassMIT
Ingest Figmabluzir/claude-code-design106—~745Automated safety check: PassNone

Similar skills

  • Io Figma

    gridaco/grida

    Guides work on the Figma I/O package (@grida/io-figma, packages/grida-canvas-io-figma/).

    2.7k GitHub stars~2.2k tokensUpdated yesterday
    Backend & APIsAuto-check: notes
  • Figma Explore

    bitovi/ai-enablement-prompts

    Explore a Figma file to discover all pages, components, and component sets using the Figma REST API.

    121 GitHub stars~1.1k tokensUpdated 29 days ago
    Backend & APIsAuto-check: notes
  • Figma Comment Fix Loop

    hashgraph-online/awesome-codex-plugins

    Comment-to-fix pipeline for Figma. An agent skill from hashgraph-online/awesome-codex-plugins.

    1.3k GitHub stars~4.8k tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Figma To Static

    LeoYeAI/openclaw-master-skills

    Convert Figma design files to pixel-level mobile-first static HTML/CSS pages.

    2.2k GitHub stars~7.1k tokensUpdated 2 mo ago
    Frontend & DesignAuto-check passed
  • Ingest Figma

    bluzir/claude-code-design

    Pull design tokens + frame structure from a Figma URL via the Figma REST API.

    106 GitHub stars~745 tokensUpdated 5 mo ago
    Frontend & DesignAuto-check passed
  • Paperclip

    paperclipai/paperclip

    Interact with the Paperclip control plane API for task coordination and governance.

    99k GitHub stars~9.6k tokensUpdated today
    Backend & APIsAuto-check passed

More from jeremylongshore/tons-of-skills-marketplace

All 3,342 skills in this repo
  • Performing Security Code Review

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to conduct a security-focused code review using the security-agent plugin.

    2.8k GitHub starsUsed in 2 repos~1.3k tokens
    Auto-check: notes
  • Adapting Transfer Learning Models

    jeremylongshore/tons-of-skills-marketplace

    Build this skill automates the adaptation of pre-trained machine learning models using transfer learning techniques.

    2.8k GitHub stars~1.1k tokensUpdated yesterday
    Auto-check passed
  • Agent Context Loader

    jeremylongshore/tons-of-skills-marketplace

    Execute proactive auto-loading: automatically detects and loads agents.md files.

    2.8k GitHub stars~1.1k tokensUpdated yesterday
    Auto-check passed
  • Aggregating Performance Metrics

    jeremylongshore/tons-of-skills-marketplace

    Aggregate and centralize performance metrics from applications, systems, databases, caches, and services.

    2.8k GitHub stars~1.2k tokensUpdated yesterday
    Auto-check passed
  • Analyzing Capacity Planning

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to analyze capacity requirements and plan for future growth.

    2.8k GitHub stars~947 tokensUpdated yesterday
    Auto-check passed
  • Analyzing Database Indexes

    jeremylongshore/tons-of-skills-marketplace

    Process use when you need to work with database indexing. An agent skill from jeremylongshore/tons-of-skills-marketplace.

    2.8k GitHub stars~2k tokensUpdated yesterday
    Auto-check passed

Works with

Categories

Questions about Figma Common Errors

What does Figma Common Errors do?

Diagnose and fix common Figma REST API and Plugin API errors. Figma Common Errors is an agent skill from jeremylongshore/tons-of-skills-marketplace. Diagnose and fix common Figma REST API and Plugin API errors.

When should I use Figma Common Errors?

Figma Common Errors fits situations like: encountering HTTP errors; plugin sandbox crashes; unexpected API responses from Figma; with phrases like figma error.

How do I install Figma Common Errors in Claude Code?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill figma-common-errors -a claude-code`. Or copy the skill folder (skills/.curated/figma-common-errors in jeremylongshore/tons-of-skills-marketplace) into .claude/skills/figma-common-errors in your project. Claude Code loads it when a task matches its description.

How do I install Figma Common Errors in Codex?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill figma-common-errors -a codex`. Or copy the skill folder (skills/.curated/figma-common-errors in jeremylongshore/tons-of-skills-marketplace) into .agents/skills/figma-common-errors in your project. Codex loads it when a task matches its description.

Can I use Figma Common Errors in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill figma-common-errors -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/figma-common-errors, .gemini/skills/figma-common-errors, .github/skills/figma-common-errors and .opencode/skills/figma-common-errors in your project.

What does Figma Common Errors need to run?

Going by SKILL.md and its folder, Figma Common Errors needs the command-line tools its instructions call (curl and jq) and credentials named FIGMA_FILE_KEY and FILE_KEY. Our summary lists: Node.js; A credential in FILE_KEY; A credential in FIGMA_FILE_KEY. Its frontmatter pre-approves these tools: Read, Grep, Bash(curl:*). Compatibility (from SKILL.md): Designed for Claude Code.

Does Figma Common Errors access the network?

SKILL.md names 4 domains. In commands or code: api.figma.com and figma.com; the agent is likely to contact these when it follows the instructions. As links in the text: developers.figma.com and status.figma.com. This is read from the text; nothing was executed.

Is Figma Common Errors safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Figma Common Errors use?

Figma Common Errors is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Figma Common Errors use?

About 1.8k tokens (SKILL.md is roughly 7.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.4k tokens, read only when the agent opens those files.

What are the alternatives to Figma Common Errors?

Skills that share tags, products or a category with Figma Common Errors: Io Figma (gridaco/grida, 2.7k stars), Figma Explore (bitovi/ai-enablement-prompts, 121 stars), Figma Comment Fix Loop (hashgraph-online/awesome-codex-plugins, 1.3k stars) and Figma To Static (LeoYeAI/openclaw-master-skills, 2.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Figma Common Errors?

jeremylongshore (a GitHub user) maintains it in jeremylongshore/tons-of-skills-marketplace, which has 2,825 GitHub stars. The repository holds 3,342 skills in this directory. The repository was last updated on October 9, 2026.

Source: jeremylongshore/tons-of-skills-marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.