grammarly-common-errors

Solid

Diagnose and fix Grammarly common errors and exceptions. Use when encountering Grammarly errors, debugging failed requests, or troubleshooting integration issues. Trigger with phrases like "grammarly error", "fix grammarly", "grammarly not working", "debug grammarly".

AI & Automation 2,266 stars 315 forks Updated today MIT

Install

View on GitHub

Quality Score: 97/100

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

Skill Content

# Grammarly Common Errors ## Error Reference ### 400 Bad Request — Text Too Short **Cause:** Text has fewer than 30 words. **Fix:** Ensure minimum 30 words. Pad short texts with context if needed. ### 401 Unauthorized **Cause:** Token expired or invalid. **Fix:** Re-authenticate with client credentials grant. ### 413 Payload Too Large **Cause:** Text exceeds 100,000 characters or 4 MB. **Fix:** Split into chunks using paragraph boundaries. See `grammarly-sdk-patterns` for chunking function. ### 429 Too Many Requests **Cause:** Rate limit exceeded. **Fix:** Implement exponential backoff. See `grammarly-rate-limits`. ### Plagiarism Check Stuck on "pending" **Cause:** Large document processing or service delay. **Fix:** Poll every 3-5 seconds, timeout after 90 seconds. ### AI Detection — Inconsistent Scores **Cause:** Short text produces unreliable results. **Fix:** AI detection works best on 200+ words. Scores on short text are less reliable. ## Quick Diagnostics ```bash # Test API connectivity curl -s -o /dev/null -w "%{http_code}" \ -H "Authorization: Bearer $GRAMMARLY_ACCESS_TOKEN" \ https://api.grammarly.com/ecosystem/api/v2/scores # Test with sample text curl -X POST https://api.grammarly.com/ecosystem/api/v2/scores \ -H "Authorization: Bearer $GRAMMARLY_ACCESS_TOKEN" \ -H "Content-Type: application/json" \ -d '{"text": "This is a test sentence that has more than thirty words so that the API will accept it and return a valid writing score for our diagno...

Details

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

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

grammarly-incident-runbook

Follow Grammarly incident response runbook for API outages. Use when Grammarly API is down, experiencing errors, or when investigating service degradation. Trigger with phrases like "grammarly down", "grammarly outage", "grammarly incident", "grammarly not responding".

2,266 Updated today
jeremylongshore
AI & Automation Featured

grammarly-hello-world

Create a minimal working Grammarly example. Use when starting a new Grammarly integration, testing your setup, or learning basic Grammarly API patterns. Trigger with phrases like "grammarly hello world", "grammarly example", "grammarly quick start", "simple grammarly code".

2,266 Updated today
jeremylongshore
AI & Automation Featured

grammarly-prod-checklist

Production readiness checklist for Grammarly API integrations. Use when preparing a Grammarly integration for production deployment.

2,266 Updated today
jeremylongshore
AI & Automation Featured

grammarly-observability

Implement Grammarly observability with metrics and logging. Use when setting up monitoring, tracking API performance, or implementing alerting for Grammarly integrations. Trigger with phrases like "grammarly monitoring", "grammarly metrics", "grammarly observability", "grammarly logging", "grammarly alerts".

2,266 Updated today
jeremylongshore
AI & Automation Solid

grammarly-performance-tuning

Optimize Grammarly API performance with caching, batching, and connection pooling. Use when experiencing slow API responses, implementing caching strategies, or optimizing request throughput for Grammarly integrations. Trigger with phrases like "grammarly performance", "optimize grammarly", "grammarly latency", "grammarly caching", "grammarly slow", "grammarly batch".

2,266 Updated today
jeremylongshore