Viewing a folder or upload a file to a folder as the co-owner

New post


1 comment

  • Box Product Support

    I figured out my issue. It looks like I needed to authenticate with a user token instead of an admin token. The information was at the following link:


    So I changed the following lines:


    var jwt = new BoxJWTAuth(config);

    var admin_token = jwt.AdminToken();
    var client = jwt.AdminClient(admin_token, asUser: account_b_user_id);


    To read like this:


    var jwt = new BoxJWTAuth(config);
    var token = jwt.UserToken(account_b_user_id);
    var client = jwt.UserClient(token, account_b_user_id);


    After doing that, it worked!



    Comment actions Permalink

Please sign in to leave a comment.