-
Notifications
You must be signed in to change notification settings - Fork 2
Known issues
Robin Černín edited this page Sep 26, 2019
·
1 revision
$ memsource auth whoami
Memsource API Error
Error: 401
Error description: auth: not logged
Error Reason:
Response status: 401
This is not an error, the problem is that your Memsource token is not set.
To set it properly use:
export MEMSOURCE_USERNAME="<username>"
export MEMSOURCE_PASSWORD="<password>"
export MEMSOURCE_TOKEN=$(memsource auth login --user-name ${MEMSOURCE_USERNAME} --password "${MEMSOURCE_PASSWORD}" -c token -f value)