Reputation: 377
When I try to invoke arangoimp with the following:
Applications/ArangoDB3-CLI.app/Contents/Resources/arangoimp
in my terminal I get the following error:
2018-03-12T11:26:43Z [49366] ERROR Could not connect to endpoint 'tcp://127.0.0.1:8529', database: '_system', username: 'root'
2018-03-12T11:26:43Z [49366] FATAL got error from server: HTTP 401 (Unauthorized)'
I have no idea what am I doing wrong.
Upvotes: 0
Views: 189
Reputation: 9097
HTTP 401 means the specified username and/or password are incorrect for the selected database.
It seems you are using database _system
with user root. If you have set a password, you either need to specify it via the option --server.password "your-password-goes-here"
or omit it and type it when the ArangoShell prompts.
If the password is incorrect, or the user does not exist, then the arangod server will respond with HTTP 401.
Upvotes: 1