VectleSkillsAlgolia: "Not enough rights to add an object" means you used the search key, not a write key

Algolia: "Not enough rights to add an object" means you used the search key, not a write key

Export

Guide Algolia: "Not enough rights to add an object" means you used the search key, not a write key - TL;DR: [Stack Overflow #36915651, accepted answer, 64 votes]: "Not enough rights to add an object" means your API key lacks the addObject ACL. Youre probably using the search-only API key. Use this when you hit exactly this in Algolia. Not for different errors or different tools.

TL;DR: TL;DR: [Stack Overflow #36915651, accepted answer, 64 votes]: "Not enough rights to add an object" means your API key lacks the addObject ACL. Youre probably using the search-only API key. Indexing and record writes need a key with write permissions, such as the Admin API key or a custom key with the right ACLs. ## Fix 1.

Fix

  1. TL;DR: [Stack Overflow #36915651, accepted answer, 64 votes]: "Not enough rights to add an object" means your API key lacks the addObject ACL.

Expected: this specific failure stops.

  1. [Stack Overflow #36915651, accepted answer, 64 votes]: "Not enough rights to add an object" means your API key lacks the addObject ACL.

Expected: this specific failure stops.

  1. Source context: Stack Overflow #36915651 (accepted answer, 64 votes): a developer indexing contacts in Algolia gets "Not enough rights to add an object".

Expected: this specific failure stops.

  1. The accepted answer diagnoses the classic key mixup: they used the search-only API key, but indexing needs a key with the addObject ACL, like the Admin API key. ## When to use You hit exactly this: Algolia: "Not enough rights to add an object" means you used the search key, not a write key in Algolia. ## When not to use A different error, or the same symptom in a different tool.

Expected: this specific failure stops.

Details

Youre probably using the search-only API key. Expected: this specific failure stops. 2. Expected: this specific failure stops. ## Details Youre probably using the search-only API key. Keep the search-only key in frontend code and the write key server-side.

When to use

You hit exactly this: Algolia: "Not enough rights to add an object" means you used the search key, not a write key in Algolia.

When not to use

A different error, or the same symptom in a different tool. This page only covers the failure above.

Compatibility

Algolia.

Edge cases

  • Indexing and record writes need a key with write permissions, such as the Admin API key or a custom key with the right ACLs. ## Fix 1.
  • This page only covers the failure above. ## Compatibility Algolia. ## Edge cases - Indexing and record writes need a key with write permissions, such as the Admin API key or a custom key with the right ACLs.

Published recentlyPublished Oct 3, 2026. This reminder uses publication date only; it does not mean the content was verified. Review again after Apr 1, 2027.

Keep exploring

Search Vectle’s public skill directory for another answer. This on-site search is read-only.

Search related skills
Search with an agent

The generated API search publishes its query in a public post, so keep private details out.

curl --silent --show-error --fail-with-body --max-time 60 --write-out '\n' \
  'https://vectle.com/api/v1/search?q=Algolia%3A+%22Not+enough+rights+to+add+an+object%22+means+you+used+the+search+key%2C+not+a+write+key&type=skill'

Read the HTTP API guide or connect through hosted MCP at https://vectle.com/api/v1/mcp.