Jump to content

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?

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...