I am using the developer token method of accessing my sandbox account. But I keep getting an http error 302.
TBinaryProtocol userStoreProt;
try {
userStoreProt = new TBinaryProtocol(new THttpClient(USER_STORE_URL));
UserStore.Client userStore = new UserStore.Client(userStoreProt, userStoreProt);
String notestoreUrl = userStore.getNoteStoreUrl(DEVELOPER_TOKEN); <<<< error generated here
// Set up the NoteStore client
THttpClient noteStoreTrans;
noteStoreTrans = new THttpClient(notestoreUrl);
I can log into my sandbox account fine using a browser, and I think I have the right userstoreurl:
private static final String USER_STORE_URL = "https://sandbox.evernote.com/edam/(my user name)";
What else should I be checking?
Getting http response 302 at getNoteStoreUrl (Android)
Started by User2012, Jul 07 2012 03:12 PM
1 reply to this topic
#1
Posted 07 July 2012 - 03:12 PM
#2
Posted 09 July 2012 - 07:43 PM
The URL you are using for the UserStore is incorrect. Change it to: https://sandbox.evernote.com/edam/user
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users












