Skip to content

Unable to create a publicly shareable link in the latest version of the SDK #434

Description

@pradeepb28

Error: (SwiftyDropbox.CallError<SwiftyDropbox.Sharing.CreateSharedLinkWithSettingsError> error 4.)

I've uploaded a file and immediately checked if the file is uploaded or not using

let path = "/test.txt"

client.files.getMetadata(path: path).response(completionHandler: { response, error in
 // It actually responded the file exists

then I called the 

client.sharing.createSharedLinkWithSettings(path: path) { response, error in 
 // it throws error SwiftyDropbox.CallError<SwiftyDropbox.Sharing.CreateSharedLinkWithSettingsError> error 4
}

}

I've tried different ways of path expression in createSharedLinkWithSettings
/Apps/MyApp/test.txt
/MyApp/test.txt
/test.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions