We’re aware of an issue causing slower load times on the Dropbox Community forum. It should be resolved soon. Thanks for your patience! 

Forum Discussion

Akshata's avatar
Akshata
Explorer | Level 4
9 years ago

For create shared link API which business account supports advanced settings like password?

Hi,

 

In API it is said that creating shared link with visibility other than public and setting expiry date is not supported for Basic users.

Could anyone please tell which accounts support these options?

What are the steps to be followed in order to get these access?

 

Thanks in advance,

Akshata

3 Replies

  • Akshata's avatar
    Akshata
    Explorer | Level 4
    9 years ago

    Thanks Greg.

     

    I checked type of my account its a pro account and iam sending below request:

     

    {
    "path": "/Level1/Level2/Level3.txt",
    "settings": {
    "requested_visibility": "password",
    "link_password": "abc",
    "expires": "2017-12-15T15:50:38Z"
    }
    }

     

    Still the endpoint gives below error:

     

    {
    "error_summary": "settings_error/not_authorized/",
    "error": {
    ".tag": "settings_error",
    "settings_error": {
    ".tag": "not_authorized"
    }
    }
    }

     

    What could be the reason for such behavior?

    And if the Pro account expires does it still give the account_type as 'pro' by any chance?

     

    Please guide me one this.

     

    Thanks,

    Akshata

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    9 years ago
    If the user's Pro plan has ended, the information returned by /2/users/get_current_account should contain the new value.

    If that doesn't seem to be the case for you, please share the output of /2/users/get_current_account as well as a screenshot showing the Pro plan has ended, e.g., from the web site.

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!