frappe-errors-database

Official

Diagnose and fix Frappe DB errors reliably.

AuthorOpenAEC-Foundation
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It helps developers and admins quickly diagnose, classify, and resolve common database errors that arise during CRUD operations in Frappe/ERPNext, including duplicate entries, timestamp conflicts, query timeouts, and integrity issues.

Core Features & Use Cases

  • Comprehensive error-to-remediation mappings for common DB exceptions (DuplicateEntryError, LinkValidationError, MandatoryError, TimestampMismatchError, CharacterLengthExceededError, QueryTimeoutError, InReadOnlyMode, and more).
  • Safe SQL practices and patterns: parameterized queries, proper handling of get_value/get_doc results, and prevention of SQL injection.
  • Transaction discipline and recovery: commits, rollbacks, savepoints, retries, and background/scheduler safety.
  • Rich reference material and examples to guide API endpoints, reports, and batch operations.

Quick Start

Describe a failing DB operation and apply the included error-handling patterns to diagnose and fix it.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: frappe-errors-database
Download link: https://github.com/OpenAEC-Foundation/Frappe_Claude_Skill_Package/archive/main.zip#frappe-errors-database

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.