Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Dropbox password share link fails in Conflict/Not Authorized #14581

Closed
AliveDevil opened this issue Apr 26, 2023 · 3 comments · Fixed by #14595
Closed

Create Dropbox password share link fails in Conflict/Not Authorized #14581

AliveDevil opened this issue Apr 26, 2023 · 3 comments · Fixed by #14595
Assignees
Labels
bug dropbox Dropbox Protocol Implementation
Milestone

Comments

@AliveDevil
Copy link
Contributor

ch.cyberduck.transcript.request - POST /2/sharing/create_shared_link_with_settings HTTP/1.1
ch.cyberduck.transcript.request - Dropbox-API-Path-Root: {".tag":"root","root":"25099870"}
ch.cyberduck.transcript.request - Content-Type: application/json; charset=utf-8
ch.cyberduck.transcript.request - User-Agent: Cyberduck/8.5.9.39636 (Windows 10/10.0.22621.0) (amd64) OfficialDropboxJavaSDKv2/5.4.4
ch.cyberduck.transcript.request - Content-Length: 92
ch.cyberduck.transcript.request - Host: api.dropboxapi.com
ch.cyberduck.transcript.request - Connection: Keep-Alive
ch.cyberduck.transcript.request - Accept-Encoding: gzip,deflate
ch.cyberduck.transcript.request - Authorization: ********
ch.cyberduck.transcript.response - HTTP/1.1 409 Conflict
ch.cyberduck.transcript.response - Cache-Control: no-cache
ch.cyberduck.transcript.response - Content-Security-Policy: sandbox allow-forms allow-scripts
ch.cyberduck.transcript.response - X-Content-Type-Options: nosniff
ch.cyberduck.transcript.response - Content-Type: application/json
ch.cyberduck.transcript.response - Accept-Encoding: identity,gzip
ch.cyberduck.transcript.response - Date: Wed, 26 Apr 2023 08:03:44 GMT
ch.cyberduck.transcript.response - Server: envoy
ch.cyberduck.transcript.response - Content-Encoding: gzip
ch.cyberduck.transcript.response - Vary: Accept-Encoding
ch.cyberduck.transcript.response - X-Dropbox-Response-Origin: far_remote
ch.cyberduck.transcript.response - X-Dropbox-Request-Id: 713778a8ea034242804e96f69aa40e15
ch.cyberduck.transcript.response - Transfer-Encoding: chunked
Failure BackgroundException{class=class ch.cyberduck.core.exception.InteroperabilityException, file=null, message='Interoperabilitätsfehler', detail='', cause='com.dropbox.core.v2.sharing.CreateSharedLinkWithSettingsErrorException: Exception in 2/sharing/create_shared_link_with_settings: {".tag":"settings_error","settings_error":"not_authorized"}'} running background task
@AliveDevil AliveDevil added bug dropbox Dropbox Protocol Implementation labels Apr 26, 2023
@AliveDevil
Copy link
Contributor Author

Docs

  • audienceLink
    • password: deprecated | Use require_password instead
  • requested_visibility: deprecated

@dkocher
Copy link
Contributor

dkocher commented Apr 29, 2023

I suspect this to be a limitation imposed by the subscribed Dropbox plan. The pricing suggests you have to upgrade to a Professional plan to allow sharing files with a password.

Advanced sharing controls and file locking 1

This is also restricted in the web interface which says

Upgrade to Dropbox Professional to enable all link settings.

when attempting to edit a shared link.

Footnotes

  1. https://www.dropbox.com/plans

@ylangisc
Copy link
Contributor

ylangisc commented May 1, 2023

@dkocher Any chance to detect the type of an account and disable the option for non-Professional plans?

dkocher added a commit that referenced this issue May 1, 2023
@dkocher dkocher reopened this May 1, 2023
dkocher added a commit that referenced this issue May 2, 2023
Allow setting password for share only for pro and business accounts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug dropbox Dropbox Protocol Implementation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants