You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

Joe_AR's avatar
Joe_AR
Helpful | Level 5
9 months ago

API folder creation

I'm using Google Colab + Python to create a list of folder from a googleSheet of my open projects.  I set-up the App in dropbox & the code runs without error.  It checks to see if the folder path alr...
  • Joe_AR's avatar
    Joe_AR
    9 months ago

    Hey Zdravko,

     

    Just reran it this AM and its working.  I started with the documenation and added a missing parameter.  The folders were visible when I logged in under the 'suggested folders'.  I did notice - to your point - that I was creating the folders in the wrong path.

    The absolute path I was creating was wrong:

     # Define the parent folder path
        parent_folder_path = 'home/(my user name)/000 - Shipping Photos/'  # Absolute path to the parent folder

     

    Should have just been:

     # Define the parent folder path
        parent_folder_path = '/000 - Shipping Photos/'  # Absolute path to the parent folder

     

    Went I went to navagate to the folder upon successful creation of the folders - I noted the nested path was duplicated:

     

    /home/(user  name)/000 -Shipping Photos/home/(user name)/000 - Shipping Photos/



    Stupid error on top of stupid error.  Splinter removed from my mind.  Thank you for the feedback & help.