You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

rweckey's avatar
rweckey
Explorer | Level 3
2 years ago

JavaScript - I can't get shared_link_already_exists.metadata

Hi, I want to create a shared link or get a shared link if it already exists with JavaScript.   If the shared link already exists, returned error has only '.tag'.         error: { ...
  • Greg-DB's avatar
    2 years ago

    The shared_link_already_exists error is not guaranteed to contain the metadata of the existing link, so you do need to have sharingListSharedLinks implemented for when the existing link is not returned. The shared_link_already_exists error may not the contain the metadata of the existing link if the requested settings do not match the settings of the existing link, for instance. Note that the existing link returned by sharingListSharedLinks may not have the same settings that you requested, so be sure to check that as needed.