If the following code throws the exception
CreateSharedLinkWithSettingsErrorException
How can I get the existing URL and name?
SharedLinkMetadata slm = mDbxClient.sharing().createSharedLinkWithSettings(remoteFolderPath + "/" + remoteFileName, SharedLinkSettings.newBuilder().withRequestedVisibility(RequestedVisibility.PUBLIC).build());
url = slm.getUrl();
ResolvedVisibility res = slm.getLinkPermissions().getResolvedVisibility();
name = slm.getName();