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 23, 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
| 47 | 'Authorization': `Basic ${Buffer.from(`${clientId}:${clientSecret}`).toString('base64')}`, |
Template literal with variable interpolation in command context
| 99 | const res = await fetch(`https://api.canva.com/rest/v1${path}`, { |
Template literal with variable interpolation in command context
| 101 | headers: { 'Authorization': `Bearer ${token}`, 'Content-Type': 'application/json', ...opts.headers }, |
Template literal with variable interpolation in command context
| 106 | console.warn(`Rate limited — waiting ${retryAfter}s`); |
Template literal with variable interpolation in command context
| 111 | if (!res.ok) throw new Error(`Canva ${res.status}: ${await res.text()}`); |
Template literal with variable interpolation in command context
| 172 | ```bash |
Curl to non-GitHub URL
| 178 | curl -sI https://api.canva.com/rest/v1/users/me \ |
Fetch to external URL
| 44 | const res = await fetch('https://api.canva.com/rest/v1/oauth/token', { |
External URL reference
| 44 | const res = await fetch('https://api.canva.com/rest/v1/oauth/token', { |
External URL reference
| 71 | 1. Check required scope in the [Scopes Reference](https://www.canva.dev/docs/connect/appendix/scopes/) |
External URL reference
| 72 | 2. Enable the scope in your integration settings at [canva.dev](https://www.canva.dev) |
External URL reference
| 99 | const res = await fetch(`https://api.canva.com/rest/v1${path}`, { |
External URL reference
| 127 | https://api.canva.com/rest/v1/designs/$DESIGN_ID | jq '.design.id' |
External URL reference
| 175 | https://api.canva.com/rest/v1/users/me | jq |
External URL reference
| 178 | curl -sI https://api.canva.com/rest/v1/users/me \ |
External URL reference
| 197 | - [API Requests & Responses](https://www.canva.dev/docs/connect/api-requests-responses/) |
External URL reference
| 198 | - [Scopes Reference](https://www.canva.dev/docs/connect/appendix/scopes/) |