[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6F7X21K7Z3F40AZCM4Z7CS6":3,"skill-same:01M6F7X21K7Z3F40AZCM4Z7CS6":79},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":23,"publishedAt":44,"linkOnly":45,"markdownContent":46,"markdownBody":47,"frontMatter":48,"refName":56,"commitSha":57,"skillDirectory":58,"forksCount":59,"repositoryHtmlUrl":60,"repositoryHomepageUrl":61,"ownerHtmlUrl":62,"ownerBlogUrl":6,"ownerDescription":63,"updatedAt":64,"install":65,"resources":78},"01M6F7X21K7Z3F40AZCM4Z7CS6","canva-common-errors",null,"Diagnose and fix Canva Connect API errors and HTTP status codes.\nUse when encountering Canva errors, debugging failed requests,\nor troubleshooting integration issues.\nTrigger with phrases like \"canva error\", \"fix canva\",\n\"canva not working\", \"debug canva\", \"canva 401\", \"canva 429\".","ComeOnOliver\u002Fskillshub","ComeOnOliver","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43215937?v=4","01M6E5JNFECJAAVFE0W7SMWWD2","Haoran Shu","01M6E5JNNDQS7AJZDYFQ8TPZCK",67,"MIT","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fjeremylongshore\u002Fclaude-code-plugins-plus-skills\u002Fcanva-common-errors\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43],"canva common errors","canva","common","read","429","http status","codes","error","trigger","io","fix","design","Bash","api","issues","code","connect","debugging","diagnose","status","2026-11-10 10:12:30",false,"---\nname: canva-common-errors\ndescription: |\n  Diagnose and fix Canva Connect API errors and HTTP status codes.\n  Use when encountering Canva errors, debugging failed requests,\n  or troubleshooting integration issues.\n  Trigger with phrases like \"canva error\", \"fix canva\",\n  \"canva not working\", \"debug canva\", \"canva 401\", \"canva 429\".\nallowed-tools: Read, Grep, Bash(curl:*)\nversion: 1.0.0\nlicense: MIT\nauthor: Jeremy Longshore \u003Cjeremy@intentsolutions.io>\ntags: [saas, design, canva]\ncompatible-with: claude-code\n---\n\n# Canva Common Errors\n\n## Overview\n\nQuick reference for the most common Canva Connect API errors at `api.canva.com\u002Frest\u002Fv1\u002F*` with real HTTP status codes, error payloads, and fixes.\n\n## Error Reference\n\n### 401 Unauthorized — Token Expired or Invalid\n\n```json\n{ \"error\": \"invalid_token\", \"message\": \"The access token is invalid or expired\" }\n```\n\n**Cause:** Access tokens expire after ~4 hours. Token may be malformed or revoked.\n\n**Fix:**\n```typescript\n\u002F\u002F Refresh the token\nconst res = await fetch('https:\u002F\u002Fapi.canva.com\u002Frest\u002Fv1\u002Foauth\u002Ftoken', {\n  method: 'POST',\n  headers: {\n    'Authorization': `Basic ${Buffer.from(`${clientId}:${clientSecret}`).toString('base64')}`,\n    'Content-Type': 'application\u002Fx-www-form-urlencoded',\n  },\n  body: new URLSearchParams({\n    grant_type: 'refresh_token',\n    refresh_token: storedRefreshToken,\n  }),\n});\nconst { access_token, refresh_token } = await res.json();\n\u002F\u002F IMPORTANT: Each refresh token is single-use — store the new one\n```\n\n---\n\n### 403 Forbidden — Missing Scope or Insufficient Permissions\n\n```json\n{ \"error\": \"insufficient_scope\", \"message\": \"Required scope: design:content:write\" }\n```\n\n**Cause:** Your integration doesn't have the required OAuth scope enabled, or the user isn't authorized for the resource.\n\n**Fix:**\n1. Check required scope in the [Scopes Reference](https:\u002F\u002Fwww.canva.dev\u002Fdocs\u002Fconnect\u002Fappendix\u002Fscopes\u002F)\n2. Enable the scope in your integration settings at [canva.dev](https:\u002F\u002Fwww.canva.dev)\n3. Re-authorize the user — existing tokens don't gain new scopes retroactively\n\n---\n\n### 429 Too Many Requests — Rate Limited\n\n```json\n{ \"error\": \"rate_limit_exceeded\", \"message\": \"Rate limit exceeded\" }\n```\n\n**Cause:** Exceeded per-endpoint rate limits. Key limits:\n\n| Endpoint | Limit |\n|----------|-------|\n| `GET \u002Fv1\u002Fusers\u002Fme` | 10 req\u002Fmin |\n| `POST \u002Fv1\u002Fdesigns` | 20 req\u002Fmin |\n| `GET \u002Fv1\u002Fdesigns` | 100 req\u002Fmin |\n| `POST \u002Fv1\u002Fexports` | 75 req\u002F5min, 500\u002F24hr (per user) |\n| `POST \u002Fv1\u002Fasset-uploads` | 30 req\u002Fmin |\n| `POST \u002Fv1\u002Fautofills` | 60 req\u002Fmin |\n| `POST \u002Fv1\u002Ffolders` | 20 req\u002Fmin |\n\n**Fix:**\n```typescript\nasync function canvaAPIWithRetry(path: string, token: string, opts: RequestInit = {}) {\n  const res = await fetch(`https:\u002F\u002Fapi.canva.com\u002Frest\u002Fv1${path}`, {\n    ...opts,\n    headers: { 'Authorization': `Bearer ${token}`, 'Content-Type': 'application\u002Fjson', ...opts.headers },\n  });\n\n  if (res.status === 429) {\n    const retryAfter = parseInt(res.headers.get('Retry-After') || '60');\n    console.warn(`Rate limited — waiting ${retryAfter}s`);\n    await new Promise(r => setTimeout(r, retryAfter * 1000));\n    return canvaAPIWithRetry(path, token, opts); \u002F\u002F Retry once\n  }\n\n  if (!res.ok) throw new Error(`Canva ${res.status}: ${await res.text()}`);\n  return res.json();\n}\n```\n\n---\n\n### 404 Not Found — Resource Missing\n\n**Cause:** Design, asset, template, or folder ID doesn't exist, was deleted, or the user doesn't have access.\n\n**Fix:**\n```bash\n# Verify the resource exists — check design ID\ncurl -s -H \"Authorization: Bearer $TOKEN\" \\\n  https:\u002F\u002Fapi.canva.com\u002Frest\u002Fv1\u002Fdesigns\u002F$DESIGN_ID | jq '.design.id'\n```\n\n---\n\n### 400 Bad Request — Validation Error\n\n**Common cases:**\n```json\n{ \"error\": \"validation_error\", \"message\": \"Design title invalid\" }\n```\n\n| Field | Constraint |\n|-------|-----------|\n| `title` | 1-255 characters |\n| `design_type.width` | 40-8000 pixels |\n| `design_type.height` | 40-8000 pixels |\n| `format.quality` (JPG) | 1-100 |\n| `format.width\u002Fheight` (export) | 40-25000 pixels |\n| Chart data | Max 100 rows, 20 columns |\n\n---\n\n### Export Error Codes\n\n| Code | Meaning | Solution |\n|------|---------|----------|\n| `license_required` | Design uses premium elements | User needs Canva Pro subscription |\n| `approval_required` | Design pending approval | User must approve in Canva |\n| `internal_failure` | Canva server error | Retry after delay |\n\n---\n\n### OAuth Error Codes\n\n| Code | Meaning | Solution |\n|------|---------|----------|\n| `invalid_client` | Wrong client_id or secret | Check credentials |\n| `invalid_grant` | Auth code expired\u002Freused | Restart OAuth flow |\n| `invalid_scope` | Scope not enabled | Enable in integration settings |\n| `unsupported_grant_type` | Wrong grant_type | Use `authorization_code` or `refresh_token` |\n\n## Quick Diagnostic Commands\n\n```bash\n# Check your token\ncurl -s -H \"Authorization: Bearer $TOKEN\" \\\n  https:\u002F\u002Fapi.canva.com\u002Frest\u002Fv1\u002Fusers\u002Fme | jq\n\n# Check API connectivity\ncurl -sI https:\u002F\u002Fapi.canva.com\u002Frest\u002Fv1\u002Fusers\u002Fme \\\n  -H \"Authorization: Bearer $TOKEN\" 2>&1 | head -5\n\n# Verify environment variables\necho \"Client ID: ${CANVA_CLIENT_ID:+[SET]}\"\necho \"Access Token: ${CANVA_ACCESS_TOKEN:+[SET]}\"\n```\n\n## Error Handling\n\n| Error | Cause | Solution |\n|-------|-------|----------|\n| `ENOTFOUND` | DNS failure | Check network connectivity |\n| `ETIMEDOUT` | Network timeout | Increase timeout, check firewall |\n| `invalid_token` | Expired access token | Refresh via OAuth endpoint |\n| `insufficient_scope` | Missing permission | Enable scope, re-authorize |\n\n## Resources\n\n- [API Requests & Responses](https:\u002F\u002Fwww.canva.dev\u002Fdocs\u002Fconnect\u002Fapi-requests-responses\u002F)\n- [Scopes Reference](https:\u002F\u002Fwww.canva.dev\u002Fdocs\u002Fconnect\u002Fappendix\u002Fscopes\u002F)\n\n## Next Steps\n\nFor comprehensive debugging, see `canva-debug-bundle`.\n\n","# Canva Common Errors\n\n## Overview\n\nQuick reference for the most common Canva Connect API errors at `api.canva.com\u002Frest\u002Fv1\u002F*` with real HTTP status codes, error payloads, and fixes.\n\n## Error Reference\n\n### 401 Unauthorized — Token Expired or Invalid\n\n```json\n{ \"error\": \"invalid_token\", \"message\": \"The access token is invalid or expired\" }\n```\n\n**Cause:** Access tokens expire after ~4 hours. Token may be malformed or revoked.\n\n**Fix:**\n```typescript\n\u002F\u002F Refresh the token\nconst res = await fetch('https:\u002F\u002Fapi.canva.com\u002Frest\u002Fv1\u002Foauth\u002Ftoken', {\n  method: 'POST',\n  headers: {\n    'Authorization': `Basic ${Buffer.from(`${clientId}:${clientSecret}`).toString('base64')}`,\n    'Content-Type': 'application\u002Fx-www-form-urlencoded',\n  },\n  body: new URLSearchParams({\n    grant_type: 'refresh_token',\n    refresh_token: storedRefreshToken,\n  }),\n});\nconst { access_token, refresh_token } = await res.json();\n\u002F\u002F IMPORTANT: Each refresh token is single-use — store the new one\n```\n\n---\n\n### 403 Forbidden — Missing Scope or Insufficient Permissions\n\n```json\n{ \"error\": \"insufficient_scope\", \"message\": \"Required scope: design:content:write\" }\n```\n\n**Cause:** Your integration doesn't have the required OAuth scope enabled, or the user isn't authorized for the resource.\n\n**Fix:**\n1. Check required scope in the [Scopes Reference](https:\u002F\u002Fwww.canva.dev\u002Fdocs\u002Fconnect\u002Fappendix\u002Fscopes\u002F)\n2. Enable the scope in your integration settings at [canva.dev](https:\u002F\u002Fwww.canva.dev)\n3. Re-authorize the user — existing tokens don't gain new scopes retroactively\n\n---\n\n### 429 Too Many Requests — Rate Limited\n\n```json\n{ \"error\": \"rate_limit_exceeded\", \"message\": \"Rate limit exceeded\" }\n```\n\n**Cause:** Exceeded per-endpoint rate limits. Key limits:\n\n| Endpoint | Limit |\n|----------|-------|\n| `GET \u002Fv1\u002Fusers\u002Fme` | 10 req\u002Fmin |\n| `POST \u002Fv1\u002Fdesigns` | 20 req\u002Fmin |\n| `GET \u002Fv1\u002Fdesigns` | 100 req\u002Fmin |\n| `POST \u002Fv1\u002Fexports` | 75 req\u002F5min, 500\u002F24hr (per user) |\n| `POST \u002Fv1\u002Fasset-uploads` | 30 req\u002Fmin |\n| `POST \u002Fv1\u002Fautofills` | 60 req\u002Fmin |\n| `POST \u002Fv1\u002Ffolders` | 20 req\u002Fmin |\n\n**Fix:**\n```typescript\nasync function canvaAPIWithRetry(path: string, token: string, opts: RequestInit = {}) {\n  const res = await fetch(`https:\u002F\u002Fapi.canva.com\u002Frest\u002Fv1${path}`, {\n    ...opts,\n    headers: { 'Authorization': `Bearer ${token}`, 'Content-Type': 'application\u002Fjson', ...opts.headers },\n  });\n\n  if (res.status === 429) {\n    const retryAfter = parseInt(res.headers.get('Retry-After') || '60');\n    console.warn(`Rate limited — waiting ${retryAfter}s`);\n    await new Promise(r => setTimeout(r, retryAfter * 1000));\n    return canvaAPIWithRetry(path, token, opts); \u002F\u002F Retry once\n  }\n\n  if (!res.ok) throw new Error(`Canva ${res.status}: ${await res.text()}`);\n  return res.json();\n}\n```\n\n---\n\n### 404 Not Found — Resource Missing\n\n**Cause:** Design, asset, template, or folder ID doesn't exist, was deleted, or the user doesn't have access.\n\n**Fix:**\n```bash\n# Verify the resource exists — check design ID\ncurl -s -H \"Authorization: Bearer $TOKEN\" \\\n  https:\u002F\u002Fapi.canva.com\u002Frest\u002Fv1\u002Fdesigns\u002F$DESIGN_ID | jq '.design.id'\n```\n\n---\n\n### 400 Bad Request — Validation Error\n\n**Common cases:**\n```json\n{ \"error\": \"validation_error\", \"message\": \"Design title invalid\" }\n```\n\n| Field | Constraint |\n|-------|-----------|\n| `title` | 1-255 characters |\n| `design_type.width` | 40-8000 pixels |\n| `design_type.height` | 40-8000 pixels |\n| `format.quality` (JPG) | 1-100 |\n| `format.width\u002Fheight` (export) | 40-25000 pixels |\n| Chart data | Max 100 rows, 20 columns |\n\n---\n\n### Export Error Codes\n\n| Code | Meaning | Solution |\n|------|---------|----------|\n| `license_required` | Design uses premium elements | User needs Canva Pro subscription |\n| `approval_required` | Design pending approval | User must approve in Canva |\n| `internal_failure` | Canva server error | Retry after delay |\n\n---\n\n### OAuth Error Codes\n\n| Code | Meaning | Solution |\n|------|---------|----------|\n| `invalid_client` | Wrong client_id or secret | Check credentials |\n| `invalid_grant` | Auth code expired\u002Freused | Restart OAuth flow |\n| `invalid_scope` | Scope not enabled | Enable in integration settings |\n| `unsupported_grant_type` | Wrong grant_type | Use `authorization_code` or `refresh_token` |\n\n## Quick Diagnostic Commands\n\n```bash\n# Check your token\ncurl -s -H \"Authorization: Bearer $TOKEN\" \\\n  https:\u002F\u002Fapi.canva.com\u002Frest\u002Fv1\u002Fusers\u002Fme | jq\n\n# Check API connectivity\ncurl -sI https:\u002F\u002Fapi.canva.com\u002Frest\u002Fv1\u002Fusers\u002Fme \\\n  -H \"Authorization: Bearer $TOKEN\" 2>&1 | head -5\n\n# Verify environment variables\necho \"Client ID: ${CANVA_CLIENT_ID:+[SET]}\"\necho \"Access Token: ${CANVA_ACCESS_TOKEN:+[SET]}\"\n```\n\n## Error Handling\n\n| Error | Cause | Solution |\n|-------|-------|----------|\n| `ENOTFOUND` | DNS failure | Check network connectivity |\n| `ETIMEDOUT` | Network timeout | Increase timeout, check firewall |\n| `invalid_token` | Expired access token | Refresh via OAuth endpoint |\n| `insufficient_scope` | Missing permission | Enable scope, re-authorize |\n\n## Resources\n\n- [API Requests & Responses](https:\u002F\u002Fwww.canva.dev\u002Fdocs\u002Fconnect\u002Fapi-requests-responses\u002F)\n- [Scopes Reference](https:\u002F\u002Fwww.canva.dev\u002Fdocs\u002Fconnect\u002Fappendix\u002Fscopes\u002F)\n\n## Next Steps\n\nFor comprehensive debugging, see `canva-debug-bundle`.\n\n",{"name":5,"tags":49,"author":51,"license":15,"version":52,"description":53,"allowed-tools":54,"compatible-with":55},[50,35,25],"saas","Jeremy Longshore \u003Cjeremy@intentsolutions.io>","1.0.0","Diagnose and fix Canva Connect API errors and HTTP status codes.\nUse when encountering Canva errors, debugging failed requests,\nor troubleshooting integration issues.\nTrigger with phrases like \"canva error\", \"fix canva\",\n\"canva not working\", \"debug canva\", \"canva 401\", \"canva 429\".\n","Read, Grep, Bash(curl:*)","claude-code","main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002Fjeremylongshore\u002Fclaude-code-plugins-plus-skills\u002Fcanva-common-errors",24,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub","https:\u002F\u002Fskillshub.wtf","https:\u002F\u002Fgithub.com\u002FComeOnOliver","AI & Blockchain Engineer\r\n","2026-06-24 22:07:19",{"source":8,"skillName":5,"commands":66,"prompt":76,"zipAvailable":77},[67,70,73],{"tool":68,"command":69},"npx","npx skills add ComeOnOliver\u002Fskillshub --skill canva-common-errors",{"tool":71,"command":72},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill canva-common-errors",{"tool":74,"command":75},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill canva-common-errors","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fjeremylongshore\u002Fclaude-code-plugins-plus-skills\u002Fcanva-common-errors\u002FSKILL.md",true,[],[80,94,104,113,119,126],{"skillNo":81,"name":82,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":90,"publishedAt":44},"01M6FKJN13GMG4KY57J3QD8GY5","model-hierarchy-skill","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzscole\u002Fmodel-hierarchy-skill\u002Fmodel-hierarchy-skill\u002FSKILL.md",[85],{"categoryNo":86,"categoryName":87,"taxonomyType":88,"taxonomyTypeDesc":89},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[91,92,93],"model","model hierarchy","model hierarchy skill",{"skillNo":95,"name":96,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":100,"publishedAt":44},"01M6FKJJJ6GCAMR4PPPRD12M5X","zoom-mcp","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-mcp\u002FSKILL.md",[99],{"categoryNo":86,"categoryName":87,"taxonomyType":88,"taxonomyTypeDesc":89},[101,102,103],"MCP","zoom","zoom mcp",{"skillNo":105,"name":106,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":44},"01M6FKJE3KYT3KPEZMEEHYKA6K","zoom-apps-sdk","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[110,111,112,102],"sdk","zoom apps sdk","apps",{"skillNo":114,"name":115,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":44},"01M6FKJ9EDH9Q5VWDF8HAJRSP0","windows","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwindows\u002FSKILL.md",[],[115],{"skillNo":120,"name":121,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":122,"categories":123,"keywords":125,"publishedAt":44},"01M6FKJ666BEEFC3AE9GJ72Q93","whiteboard","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwhiteboard\u002FSKILL.md",[124],{"categoryNo":86,"categoryName":87,"taxonomyType":88,"taxonomyTypeDesc":89},[121],{"skillNo":127,"name":128,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":129,"categories":130,"keywords":131,"publishedAt":44},"01M6FKJ21WFCDGTJQ2Q91T9DVW","websockets","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[128]]