We're using the following code to create shared links:
sharingClient: DbxUserSharingRequests
sharingClient.createSharedLinkWithSettings(path)
DroboxCore SDK version: 5.1.1
Request ID:
aa92c91cb979457d85ffa03c89a6c4d0
b54e559b95224839a25673ad461de91f
41011827be2a495c897617aa2c2b5a23
042a000666cb4e1d81722459ad4ce27a
339205393d704ecc81389bdf845a3e7c
2fbe2808ee604453806e8bea59a030a1
Error:
com.dropbox.core.v2.sharing.CreateSharedLinkWithSettingsErrorException: Exception in 2/sharing/create_shared_link_with_settings: {".tag":"shared_link_already_exists","shared_link_already_exists":{".tag":"metadata","metadata":{".tag":"file","url":"https://www.dropbox.com/s/hsk98qywlluod1l/mb_tbm_bogo_sawi-48d-treadmill-stories-testboosttahe22-bogo_visa.mov?dl=0","name":"mb_tbm_bogo_sawi-48d-treadmill-stories-testboosttahe22-bogo_visa.mov","link_permissions":{"can_revoke":true,"resolved_visibility":"public","requested_visibility":"public"},"client_modified":"2022-04-04T15:13:04Z","server_modified":"2022-04-04T17:23:42Z","rev":"5dbd763cdaea07ecc7ab1","size":8076679,"id":"id:9gZdgY3Xx4wAAAAAAAAkbw","path_lower":"/media buying main/sculptnation/test boost ads/sam/tb_sawi-048/mb_tbm_bogo_sawi-48d-treadmill-stories-testboosttahe22-bogo_visa.mov"}}} at com.dropbox.core.v2.sharing.DbxUserSharingRequests.createSharedLinkWithSettings(DbxUserSharingRequests.java:481) at com.dropbox.core.v2.sharing.DbxUserSharingRequests.createSharedLinkWithSettings(DbxUserSharingRequests.java:502) at
Can you please check what causes this failure and suggest the proper way to handle this.
Thanks.