documenso-common-errors
Diagnoses and resolves common Documenso API errors, providing quick fixes for integration issues and troubleshooting failed operations.
Install this skill
Security score
The documenso-common-errors skill was audited on May 12, 2026 and we found 25 security issues across 4 threat categories. Review the findings below before installing.
Categories Tested
Security Issues
Template literal with variable interpolation in command context
| 61 | headers: { "Authorization": `Bearer ${process.env.DOCUMENSO_API_KEY}` }, |
Template literal with variable interpolation in command context
| 94 | throw new Error(`Cannot modify document in ${doc.status} status. Cancel first or create new.`); |
Template literal with variable interpolation in command context
| 143 | throw new Error(`PDF is ${fileSizeMB.toFixed(1)}MB, max is ${MAX_SIZE_MB}MB`); |
Curl to non-GitHub URL
| 192 | curl -s https://your-instance.com/api/health |
Fetch to external URL
| 55 | const res = await fetch("https://app.documenso.com/api/v1/documents", { |
Fetch to external URL
| 60 | const res = await fetch("https://app.documenso.com/api/v1/documents", { |
Webhook reference - potential data exfiltration
| 29 | Quick-reference troubleshooting guide for Documenso API errors. Covers authentication, document lifecycle, field validation, file upload, webhook, and SDK-specific issues with concrete solutions. |
Webhook reference - potential data exfiltration
| 147 | ### Scenario 6: Webhook Not Receiving Events |
Webhook reference - potential data exfiltration
| 151 | 1. Webhook URL uses HTTPS (HTTP is rejected) |
Webhook reference - potential data exfiltration
| 152 | 2. Webhook is enabled in Team Settings > Webhooks |
Ngrok tunnel reference
| 155 | 5. If using ngrok: tunnel is active and URL matches dashboard config |
Access to .env file
| 56 | headers: { "Authorization": process.env.DOCUMENSO_API_KEY! }, // Missing "Bearer " |
Access to .env file
| 61 | headers: { "Authorization": `Bearer ${process.env.DOCUMENSO_API_KEY}` }, |
Access to .env file
| 66 | const client = new Documenso({ apiKey: process.env.DOCUMENSO_API_KEY! }); |
Access to .env file
| 81 | apiKey: process.env.DOCUMENSO_TEAM_API_KEY!, // Team-scoped key |
External URL reference
| 47 | | 500/502/503 | Server Error | Documenso infrastructure issue | Retry with exponential backoff; check [status.documenso.com](https://status.documenso.com) | |
External URL reference
| 55 | const res = await fetch("https://app.documenso.com/api/v1/documents", { |
External URL reference
| 60 | const res = await fetch("https://app.documenso.com/api/v1/documents", { |
External URL reference
| 189 | https://app.documenso.com/api/v1/documents?page=1&perPage=1 |
External URL reference
| 192 | curl -s https://your-instance.com/api/health |
External URL reference
| 196 | "https://app.documenso.com/api/v1/documents?page=1&perPage=5" | jq '.documents[].title' |
External URL reference
| 203 | | `ERR_INVALID_URL` | Bad `serverURL` in SDK config | Include protocol and path: `https://host/api/v2` | |
External URL reference
| 210 | - [Documenso API Reference](https://openapi.documenso.com/) |
External URL reference
| 211 | - [Status Page](https://status.documenso.com) |
External URL reference
| 213 | - [Documenso Discord](https://documenso.com/discord) |