Skip to content

Search is not working on the documentation website #854

@Gregory-Gerard

Description

@Gregory-Gerard

Bug report

Current Behavior

The documentation site's search functionality is not working. When attempting to search, the request fails with a 403 error indicating invalid Algolia credentials:

{
    "message": "Invalid Application-ID or API key",
    "status": 403
}
Full stacktrace

{
    "name": "ApiError",
    "message": "Invalid Application-ID or API key",
    "status": 403,
    "transporterStackTrace": [
        {
            "request": {
                "data": "{\"requests\":[{\"indexName\":\"docs\",\"query\":\"test\",\"params\":\"hitsPerPage=50&attributesToRetrieve=%5B%22type%22%2C%22url%22%2C%22hierarchy.lvl0%22%2C%22hierarchy.lvl1%22%2C%22hierarchy.lvl2%22%2C%22hierarchy.lvl3%22%2C%22hierarchy.lvl4%22%2C%22content%22%5D&attributesToSnippet=%5B%22hierarchy.lvl0%3A15%22%2C%22hierarchy.lvl1%3A15%22%2C%22hierarchy.lvl2%3A15%22%2C%22hierarchy.lvl3%3A15%22%2C%22hierarchy.lvl4%3A15%22%2C%22content%3A15%22%5D&snippetEllipsisText=%E2%80%A6&highlightPreTag=__aa-highlight__&highlightPostTag=__%2Faa-highlight__\"}]}",
                "headers": {
                    "content-type": "application/x-www-form-urlencoded"
                },
                "method": "POST",
                "url": "https://VXVOLU3YVQ-dsn.algolia.net/1/indexes/*/queries?x-algolia-agent=Algolia%20for%20JavaScript%20(4.24.0)%3B%20Browser%20(lite)&x-algolia-api-key=9d44395c1b7b172ac84b7e5ab80bf8c5&x-algolia-application-id=VXVOLU3YVQ",
                "connectTimeout": 1,
                "responseTimeout": 2
            },
            "response": {
                "status": 0,
                "content": "Connection timeout",
                "isTimedOut": true
            },
            "host": {
                "protocol": "https",
                "url": "VXVOLU3YVQ-dsn.algolia.net",
                "accept": 1
            },
            "triesLeft": 3
        },
        {
            "request": {
                "data": "{\"requests\":[{\"indexName\":\"docs\",\"query\":\"test\",\"params\":\"hitsPerPage=50&attributesToRetrieve=%5B%22type%22%2C%22url%22%2C%22hierarchy.lvl0%22%2C%22hierarchy.lvl1%22%2C%22hierarchy.lvl2%22%2C%22hierarchy.lvl3%22%2C%22hierarchy.lvl4%22%2C%22content%22%5D&attributesToSnippet=%5B%22hierarchy.lvl0%3A15%22%2C%22hierarchy.lvl1%3A15%22%2C%22hierarchy.lvl2%3A15%22%2C%22hierarchy.lvl3%3A15%22%2C%22hierarchy.lvl4%3A15%22%2C%22content%3A15%22%5D&snippetEllipsisText=%E2%80%A6&highlightPreTag=__aa-highlight__&highlightPostTag=__%2Faa-highlight__\"}]}",
                "headers": {
                    "content-type": "application/x-www-form-urlencoded"
                },
                "method": "POST",
                "url": "https://VXVOLU3YVQ-2.algolianet.com/1/indexes/*/queries?x-algolia-agent=Algolia%20for%20JavaScript%20(4.24.0)%3B%20Browser%20(lite)&x-algolia-api-key=9d44395c1b7b172ac84b7e5ab80bf8c5&x-algolia-application-id=VXVOLU3YVQ",
                "connectTimeout": 4,
                "responseTimeout": 8
            },
            "response": {
                "content": "{\"message\":\"Invalid Application-ID or API key\",\"status\":403}",
                "status": 403,
                "isTimedOut": false
            },
            "host": {
                "protocol": "https",
                "url": "VXVOLU3YVQ-2.algolianet.com",
                "accept": 3
            },
            "triesLeft": 2
        }
    ]
}

Expected behavior

The search functionality should work properly, allowing users to search through the documentation.

Reproducible example

  1. Go to any page on the Radix UI documentation site (primitives section)
  2. Click the search box or use the keyboard shortcut to open search
  3. Try to type any search term
  4. The search fails to return results due to invalid Algolia credentials

Your environment

Software Names(s) Version
Browser Arc Version 1.87.1 (60573) - Chromium Engine Version 134.0.6998.166
Operating System macOS 15.3.1 (24D70)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions