Jump to content
2019 Calendar Templates Read more... ×
Sign in to follow this  
Jake1111

undefined is not a function (evaluating 'Object.assign(this.additionalHeaders, headers)')

Recommended Posts

I'm using the evernote SDK. I was able to get the access_token and implement the client using 

var client = new Evernote.Client({
                    token: vars["access_token"]
                    , sandbox: true
                    , china: false
                , });

However, when I use

var userStore = client.getUserStore();

I get the error 

undefined is not a function (evaluating 'Object.assign(this.additionalHeaders, headers)')

It works fine on the chrome browser, but I'm using it on a device that uses an older browser. I believe this may have something to do with polyfills. Does anyone have any advice on how to fix this?

Share this post


Link to post

When I log Object is shows 

function Object() { [native code] }

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
Sign in to follow this  

×