Skip to main content

canva-common-errors

Diagnoses and resolves common Canva Connect API errors, providing solutions for HTTP status codes and integration issues.

Install this skill

or
55/100

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

medium line 47

Template literal with variable interpolation in command context

SourceSKILL.md
47'Authorization': `Basic ${Buffer.from(`${clientId}:${clientSecret}`).toString('base64')}`,
medium line 99

Template literal with variable interpolation in command context

SourceSKILL.md
99const res = await fetch(`https://api.canva.com/rest/v1${path}`, {
medium line 101

Template literal with variable interpolation in command context

SourceSKILL.md
101headers: { 'Authorization': `Bearer ${token}`, 'Content-Type': 'application/json', ...opts.headers },
medium line 106

Template literal with variable interpolation in command context

SourceSKILL.md
106console.warn(`Rate limited — waiting ${retryAfter}s`);
medium line 111

Template literal with variable interpolation in command context

SourceSKILL.md
111if (!res.ok) throw new Error(`Canva ${res.status}: ${await res.text()}`);
medium line 172

Template literal with variable interpolation in command context

SourceSKILL.md
172```bash
medium line 178

Curl to non-GitHub URL

SourceSKILL.md
178curl -sI https://api.canva.com/rest/v1/users/me \
low line 44

Fetch to external URL

SourceSKILL.md
44const res = await fetch('https://api.canva.com/rest/v1/oauth/token', {
low line 44

External URL reference

SourceSKILL.md
44const res = await fetch('https://api.canva.com/rest/v1/oauth/token', {
low line 71

External URL reference

SourceSKILL.md
711. Check required scope in the [Scopes Reference](https://www.canva.dev/docs/connect/appendix/scopes/)
low line 72

External URL reference

SourceSKILL.md
722. Enable the scope in your integration settings at [canva.dev](https://www.canva.dev)
low line 99

External URL reference

SourceSKILL.md
99const res = await fetch(`https://api.canva.com/rest/v1${path}`, {
low line 127

External URL reference

SourceSKILL.md
127https://api.canva.com/rest/v1/designs/$DESIGN_ID | jq '.design.id'
low line 175

External URL reference

SourceSKILL.md
175https://api.canva.com/rest/v1/users/me | jq
low line 178

External URL reference

SourceSKILL.md
178curl -sI https://api.canva.com/rest/v1/users/me \
low line 197

External URL reference

SourceSKILL.md
197- [API Requests & Responses](https://www.canva.dev/docs/connect/api-requests-responses/)
low line 198

External URL reference

SourceSKILL.md
198- [Scopes Reference](https://www.canva.dev/docs/connect/appendix/scopes/)
Scanned on May 23, 2026
View Security Dashboard
Installation guide →