persona-common-errors

Featured

Fix top Persona API errors: 401, 422, webhook signature failures, inquiry state issues. Use when working with Persona identity verification. Trigger with phrases like "persona common-errors", "persona common-errors".

AI & Automation 2,359 stars 334 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# persona common errors | sed 's/\b\(.\)/\u\1/g' ## Overview 401 invalid key, 422 invalid template, webhook HMAC mismatch, inquiry already completed, rate limit 429. ## Prerequisites - Completed `persona-install-auth` setup - Valid Persona API key (sandbox or production) ## Instructions ### Error 1: 401 Unauthorized ``` {"errors":[{"status":"401","title":"Not Authorized"}]} ``` **Fix:** Verify API key starts with `persona_sandbox_` or `persona_production_`. Check `Authorization: Bearer <key>` header format. ### Error 2: 422 Invalid Inquiry Template ``` {"errors":[{"status":"422","title":"Invalid inquiry-template-id"}]} ``` **Fix:** Verify template ID format is `itmpl_*`. Templates are environment-specific (sandbox templates only work with sandbox keys). ### Error 3: Webhook Signature Mismatch ``` HMAC verification failed — expected abc123, got def456 ``` **Fix:** Ensure you're using the raw request body (not parsed JSON) for HMAC computation. Use `express.raw()` middleware. ### Error 4: 429 Rate Limited ``` {"errors":[{"status":"429","title":"Rate limit exceeded"}]} ``` **Fix:** Implement exponential backoff. Check `Retry-After` header. See `persona-rate-limits`. ### Error 5: Inquiry Already Completed ``` {"errors":[{"status":"409","title":"Inquiry is already in a terminal state"}]} ``` **Fix:** Check inquiry status before attempting operations. Use the resume endpoint only for `created` or `pending` inquiries. ### Error 6: 404 Inquiry Not Found ``` {"errors":[{"stat...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
8 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category