Quantcast
Channel: Mattermost Discussion Forums - Latest posts
Viewing all articles
Browse latest Browse all 25778

Can't authenticate via curl after setting up docker evaluation version

$
0
0

Summary

My company have asked me to do a simple evaluation of Mattermost.
They want me to confirm that channels can be created programatically.

Steps to reproduce

I create the Docker evaluation installation using the instructions at:

http://docs.mattermost.com/install/docker-local-machine.html

I verified that I can login via the web interface.

But when I try to acquire a authentication token via curl I get the following error:

`$ curl -i -d '{"name":"springshot","login_id":"foo@bar.com","password":"password"}' http://dockerhost:8065/api/v3/users/login
HTTP/1.1 400 Bad Request
Content-Type: application/json
X-Ratelimit-Limit: 10
X-Ratelimit-Remaining: 9
X-Ratelimit-Reset: 1
X-Request-Id: zt33utt497gjdyujpc9hiynmqy
X-Version-Id: 3.0.0.1466368946
Date: Wed, 20 Jul 2016 17:07:14 GMT
Content-Length: 281

{"id":"store.sql_user.get_for_login.app_error","message":"We couldn't find an existing account matching your credentials. This team may require an invite from the team owner to join.","detailed_error":"","request_id":"zt33utt497gjdyujpc9hiynmqy","status_code":400,"is_oauth":false}`

Do I need to enable something?


Viewing all articles
Browse latest Browse all 25778

Trending Articles