1. Overview
This guide establishes the framework for error management at Aevum News. It covers both editorial/content errors (fact-check failures, broken media, CMS validation issues) and technical platform errors (API failures, CDN outages, database timeouts, frontend rendering faults).
âšī¸ Scope & Audience
This document applies to all editorial staff, platform engineers, QA testers, and external API consumers. Adherence to these protocols ensures service continuity, content accuracy, and reader trust.
All errors must be logged in the central incident tracker. Critical and high-severity errors trigger automatic Slack alerts and require post-mortem documentation within 48 hours of resolution.
2. Error Classification Matrix
Errors are categorized by severity, impact, and required response time. Use this matrix to prioritize triage efforts.
| Code |
Type |
Severity |
Max Response |
Resolution SLA |
ERR-401 |
Authentication |
Critical |
15 min |
1 hour |
ERR-503 |
Service Unavailable |
Critical |
10 min |
45 min |
ERR-204 |
CMS Validation |
High |
30 min |
4 hours |
ERR-302 |
Broken Asset/Link |
Medium |
2 hours |
24 hours |
ERR-100 |
Typo/Minor Content |
Low | d>
4 hours |
48 hours |
Custom error codes follow the pattern ERR-XXX where XXX indicates the subsystem. Always include the full stack trace or CMS audit log reference when reporting.
3. Editorial & Content Errors
Content integrity is paramount. The editorial pipeline includes automated validation and human review gates.
3.1 Fact-Check & Source Validation
- All claims must cite verified sources. Missing citations trigger
ERR-204 during pre-publish validation.
- AI-assisted drafting must be flagged in the metadata. Human verification is mandatory before publication.
- Correction logs are immutable. Edits to published articles append a timestamped changelog entry.
Troubleshooting: Article stuck in "Validation Failed" state
If an article fails automated checks:
- Open the CMS audit panel and locate the
validation_report.json.
- Check for broken media references or missing taxonomy tags.
- Run the manual override only if false-positive; otherwise, resolve the flagged fields.
- Contact Editorial Ops if the pipeline remains stuck for >30 minutes.
3.2 Media & Asset Errors
â ī¸ Common Issue: 404 on Featured Images
CDN caching delays can cause temporary asset failures. Purge via
cdn:purge --path /assets/img/ or wait for TTL expiration (default: 15m).
4. Technical Platform Errors
Infrastructure and API-layer errors require immediate engineering intervention. Use the following reference for common failures.
4.1 API Gateway Failures
const handleApiError = async (error) => {
if (error.status === 503) {
logger.warn("Backend overload - enabling circuit breaker");
return fallbackToCachedContent();
}
if (error.status >= 500) {
alertIncidentChannel("ERR-5XX", error.stack);
}
};
Database Connection Pool Exhaustion
Symptom: ERR-DB-04 with rising 504 latency.
Resolution:
- Check connection pool metrics in Datadog.
- Scale read replicas if write throughput is normal.
- Enable query timeout limits (
pg_settings: statement_timeout = 5000).
- Restart idle connections if memory fragmentation is detected.
4.2 Frontend Rendering & Hydration Errors
Client-side errors are captured via Sentry. Prioritize fixes that affect Core Web Vitals or article readability. Use the browser console to isolate framework-specific hydration mismatches.
5. Incident Response Workflow
- Detect: Automated monitoring, reader reports, or editorial flags trigger an incident ticket.
- Triage: Assign severity using the classification matrix. Route to Engineering or Editorial Ops.
- Contain: Apply hotfixes, enable fallbacks, or temporarily restrict affected features.
- Resolve: Deploy permanent fix. Verify via staging environment.
- Post-Mortem: Document root cause, timeline, and preventive measures. Share with all teams within 48h.
đ¨ Critical Path Rule
If reader-facing content is incorrect or missing, prioritize editorial correction over technical optimization. Truth and transparency override uptime metrics.
6. Prevention & Monitoring
Proactive measures reduce error frequency and improve platform resilience.
- Automated Linting: Content must pass schema validation before draft submission.
- Health Checks: Endpoints ping every 30s. Three consecutive failures trigger auto-remediation.
- Canary Deploys: New CMS versions roll out to 5% of traffic before full release.
- Reader Feedback Loop: "Report Issue" button on articles feeds directly into the ticketing system with context pre-filled.
7. Error Reporting Template
Use this structure when submitting bugs or editorial errors:
## Title: [Brief description]
## Type: Editorial / Technical / Infrastructure
## Severity: Critical / High / Medium / Low
## Steps to Reproduce:
1.
2.
3.
## Expected Behavior:
## Actual Behavior:
## Environment: (CMS version, Browser, API endpoint)
## Screenshots/Logs:
## Assigned To:
8. Frequently Asked Questions
Can editorial staff override automated validation?
Only Senior Editors and Managing Editors have override privileges. Overrides require a justification note and are logged for compliance audits.
How are breaking news errors handled?
Breaking articles bypass secondary review gates but trigger real-time fact-checking alerts. Corrections are pushed via WebSocket updates and marked with a "Corrected" badge.
Where can I find API error documentation?
See the internal developer portal under /docs/api/error-codes. External consumers should reference the public status page.