algolia-common-errors

Featured

Diagnose and fix the top Algolia API errors: 400, 403, 404, 429, ApiError, RetryError, and indexing failures. Trigger: "algolia error", "fix algolia", "algolia not working", "debug algolia", "algolia 429", "algolia 403".

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

Install

View on GitHub

Quality Score: 99/100

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

Skill Content

# Algolia Common Errors ## Overview Quick reference for the most common Algolia errors, their root causes, and fixes. All examples use `algoliasearch` v5 client error types. ## Error Reference ### 1. Invalid Application-ID or API key (403) ``` ApiError: Invalid Application-ID or API key ``` **Cause:** App ID or API key is wrong, expired, or deleted. **Fix:** ```bash # Verify your env vars are set echo "APP_ID: $ALGOLIA_APP_ID" echo "KEY set: ${ALGOLIA_ADMIN_KEY:+yes}" # Test with curl curl -s "https://${ALGOLIA_APP_ID}-dsn.algolia.net/1/indexes" \ -H "X-Algolia-Application-Id: ${ALGOLIA_APP_ID}" \ -H "X-Algolia-API-Key: ${ALGOLIA_ADMIN_KEY}" | head -c 200 ``` Get fresh keys: dashboard.algolia.com > Settings > API Keys. --- ### 2. Method not allowed with this API key (403) ``` ApiError: Method not allowed with this API key ``` **Cause:** Using a Search-Only key for a write operation (saveObjects, setSettings, etc.). **Fix:** Use the Admin API key for write operations. Search-Only keys only permit `search` ACL. ```typescript // Wrong: search-only key for indexing const client = algoliasearch(appId, searchOnlyKey); await client.saveObjects({ ... }); // 403 // Right: admin key for indexing const client = algoliasearch(appId, adminKey); await client.saveObjects({ ... }); // Works ``` --- ### 3. Index does not exist (404) ``` ApiError: Index products_staging does not exist ``` **Cause:** Searching an index that hasn't been created yet. Algolia creates indice...

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

algolia-rate-limits

Handle Algolia rate limits and throttling: per-key limits, indexing queue limits, 429 responses, and backoff strategies. Trigger: "algolia rate limit", "algolia throttling", "algolia 429", "algolia retry", "algolia backoff", "algolia too many requests".

2,266 Updated today
jeremylongshore
AI & Automation Featured

algolia-install-auth

Install and configure the Algolia JavaScript v5 client with proper API key management. Use when setting up a new Algolia integration, configuring Application ID and API keys, or initializing the algoliasearch client in a Node.js/TypeScript project. Trigger: "install algolia", "setup algolia", "algolia auth", "configure algolia keys".

2,266 Updated today
jeremylongshore
AI & Automation Featured

algolia-security-basics

Apply Algolia security best practices: API key scoping, secured API keys, frontend vs backend key separation, and key rotation. Trigger: "algolia security", "algolia API key security", "secure algolia", "algolia secrets", "algolia key rotation", "algolia secured key".

2,266 Updated today
jeremylongshore
AI & Automation Featured

algolia-prod-checklist

Execute Algolia production readiness checklist: index settings, key security, replica configuration, monitoring, and rollback procedures. Trigger: "algolia production", "deploy algolia", "algolia go-live", "algolia launch checklist", "algolia production ready".

2,266 Updated today
jeremylongshore
AI & Automation Featured

glean-common-errors

Diagnose and fix common Glean API errors including indexing failures, search issues, and permission problems. Trigger: "glean error", "glean not indexing", "glean search empty", "debug glean".

2,266 Updated today
jeremylongshore