algolia / algolia/cli

CLI gives 403 on MacOS when given valid credentials

Open
#150 4 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
109
Forks
32
Avg merge
9d 3h
Merged PRs (30d)
3

Description

## Problem

On my Mac the CLI fails with 403 `Invalid Application-ID or API key` when doing `algolia indices list`, or most operations, when given correct credentials.

The credentials were verified on a comparison Linux system (Ubuntu 22.04.04 LTS amd64) with identical Algolia CLI release version and everything worked smoothly.

## Params

- Algolia CLI: 1.6.3
- System: MacOS Sonoma 14.2.1

## Side notes

- Although most operations 403, `algolia profile list` works and correctly lists the number of indices alongside the credentials

Contributor guide

Open the contributing guide

Research direction

Start by reproducing `algolia indices list` on macOS Sonoma with CLI 1.6.3 and the credentials described, then compare it with the working Ubuntu environment; `algolia profile list` is a useful comparison entry point. Done means valid credentials no longer produce a 403 for index operations on macOS.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, macos
Domain
authentication, cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.