Skip to main content 홈 크리에이터 jeremylongshore tons-of-skills-marketplace canva-debug-bundle
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".
설치로 이동 Skills Marketplace 커뮤니티가 만든 AI 스킬을 발견하고 탐색하세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/jeremylongshore/tons-of-skills-marketplace --skill canva-debug-bundle명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
Zip 다운로드 다운로드 중... 이 저장소의 다른 Skills langchain-deploy-integration Deploy a LangChain 1.0 / LangGraph 1.0 app to Cloud Run, Vercel, or LangServe correctly — with timeouts sized for chain length, cold-start mitigation, SSE anti-buffering headers, and Secret Manager over .env. Use when prepping a first production deploy, debugging a stream that hangs behind a proxy, or diagnosing p99 latency spikes. Trigger with "langchain deploy", "langchain cloud run", "langchain vercel python", "langchain langserve", or "langchain docker".
langchain-langgraph-agents Build a correct LangGraph 1.0 ReAct agent with create_react_agent — typed tools, error propagation, recursion caps, and stop conditions that actually stop. Use when writing a first tool-calling agent, migrating from AgentExecutor or initialize_agent, or diagnosing an agent that loops on vague prompts. Trigger with "langgraph agent", "create_react_agent", "langgraph tool calling", "AgentExecutor migration", or "agent loop cost".
langchain-langgraph-human-in-loop Build LangGraph 1.0 human-in-the-loop approval flows with interrupt_before /
interrupt_after and Command(resume=...) — JSON-serializable state, clean
resume semantics, and UI wiring for approval decisions. Use when adding an
approval gate before an expensive tool call, wiring a Slack/web UI for agent
approvals, or debugging a graph that crashes on interrupt.
Trigger with "langgraph human in loop", "langgraph interrupt_before",
"langgraph approval flow", "Command resume", "langgraph HITL".
jeremylongshore
jeremylongshore/tons-of-skills-marketplace
GitHub 저장소 열기 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.