Forum Discussion

Zensible's avatar
Zensible
Explorer | Level 4
6 years ago
Solved

Share a folder for uploading files

Hi, 

 

I need to be able to create, share, and send a link to a folder that can be used to upload a file by anyone with the link. 

 

I need to be able to do this automatically. When I create the folder and create a share, by default, it is read-only. How can I do this automatically using Zapier, integromat, or possibly API 

 

Thanks

  • Greg-DB's avatar
    Greg-DB
    6 years ago

    In order to make API calls, you will need to have an API app.

     

    The 'missing_scope' error indicates that while the app is permitted to use that scope, the particular access token you're using to make the API call does not have that scope granted. Also, be aware that just adding a scope to your app via the App Console does not retroactively grant that scope to existing access tokens.

     

    That being the case, to make any API calls that require that scope, you'll need to get a new access token with that scope, like you did.

5 Replies

  • Zensible's avatar
    Zensible
    Explorer | Level 4
    6 years ago

    Yes!! That sounds exactly like what I'm looking for. I will check this out and get back to you. Cheers 👍

     

     

  • Zensible's avatar
    Zensible
    Explorer | Level 4
    6 years ago

    Sorry for the follow-up questions but do I need to create an app for this or can I just use my User Auth? 

     

    I have created an app and I'm trying with Postman to get this going based on the example but I'm getting the following error: 

     

    {
        "error_summary": "missing_scope/..",
        "error": {
            ".tag": "missing_scope",
            "required_scope": "file_requests.write"
        }
    }
     
    I have given the app "file_requests.write" access. What am I doing wrong here? 
     
    Cheers 
  • Zensible's avatar
    Zensible
    Explorer | Level 4
    6 years ago

    I think I have fixed this by recreating the token. Still unsure if this is the right way to go though i.e creating an app

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    6 years ago

    In order to make API calls, you will need to have an API app.

     

    The 'missing_scope' error indicates that while the app is permitted to use that scope, the particular access token you're using to make the API call does not have that scope granted. Also, be aware that just adding a scope to your app via the App Console does not retroactively grant that scope to existing access tokens.

     

    That being the case, to make any API calls that require that scope, you'll need to get a new access token with that scope, like you did.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

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, Facebook or Instagram.

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!