Skip to main content ホーム クリエイター jeremylongshore claude-code-plugins-plus-skills webflow-common-errors
webflow-common-errors Diagnose and fix Webflow Data API v2 errors — 400, 401, 403, 404, 409, 429, 500.
Use when encountering Webflow API errors, debugging failed requests,
or troubleshooting integration issues.
Trigger with phrases like "webflow error", "fix webflow",
"webflow not working", "debug webflow", "webflow 429", "webflow 401".
インストールへ移動 Skills Marketplace コミュニティが作成したAIスキルを発見・探索
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
直接コマンドでは確認用 Prompt が省略されます。実行前にソースを確認してください。
npx skills add https://github.com/jeremylongshore/claude-code-plugins-plus-skills --skill webflow-common-errorsコマンドは1行のまま表示されます。コピー前に横へスクロールして全体を確認してください。
ローカルで確認しますか?SkillsMP が現在取得できるファイルをダウンロードできます。
Zipをダウンロード ダウンロード中... このリポジトリの他の Skills Implement user sign-up and sign-in flows with Clerk.
Use when building authentication UI, customizing sign-in experience,
or implementing OAuth social login.
Trigger with phrases like "clerk sign-in", "clerk sign-up",
"clerk login flow", "clerk OAuth", "clerk social login".
Implement session management and middleware with Clerk.
Use when managing user sessions, configuring route protection,
or implementing token refresh and custom JWT templates.
Trigger with phrases like "clerk session", "clerk middleware",
"clerk route protection", "clerk token", "clerk JWT".
Configure enterprise SSO, role-based access control, and organization management.
Use when implementing SSO integration, configuring role-based permissions,
or setting up organization-level controls.
Trigger with phrases like "clerk SSO", "clerk RBAC",
"clerk enterprise", "clerk roles", "clerk permissions", "clerk organizations".
jeremylongshore
jeremylongshore/claude-code-plugins-plus-skills
GitHub リポジトリを開く name webflow-common-errors description Diagnose and fix Webflow Data API v2 errors — 400, 401, 403, 404, 409, 429, 500.
Use when encountering Webflow API errors, debugging failed requests,
or troubleshooting integration issues.
Trigger with phrases like "webflow error", "fix webflow",
"webflow not working", "debug webflow", "webflow 429", "webflow 401".
allowed-tools Read, Grep, Bash(curl:*), Bash(npx:*) version 1.5.0 license MIT author Jeremy Longshore <jeremy@intentsolutions.io> tags ["saas","design","no-code","webflow"] compatibility Designed for Claude Code
Webflow Common Errors
Overview
Quick reference for the most common Webflow Data API v2 errors, their root causes,
and concrete solutions. Covers every HTTP status code the API returns.
Prerequisites
webflow-api SDK installed
API token configured
Access to application logs
HTTP Error Reference
400 Bad Request — Invalid Input
{ "code": "validation_error", "message": "Invalid field data" }
Common causes:
Missing required field (name and slug are always required for CMS items)
Wrong field type (sending string for a Number field)
Invalid slug format (must be lowercase, hyphens only, no spaces)
Bulk request exceeds 100 items
Fix:
const collection = await webflow.collections .get (collectionId);
const requiredFields = collection.fields ?.filter (f => f.isRequired );
console .log ("Required fields:" , requiredFields?.map (f => `${f.slug} (${f.type } )` ));
function isValidSlug (slug : string ): boolean {
return /^[a-z0-9]+(?:-[a-z0-9]+)*$/ .test (slug);
}
401 Unauthorized — Invalid Token
{ "code": "unauthorized", "message": "Not authorized" }
Token revoked or expired
Token copied with extra whitespace
Using v1 API key format with v2 endpoints
curl -s https://api.webflow.com/v2/sites \
-H "Authorization: Bearer $WEBFLOW_API_TOKEN " \
-w "\nHTTP Status: %{http_code}\n"
echo -n "$WEBFLOW_API_TOKEN " | wc -c
async function verifyToken ( ): Promise <boolean > {
try {
await webflow.sites .list ();
return true ;
} catch (err : any ) {
if (err.statusCode === 401 ) {
console .error ("Token invalid. Generate new token at developers.webflow.com" );
return false ;
}
throw err;
}
}
403 Forbidden — Missing Scope { "code": "forbidden", "message": "Insufficient permissions" }
Token missing required scope (e.g., calling CMS write with only cms:read)
Site token used for a different site
OAuth app not authorized for the scope
const SCOPE_MAP : Record <string , string > = {
"sites.list" : "sites:read" ,
"sites.publish" : "sites:write" ,
"collections.list" : "cms:read" ,
"collections.items.createItem" : "cms:write" ,
"pages.list" : "pages:read" ,
"forms.list" : "forms:read" ,
"products.list" : "ecommerce:read" ,
"products.create" : "ecommerce:write" ,
"orders.list" : "ecommerce:read" ,
"orders.refund" : "ecommerce:write" ,
};
Generate a new token with the correct scopes at https://developers.webflow.com.
404 Not Found — Wrong Resource ID { "code": "not_found", "message": "Resource not found" }
Wrong site_id, collection_id, or item_id
Resource deleted
Using staging ID against live endpoint (or vice versa)
async function discoverResources ( ) {
const { sites } = await webflow.sites .list ();
console .log ("Sites:" , sites?.map (s => `${s.displayName} : ${s.id} ` ));
for (const site of sites!) {
const { collections } = await webflow.collections .list (site.id !);
console .log (` Collections in ${site.displayName} :` );
for (const col of collections!) {
console .log (` ${col.displayName} : ${col.id} ` );
}
}
}
409 Conflict — Duplicate Resource { "code": "conflict", "message": "Item with slug already exists" }
CMS item with same slug already exists in collection
Trying to create a resource that already exists
async function createOrUpdate (collectionId : string , slug : string , fieldData : Record <string , any > ) {
const { items } = await webflow.collections .items .listItems (collectionId);
const existing = items?.find (i => i.fieldData ?.slug === slug);
if (existing) {
return webflow.collections .items .updateItem (collectionId, existing.id !, { fieldData });
}
return webflow.collections .items .createItem (collectionId, { fieldData : { slug, ...fieldData } });
}
429 Too Many Requests — Rate Limited HTTP/1.1 429 Too Many Requests
Retry-After: 60
Exceeded per-key rate limit
Site publish called more than once per minute
Rapid-fire requests without throttling
async function waitForRateLimit (retryAfterSeconds : number ) {
console .log (`Rate limited. Waiting ${retryAfterSeconds} s...` );
await new Promise (r => setTimeout (r, retryAfterSeconds * 1000 ));
}
See webflow-rate-limits for comprehensive rate limit handling.
500/502/503 — Webflow Server Error
curl -s https://status.webflow.com/api/v2/status.json | jq '.status'
Quick Diagnostic Commands
curl -s -o /dev/null -w "%{http_code}" \
-H "Authorization: Bearer $WEBFLOW_API_TOKEN " \
https://api.webflow.com/v2/sites
curl -v -H "Authorization: Bearer $WEBFLOW_API_TOKEN " \
https://api.webflow.com/v2/sites 2>&1 | grep -i "x-ratelimit\|retry-after"
curl -s -H "Authorization: Bearer $WEBFLOW_API_TOKEN " \
https://api.webflow.com/v2/sites | jq '.sites[].displayName'
curl -s https://status.webflow.com/api/v2/status.json | jq '.status.description'
Error Handling Pattern import { WebflowClient } from "webflow-api" ;
async function resilientCall<T>(
operation : () => Promise <T>,
label : string
): Promise <T> {
try {
return await operation ();
} catch (err : any ) {
const status = err.statusCode || err.status ;
const actionMap : Record <number , string > = {
400 : "Fix request payload — check field names and types" ,
401 : "Rotate token at developers.webflow.com" ,
403 : "Add missing scope to token" ,
404 : "Verify resource IDs with discovery chain" ,
409 : "Handle duplicate — update instead of create" ,
429 : "Wait for Retry-After header (SDK auto-retries)" ,
500 : "Webflow server error — retry later" ,
};
console .error (`[${label} ] HTTP ${status} : ${actionMap[status] || "Unknown error" } ` );
console .error (` Message: ${err.message} ` );
console .error (` Body: ${JSON .stringify(err.body)} ` );
throw err;
}
}
Escalation Path
Check error code against this reference
Run diagnostic commands above
Collect evidence with webflow-debug-bundle
Check Webflow Status
Open support ticket with request ID and error details
Output
Identified error cause from HTTP status code
Applied targeted fix
Verified resolution
Resources
Next Steps For comprehensive debugging, see webflow-debug-bundle.