You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use this code:
Uri userStoreUrl = new Uri("https://" + evernoteHost + "/edam/user");
TTransport userStoreTransport = new THttpClient(userStoreUrl);
TProtocol userStoreProtocol = new TBinaryProtocol(userStoreTransport);
UserStore.Client userStore = new UserStore.Client(userStoreProtocol);
var authenticationResult = userStore.authenticate(
credentials.EvernoteUserName,
credentials.EvernotePassword,
CONSUMER_KEY,
CONSUMER_SECRET,
false);
authToken = authenticationResult.AuthenticationToken;
But it fails to authenticate in the sandbox environment. Am I doing something wrong?
I am trying to use this code:
Uri userStoreUrl = new Uri("https://" + evernoteHost + "/edam/user");
TTransport userStoreTransport = new THttpClient(userStoreUrl);
TProtocol userStoreProtocol = new TBinaryProtocol(userStoreTransport);
UserStore.Client userStore = new UserStore.Client(userStoreProtocol);
var authenticationResult = userStore.authenticate(
credentials.EvernoteUserName,
credentials.EvernotePassword,
CONSUMER_KEY,
CONSUMER_SECRET,
false);
authToken = authenticationResult.AuthenticationToken;
But it fails to authenticate in the sandbox environment. Am I doing something wrong?
ErrorCode: Evernote.EDAM.Error.EDAMErrorCode.INVALID_AUTH
Parameter: consumerKey
The text was updated successfully, but these errors were encountered: