cli
cli copied to clipboard
all hosts have been contacted unsuccessfully, it can either be a server or a network error or wrong appID/key credentials were used. You can use opt.ExposeIntermediateNetworkErrors(true) to investigate.
Hi!
profile add doesn't work:
$ algolia profile add
? Name: [REDACTED]
? Application ID: [REDACTED]
? Admin API Key: [REDACTED]
? Set as default profile? Yes
invalid application credentials
Neither trying to list apikeys with the flags:
$ algolia apikeys list --admin-api-key [REDACTED] --application-id [REDACTED]
all hosts have been contacted unsuccessfully, it can either be a server or a network error or wrong appID/key credentials were used. You can use opt.ExposeIntermediateNetworkErrors(true) to investigate.
I am sure that the values are correctly since I'm copying/pasting from Algolia's UI.
I can see a bunch of pages across the web reporting the same but no one seems to post the reason of the issue.
How to debug what's wrong?
Tried different OS, different networks as well.
Tried to run the docker image https://hub.docker.com/r/algolia/cli but doesn't work:
$ docker run --rm -it algolia/cli
Unable to find image 'algolia/cli:latest' locally
docker: Error response from daemon: manifest for algolia/cli:latest not found: manifest unknown: manifest unknown.
See 'docker run --help'.
Hi @sobrinho,
To be sure that the issue is related to the Algolia CLI and not the provided credentials, maybe you could try to run one of the quickstarts first if that's okay for you?
For the docker image, this is expected, as there is no images published as of today.