Skip to content

docs: implement global error handling and troubleshooting matrix - #2784

Merged
dguyen merged 5 commits into
documenso:mainfrom
redouanegrib:main
May 26, 2026
Merged

dguyen merged 5 commits into
documenso:mainfrom
redouanegrib:main

Conversation

@redouanegrib

@redouanegrib redouanegrib commented May 10, 2026 •

Copy link
Copy Markdown
Contributor

Hi team,

I noticed that while the codebase has a well-defined error logic in packages/lib/errors/app-error.ts, there was a lack of a centralized troubleshooting guide for developers and users interacting with the API and Webhooks.

Changes:

Created a comprehensive Troubleshooting Matrix mapping AppErrorCode to human-readable descriptions and actionable solutions.

Structured the documentation to help users self-diagnose common integration issues (Unauthorized, Schema failures, Envelope states).

This should reduce the number of support-related issues and Discord inquiries regarding API error codes.
Closes #2784

Best regards.

@vercel

vercel Bot commented May 10, 2026

Copy link
Copy Markdown

@redouanegrib is attempting to deploy a commit to the Documenso Team Team on Vercel.

A member of the Team first needs to authorize it.

@coderabbitai

coderabbitai Bot commented May 10, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are limited based on label configuration.

🏷️ Required labels (at least one) (1)
  • coderabbit

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 8756c7f6-d21a-4547-8a42-5c0f2c801e55

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@Mythie

Mythie commented May 10, 2026

Copy link
Copy Markdown
Collaborator

Hey there, it looks like you haven't accepted our contributor license agreement yet. In order for us to accept your pull request we ask that you please fill out the CLA:

https://documen.so/cla

@dguyen dguyen left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi!

This should probably go in the docs app instead of a MD file in the root of the project. I think it makes sense to go as a sub page as "Common Errors" or similar here https://docs.documenso.com/docs/developers/api

We also can't accept this PR unless it's in english

@vercel

vercel Bot commented May 14, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

3 Skipped Deployments
Project Deployment Actions Updated (UTC)
prd-docs Ignored Ignored May 26, 2026 4:40am
prd-openpage-api Ignored Ignored May 26, 2026 4:40am
stg-docs Skipped Skipped May 26, 2026 4:40am

Request Review

@vercel
vercel Bot temporarily deployed to Preview – stg-docs May 14, 2026 17:13 Inactive
@redouanegrib

Copy link
Copy Markdown
Contributor Author

Hi @dguyen,

Thank you for the feedback. I have completely refactored the contribution to meet the repository standards:

  1. The misplaced file at the root has been deleted.
  2. The documentation has been moved to the correct application path: apps/docs/content/docs/developers/api/common-errors.mdx.
  3. The entire content has been translated to technical English.
  4. The formatting has been updated to MDX standards to match the rest of the API documentation.

Let me know if it is ready for merge.

@dguyen

dguyen commented May 15, 2026

Copy link
Copy Markdown
Collaborator

Could you please also add an entry to the menu so it goes below "Rate Limits"

image

@dguyen
dguyen merged commit 7c00316 into documenso:main May 26, 2026
1 check passed
scoobs-mystery-bytes pushed a commit to scoobs-mystery-bytes/documenso that referenced this pull request May 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants