We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.

Forum Discussion

Joe_AR's avatar
Joe_AR
Helpful | Level 5
7 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
    7 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.

     

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,877 PostsLatest Activity: 12 months ago
325 Following

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!