Welcome to the new Box Support website. Check out all the details here on what’s changed.

Getting a "updateRedirectionMapping is not defined" exception from retrieving share link

New post

Comments

2 comments

  • mwiller

     Are you using the Box Node.js SDK?  I checked and there is no usage of `updateRedirectionMapping` anywhere in that SDK's code — are you sure the error isn't coming from some other code in your project?  What does the stack trace for that error say?

    0
    Comment actions Permalink
  • roberso

    I am using the Node SDK ("box-node-sdk": "^1.18.0" from package.json).  The updateRedirectionMapping is a method in my code, but it is not called at this point.  The weird part is was that stepping through the code with only one file, I would see it returning the share link, then about a second later, I would see the catch on the same promise fire and it would be complaining about the updateRedirectionMapping.  I've added code to verify that if I've received a link for a file, then ignore a catch on the same request for the same file.

    0
    Comment actions Permalink

Please sign in to leave a comment.