Przejdź do treści
Biblioteka skilli
Programowanie · Analiza

canva-common-errors

/canva-common-errors

Analizuje i klasyfikuje awarie Canva Connect według statusu HTTP, kodu błędu, operacji i stanu autoryzacji, aby zdecydować, czy odświeżyć, ponowić autoryzację, poczekać lub eskalować.

Licencja
MIT
Ostatnia zmiana repozytorium
26.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
2
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
2
Przestarzałość

Brak sygnałów. Repozytorium zmienione 26.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Analizuje i klasyfikuje awarie Canva Connect według statusu HTTP, kodu błędu, operacji i stanu autoryzacji, aby zdecydować, czy odświeżyć, ponowić autoryzację, poczekać lub eskalować.

Wyzwalacze z opisu

Canva API errorCanva 401Canva 403 or 429

Argumenty

/canva-common-errors [status-code-and-redacted-error]
Oryginalny opis (EN)

Analyze and classify Canva Connect failures by HTTP status, provider error code, operation, and authorization state. Use when deciding whether to refresh, reauthorize, wait, reconcile, correct input, or escalate. Trigger with: "Canva API error", "Canva 401", "Canva 403 or 429".

Jak działa

  1. Overview
  2. Prerequisites
  3. Instructions
  4. Authentication
  5. Tool Discipline
  6. Output
  7. Examples
  8. Error Handling
  9. Resources
Sekcje z nagłówków SKILL.md, w oryginale · 72 linii, 458 słów
Podgląd SKILL.md
---
name: canva-common-errors
description: 'Analyze and classify Canva Connect failures by HTTP status, provider error code, operation, and authorization state. Use when deciding whether to refresh, reauthorize, wait, reconcile, correct input, or escalate. Trigger with: "Canva API error", "Canva 401", "Canva 403 or 429".'
allowed-tools: Read, Grep, Write, Edit
version: 2.0.0
argument-hint: '[status-code-and-redacted-error]'
model: inherit
effort: high
license: MIT
author: Jeremy Longshore <jeremy@intentsolutions.io>
tags:
  - saas
  - canva
  - errors
  - operations
compatibility: 'Diagnosis may use redacted production evidence; any live reproduction requires an approved test user and operation.'
---

# Canva Error Classification

## Overview

Treat HTTP status alone as insufficient. Use the current endpoint reference and redacted provider error code to separate caller defects, authorization failures, throttling, preview drift, and provider incidents.

## Prerequisites

- HTTP status, provider error code, endpoint pattern, and UTC window
- Opaque request, resource, or job reference without payload content
- Pinned OpenAPI or endpoint documentation version

## Instructions

### Step 1: Capture a minimal envelope

Record method, endpoint pattern, status, provider code, terminal job state, retry metadata if actually present, and deployment version. Exclude tokens, bodies, signed URLs, and customer identifiers.

### Step 2: Handle authentication failures

For an invalid or expired access token, serialize the authorized refresh flow and atomically store the replacement refresh token. Reauthorize after revocation or unrecoverable refresh failure.

### Step 3: Handle authorization failures

Compare the operation with explicit granted scopes, resource ownership, capabilities, tenant policy, and preview availability. Never assume a write scope grants its read counterpart.

### Step 4: Handle throttling

Pause only the affected endpoint/user queue. Use documented endpoint metadata and response instructions; otherwise apply bounded exponential backoff with jitter rather than a guessed fixed delay.

### Step 5: Handle async failures

Poll the existing job to a documented terminal state. Correct validation or entitlement errors before any new submission.

### Step 6: Escalate provider failures

Correlate repeated server errors with Canva status/changelog and provide a redacted support receipt after bounded retry is exhausted.

## Authentication

Canva Connect calls use Bearer access tokens obtained by a backend through OAuth 2.0 Authorization Code with SHA-256 PKCE. Request explicit least-privilege scopes, keep client secrets and tokens out of browser-visible state, and serialize refresh so the replacement single-use refresh token is stored atomically.

## Tool Discipline

Use Read and Grep for discovery and evidence. Use Write or Edit only for the approved artifact, code, configuration, test, or receipt described by this workflow; do not make an unapproved Canva-side change.

## Output

- Scoped decision or implementation artifact
- Redacted operation and validation receipt
- Failure, rollback, and follow-up ownership record

## Examples

An autofill returns HTTP 403. The operator checks explicit scopes, current capability and Enterprise availability, template ownership, preview status, and the provider error before deciding whether reauthorization is relevant.

## Error Handling

| Failure | Response |
| --- | --- |
| Only HTTP status is available | Collect the redacted provider envelope before acting |
| Refresh repeats 401 | Stop and require reauthorization instead of looping |
| 429 has no retry metadata | Use the local bounded backoff policy and lower concurrency |
| Job failed validation | Correct the request; do not retry unchanged input |

## Resources

- [First-party source notes](references/official-docs.md)
- [Error responses](https://www.canva.dev/docs/connect/error-responses/)
- [OAuth scopes](https://www.canva.dev/docs/connect/appendix/scopes/)
Pliki w paczce (2)
  • SKILL.md 4 KB
  • references/official-docs.md 1 KB

Wersje

W bazie nie ma innych skilli o nazwie canva-common-errors.

Identyczna treść występuje jeszcze w 1 innych folderach na GitHubie. Tu pokazujemy jedną, najlepiej ocenioną kopię.

Migawka bazy z 28.10.2026 · wersja paczki 1905e0be0ac3 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100canva-known-pitfalls
    Analizuje implementację Canva Connect pod kątem powtarzających się zagrożeń w autoryzacji, zadaniach asynchronicznych, podglądach, danych i ponowieniach, przy przeglądzie kodu lub wydaniu.
  • 100canva-install-auth
    Implementuje na backendzie OAuth 2.0 Authorization Code z PKCE SHA-256 dla Canva Connect: zakresy, stan wywołania zwrotnego i rotacja jednorazowych tokenów odświeżania.
  • 100build-from-canva
    Prowadzi autonomiczny potok od projektu Canva do działającej aplikacji: intake, wnioskowanie tokenów, testy najpierw, budowa komponentów, porównanie pikseli z eksportami Canva, E2E i raport z budowy.
  • 95canva-cli
    Obsługuje Canva CLI (canva api) do pracy z REST API Canva: projekty, foldery, zasoby i eksporty z lokalnych plików, skryptów i agentów kodujących.
  • 100canva
    Automatyzuje Canva z poziomu agenta przez serwer MCP lub Connect REST API: generowanie, edycja i eksport projektów, autouzupełnianie szablonów marki, zasoby i foldery.
  • 85canva-branded-presentation
    Tworzy zgodne z marką prezentacje w Canva z konspektu lub briefu podanego jako tekst, identyfikator projektu, nazwa dokumentu albo link do projektu Canva.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.