Skip to main content
canva-debug-bundle Collect Canva Connect API debug evidence for troubleshooting and support.
Use when encountering persistent issues, preparing support tickets,
or collecting diagnostic information for Canva API problems.
Trigger with phrases like "canva debug", "canva support bundle",
"collect canva logs", "canva diagnostic".
Jump to install Skills Marketplace Discover and explore AI skills built by the community.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Copy promptShow prompt details A direct command skips the review prompt. Inspect the source before running it.
npx skills add https://github.com/jeremylongshore/claude-code-plugins-plus-skills --skill canva-debug-bundleThe command stays on one line. Scroll horizontally to inspect it before copying.
Prefer a local copy? Download the files currently available to SkillsMP.
Download Zip Downloading... More from this repository Implement user sign-up and sign-in flows with Clerk.
Use when building authentication UI, customizing sign-in experience,
or implementing OAuth social login.
Trigger with phrases like "clerk sign-in", "clerk sign-up",
"clerk login flow", "clerk OAuth", "clerk social login".
Implement session management and middleware with Clerk.
Use when managing user sessions, configuring route protection,
or implementing token refresh and custom JWT templates.
Trigger with phrases like "clerk session", "clerk middleware",
"clerk route protection", "clerk token", "clerk JWT".
Configure enterprise SSO, role-based access control, and organization management.
Use when implementing SSO integration, configuring role-based permissions,
or setting up organization-level controls.
Trigger with phrases like "clerk SSO", "clerk RBAC",
"clerk enterprise", "clerk roles", "clerk permissions", "clerk organizations".
Related occupations SOC
Based on SOC occupation classification
name canva-debug-bundle description Collect Canva Connect API debug evidence for troubleshooting and support.
Use when encountering persistent issues, preparing support tickets,
or collecting diagnostic information for Canva API problems.
Trigger with phrases like "canva debug", "canva support bundle",
"collect canva logs", "canva diagnostic".
allowed-tools Read, Bash(grep:*), Bash(curl:*), Bash(tar:*), Grep version 1.5.0 license MIT author Jeremy Longshore <jeremy@intentsolutions.io> tags ["saas","design","canva"] compatibility Designed for Claude Code
Canva Debug Bundle
Overview
Collect diagnostic information for Canva Connect API issues. Tests connectivity to api.canva.com/rest/v1/*, validates OAuth tokens, checks rate limits, and packages evidence for support tickets.
Instructions
Step 1: Connectivity & Auth Check Script
#!/bin/bash
set -euo pipefail
TOKEN="${CANVA_ACCESS_TOKEN:-} "
BUNDLE="canva-debug-$(date +%Y%m%d-%H%M%S) "
mkdir -p "$BUNDLE "
echo "=== Canva Connect API Debug Bundle ===" | tee "$BUNDLE /summary.txt"
echo "Generated: $(date -u +%Y-%m-%dT%H:%M:%SZ) " | tee -a "$BUNDLE /summary.txt"
echo "" >> "$BUNDLE /summary.txt"
echo "--- API Connectivity ---" >> "$BUNDLE /summary.txt"
HTTP_CODE=$(curl -s -o /dev/null -w "%{http_code}" \
-H "Authorization: Bearer ${TOKEN} " \
"https://api.canva.com/rest/v1/users/me" )
echo "GET /v1/users/me: HTTP $HTTP_CODE " | tee -a "$BUNDLE /summary.txt"
if [ " " = ];
curl -s -H \
| \
| python3 -m json.tool 2>/dev/null ||
>>
>>
>>
>>
curl -s -D - -o /dev/null -H \
2>&1 \
| grep -iE \
>> 2>/dev/null || >>
>>
>>
nslookup api.canva.com >> 2>&1 || >>
>>
>>
curl -sv 2>&1 \
| grep -E >> 2>/dev/null ||
>>
>>
>>
>>
>>
>>
tar -czf
$HTTP_CODE
"200"
then
"Authorization: Bearer $TOKEN "
"https://api.canva.com/rest/v1/users/me"
tee
"$BUNDLE /user-identity.json"
true
echo
"Token: VALID"
"$BUNDLE /summary.txt"
else
echo
"Token: INVALID or EXPIRED (HTTP $HTTP_CODE )"
"$BUNDLE /summary.txt"
fi
echo
""
"$BUNDLE /summary.txt"
echo
"--- Rate Limit Headers ---"
"$BUNDLE /summary.txt"
"Authorization: Bearer $TOKEN "
"https://api.canva.com/rest/v1/designs?limit=1"
"(x-ratelimit|retry-after|content-type|date)"
"$BUNDLE /summary.txt"
echo
"No rate limit headers"
"$BUNDLE /summary.txt"
echo
""
"$BUNDLE /summary.txt"
echo
"--- DNS Resolution ---"
"$BUNDLE /summary.txt"
"$BUNDLE /summary.txt"
echo
"nslookup not available"
"$BUNDLE /summary.txt"
echo
""
"$BUNDLE /summary.txt"
echo
"--- TLS Handshake ---"
"$BUNDLE /summary.txt"
"https://api.canva.com/rest/v1/users/me"
"(SSL|TLS|Connected)"
"$BUNDLE /summary.txt"
true
echo
""
"$BUNDLE /summary.txt"
echo
"--- Environment ---"
"$BUNDLE /summary.txt"
echo
"Node: $(node --version 2>/dev/null || echo 'not found') "
"$BUNDLE /summary.txt"
echo
"OS: $(uname -s -r) "
"$BUNDLE /summary.txt"
echo
"CANVA_CLIENT_ID: ${CANVA_CLIENT_ID:+[SET]} "
"$BUNDLE /summary.txt"
echo
"CANVA_ACCESS_TOKEN: ${CANVA_ACCESS_TOKEN:+[SET]} "
"$BUNDLE /summary.txt"
"$BUNDLE .tar.gz"
"$BUNDLE "
echo
""
echo
"Bundle created: $BUNDLE .tar.gz"
Step 2: Programmatic Diagnostic
interface DiagnosticResult {
check : string ;
status : 'pass' | 'fail' | 'warn' ;
details : string ;
durationMs : number ;
}
async function runCanvaDiagnostics (token : string ): Promise <DiagnosticResult []> {
const results : DiagnosticResult [] = [];
const start1 = Date .now ();
try {
const res = await fetch ('https://api.canva.com/rest/v1/users/me' , {
headers : { 'Authorization' : `Bearer ${token} ` },
});
results.push ({
check : 'API Reachability' ,
status : res.ok ? 'pass' : res.status === 401 ? 'fail' : 'warn' ,
details : `HTTP ${res.status} ` ,
durationMs : Date .now () - start1,
});
} catch (e : any ) {
results.push ({ check : 'API Reachability' , status : 'fail' , details : e.message , durationMs : Date .now () - start1 });
}
const start2 = Date .now ();
try {
const res = await fetch ('https://api.canva.com/rest/v1/users/me' , {
headers : { 'Authorization' : `Bearer ${token} ` },
});
if (res.ok ) {
const data = await res.json ();
results.push ({
check : 'Token Validity' ,
status : 'pass' ,
details : `user_id: ${data.team_user.user_id} ` ,
durationMs : Date .now () - start2,
});
} else {
results.push ({ check : 'Token Validity' , status : 'fail' , details : `HTTP ${res.status} ` , durationMs : Date .now () - start2 });
}
} catch (e : any ) {
results.push ({ check : 'Token Validity' , status : 'fail' , details : e.message , durationMs : Date .now () - start2 });
}
const start3 = Date .now ();
try {
const res = await fetch ('https://api.canva.com/rest/v1/designs?limit=1' , {
headers : { 'Authorization' : `Bearer ${token} ` },
});
results.push ({
check : 'Scope: design:meta:read' ,
status : res.ok ? 'pass' : res.status === 403 ? 'warn' : 'fail' ,
details : res.ok ? 'Scope active' : `HTTP ${res.status} — scope may not be enabled` ,
durationMs : Date .now () - start3,
});
} catch (e : any ) {
results.push ({ check : 'Scope: design:meta:read' , status : 'fail' , details : e.message , durationMs : Date .now () - start3 });
}
return results;
}
const results = await runCanvaDiagnostics (process.env .CANVA_ACCESS_TOKEN !);
for (const r of results) {
const icon = r.status === 'pass' ? 'OK' : r.status === 'warn' ? 'WARN' : 'FAIL' ;
console .log (`[${icon} ] ${r.check} : ${r.details} (${r.durationMs} ms)` );
}
Sensitive Data Handling ALWAYS REDACT before sharing:
Access tokens and refresh tokens
Client secrets
User IDs (if privacy-sensitive)
HTTP status codes and error messages
Response headers (rate limit info)
Latency measurements
SDK/runtime versions
Error Handling Item Purpose Included HTTP status from /v1/users/me Auth validation Yes Rate limit headers Throttling diagnosis Yes DNS resolution Network path Yes TLS handshake Certificate issues Yes Environment versions Compatibility Yes
Resources
Next Steps For rate limit issues, see canva-rate-limits.