Upload permission required in applet

I want to upload output files as they are created within an applet I'm running. I do not want to use dx-upload-all-outputs. However, when I try to use `dx upload` on my output files I get the following:   dxpy.exceptions.PermissionDenied: UPLOAD permission required in project-[myprojectid] to perform this action, code 401. Request Time=1685716718.1945565, Request ID=1685716718482-245809   How can I change permissions or get around this?

Comments

1 comment

  • Comment author
    Ondrej Klempir DNAnexus Team

    My tips:

     

    a) I would first check whether your applet (if it is a custom made applet) has upload permission (check dxapp.json), e.g. you may try to modify the dxapp.json to include the "allProjects" permission under the access section:

     

     "access": {          

      ...

      "allProjects": "UPLOAD",    

      ...

      }        

     

    b) you may try to switch the worker context as it is described here: https://documentation.dnanexus.com/developer/cloud-workstation#step-3-setting-up-the-workspace

    0

Please sign in to leave a comment.