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

Problem getting folder email address

New post

Comments

1 comment

  • Peter Christensen

    Hi

    I tried to reproduce your error and I can reproduce the error when the permissions of the service account is set to 'viewer upload' or lower on the folder I am trying to set the folder email upload on. The service account needs 'editor' or 'co-owner' rights to be able to set the folder email upload attribute.

    For subsequent fetches you need to specify the field when you get the folder info from the SDK - like below

    BoxFolder.Info info = folder.getInfo("folder_upload_email");

    System.out.println(info.getUploadEmail().getEmail());

    Hope this helps

    Best regards, Peter Christensen, Platform Solutions Engineer, Box

    0
    Comment actions Permalink

Please sign in to leave a comment.