Skip to content

Duck CLI: Cannot invoke "ch.cyberduck.core.PathAttributes.getRegion()" #14028

Description

@jasttw

This ticket system is to report bugs and feature requests. For support, visit the help page first.

  • If you have trouble connecting to a server or your login credentials are not valid, try to resolve the issue with the assistance of your hosting service provider. Any such ticket will be closed with a resolution of thirdparty.

Describe the bug
using CLI Cyberduck 8.5.3 (38959). I am not able to authenticate cloud services. When i type duck --list onedrive: I get this (removed client ID from links):

OneDrive connection opened…
https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=(...)&code_challenge_method=S256&redirect_uri=https://cyberduck.io/oauth&response_type=code&scope=files.readwrite.all%20offline_access%20user.read&state=STqI
Disconnecting graph.microsoft.com
Unknown. Cannot invoke "ch.cyberduck.core.PathAttributes.getRegion()" because the return value of "ch.cyberduck.core.Path.attributes()" is null.

the same thing happens when i try duck --list dropbox:/

Dropbox connection opened…
https://www.dropbox.com/1/oauth2/authorize?client_id=(...)&code_challenge=(...)&code_challenge_method=S256&redir
Disconnecting www.dropbox.com
Unknown. Cannot invoke "ch.cyberduck.core.PathAttributes.getRegion()" because the return value of "ch.cyberduck.core.Path.attributes()" is null.

To Reproduce
Steps to reproduce the behavior:
1.Enter the command duck --list onedrive: or duck --list dropbox:/

Expected behavior
Print a list of files in the cloud service or authenticate the account if it was not authenticated.

Desktop (please complete the following information):

  • Raspberry PI OS Debian Bullseye
  • Ubuntu Server 22.04

Metadata

Metadata

Assignees

Labels

cliCommand Line Interface

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions