Algolia Invalid Application ID or API Key (403)

Share
Workaround available Web, API, DocSearch Updated November 15, 2026Based on 3 user reportsHow we research

Quick answer

A 403 Invalid Application-ID or API key means the key is wrong, deleted, regenerated, or lacks the right ACL. Copy the current key from the dashboard and use a search-only key in browsers.

Most likely fix: Verify credentials

How to fix it

Try these in order — the most common fix is first.

  1. 1. Verify credentials

    1. Open Settings > API Keys
    2. Compare the Application ID and Search-Only API Key with those in your code
    3. If a key was regenerated, update every deployment
    Did this fix it?
  2. 2. Use the right key type

    1. Use a search-only key in browsers and the Write/Admin key on the server only
    2. Check the key's ACL, index restrictions and referrers
    Did this fix it?
  3. 3. Test with a simple call

    1. Send a search request to {APP_ID}-dsn.algolia.net with the key; a 200 means the credentials work
    Did this fix it?

Symptoms

Searches or indexing calls fail with 403 "Invalid Application-ID or API key".

Why it happens

  • Wrong app ID or key copied
  • The key was regenerated; old keys stop working
  • Search-only key used for write operations
  • Key restricted to specific indices or referrers
  • Crawler apiKey missing the required ACL

This guide also covers

  • algolia 403
  • algolia invalid api key
  • algolia invalid application id

Still not working?

If Algolia keeps failing, you're not alone. See every Algolia problem users report or the alternatives people switch to.

Have an app idea? Our small team builds any software: web and mobile apps, games, desktop, AI tools. Price agreed together.

Talk to us
Fixed it? Share this guide

Other Algolia errors

All 10 Algolia errors and fixes →