Jump to content
Ananthu Anilkumar

Evennote C++ HTTP 1.1 403 Forbidden error

Recommended Posts

I am tried to develop a sample evernote test application( in Visual studio 2015) using C++ SDKprovided by Evernote.

Authentication process is done by using "Authenticating with the Evernote Cloud API using OAuth". As a result of above procedure, I have got an AccesToken(authenticationToken).

By using this AccesToken, I have tried to access UserStoreClient::getNoteStoreUrl() API of Evernote C++ SDK.

It returns

"HTTP 1.1 403 Forbidden" as error.

Could you please help me to find the root cause of the issue.

Sample code snippet:

evernote::edam::UserStoreClient userClientObj(prot);
    std::string _returnNodeStoreUrl("");
    userClientObj.getNoteStoreUrl(_returnNodeStoreUrl, sAccessToken);
    return wstring(_returnNodeStoreUrl.begin(), _returnNodeStoreUrl.end());

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...