canva-common-errors
Diagnoses and resolves common Canva Connect API errors, providing solutions for HTTP status codes and integration issues.
Install this skill
Security score
The canva-common-errors skill was audited on May 19, 2026 and we found 17 security issues across 3 threat categories. Review the findings below before installing.
Categories Tested
Security Issues
Template literal with variable interpolation in command context
| 46 | 'Authorization': `Basic ${Buffer.from(`${clientId}:${clientSecret}`).toString('base64')}`, |
Template literal with variable interpolation in command context
| 96 | const res = await fetch(`https://api.canva.com/rest/v1${path}`, { |
Template literal with variable interpolation in command context
| 98 | headers: { 'Authorization': `Bearer ${token}`, 'Content-Type': 'application/json', ...opts.headers }, |
Template literal with variable interpolation in command context
| 103 | console.warn(`Rate limited — waiting ${retryAfter}s`); |
Template literal with variable interpolation in command context
| 108 | if (!res.ok) throw new Error(`Canva ${res.status}: ${await res.text()}`); |
Template literal with variable interpolation in command context
| 167 | ```bash |
Curl to non-GitHub URL
| 173 | curl -sI https://api.canva.com/rest/v1/users/me \ |
Fetch to external URL
| 43 | const res = await fetch('https://api.canva.com/rest/v1/oauth/token', { |
External URL reference
| 43 | const res = await fetch('https://api.canva.com/rest/v1/oauth/token', { |
External URL reference
| 69 | 1. Check required scope in the [Scopes Reference](https://www.canva.dev/docs/connect/appendix/scopes/) |
External URL reference
| 70 | 2. Enable the scope in your integration settings at [canva.dev](https://www.canva.dev) |
External URL reference
| 96 | const res = await fetch(`https://api.canva.com/rest/v1${path}`, { |
External URL reference
| 123 | https://api.canva.com/rest/v1/designs/$DESIGN_ID | jq '.design.id' |
External URL reference
| 170 | https://api.canva.com/rest/v1/users/me | jq |
External URL reference
| 173 | curl -sI https://api.canva.com/rest/v1/users/me \ |
External URL reference
| 192 | - [API Requests & Responses](https://www.canva.dev/docs/connect/api-requests-responses/) |
External URL reference
| 193 | - [Scopes Reference](https://www.canva.dev/docs/connect/appendix/scopes/) |