canva-common-errors

Featured

Diagnose and fix Canva Connect API errors and HTTP status codes. Use when encountering Canva errors, debugging failed requests, or troubleshooting integration issues. Trigger with phrases like "canva error", "fix canva", "canva not working", "debug canva", "canva 401", "canva 429".

AI & Automation 2,266 stars 315 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Canva Common Errors ## Overview Quick reference for the most common Canva Connect API errors at `api.canva.com/rest/v1/*` with real HTTP status codes, error payloads, and fixes. ## Error Reference ### 401 Unauthorized — Token Expired or Invalid ```json { "error": "invalid_token", "message": "The access token is invalid or expired" } ``` **Cause:** Access tokens expire after ~4 hours. Token may be malformed or revoked. **Fix:** ```typescript // Refresh the token const res = await fetch('https://api.canva.com/rest/v1/oauth/token', { method: 'POST', headers: { 'Authorization': `Basic ${Buffer.from(`${clientId}:${clientSecret}`).toString('base64')}`, 'Content-Type': 'application/x-www-form-urlencoded', }, body: new URLSearchParams({ grant_type: 'refresh_token', refresh_token: storedRefreshToken, }), }); const { access_token, refresh_token } = await res.json(); // IMPORTANT: Each refresh token is single-use — store the new one ``` --- ### 403 Forbidden — Missing Scope or Insufficient Permissions ```json { "error": "insufficient_scope", "message": "Required scope: design:content:write" } ``` **Cause:** Your integration doesn't have the required OAuth scope enabled, or the user isn't authorized for the resource. **Fix:** 1. Check required scope in the [Scopes Reference](https://www.canva.dev/docs/connect/appendix/scopes/) 2. Enable the scope in your integration settings at [canva.dev](https://www.canva.dev) 3. Re-authorize the user — existing ...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

canva-security-basics

Apply Canva Connect API security best practices for OAuth tokens and access control. Use when securing OAuth credentials, implementing least-privilege scopes, or auditing Canva integration security. Trigger with phrases like "canva security", "canva secrets", "secure canva", "canva token security", "canva OAuth security".

2,266 Updated today
jeremylongshore
AI & Automation Featured

canva-hello-world

Create a minimal working Canva Connect API example. Use when starting a new Canva integration, testing your setup, or learning basic Canva REST API patterns. Trigger with phrases like "canva hello world", "canva example", "canva quick start", "simple canva code".

2,266 Updated today
jeremylongshore
AI & Automation Featured

canva-known-pitfalls

Identify and avoid Canva Connect API anti-patterns and common integration mistakes. Use when reviewing Canva code, onboarding developers, or auditing existing Canva integrations for best practices violations. Trigger with phrases like "canva mistakes", "canva anti-patterns", "canva pitfalls", "canva what not to do", "canva code review".

2,266 Updated today
jeremylongshore
AI & Automation Featured

canva-advanced-troubleshooting

Apply Canva Connect API advanced debugging for hard-to-diagnose issues. Use when standard troubleshooting fails, investigating intermittent failures, or preparing evidence bundles for Canva developer support. Trigger with phrases like "canva hard bug", "canva mystery error", "canva impossible to debug", "difficult canva issue", "canva deep debug".

2,266 Updated today
jeremylongshore
AI & Automation Featured

canva-install-auth

Set up Canva Connect API OAuth 2.0 PKCE authentication and project scaffolding. Use when creating a new Canva integration, setting up OAuth credentials, or initializing a Canva Connect API project. Trigger with phrases like "install canva", "setup canva", "canva auth", "configure canva API", "canva OAuth".

2,266 Updated today
jeremylongshore