Forum Discussion

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

Add Folder Member Api returns null

i was trying out the /2/sharing/add_folder_member api and everytime i'm receiving null as reponse, when i check the file, members has been added successfully, but the response is always null.

 

 

I also check the web interface, i tried to add a member through my dropbox web interface and check the add_folder_member api its response too was null.

  • Здравко's avatar
    Здравко
    Legendary | Level 20

    milankj, returning null means "nothing" and nothing, on its own in context of add member to folder, means that error doesn't exist. So congratulations - as seems, your calls always suceed. 😉

    Go on further.

    • milankj's avatar
      milankj
      Explorer | Level 3

      If my memory is correct i think when i tried the api last day i got a response containg some ids and shared emails.
      Was the response changed or has it always been like it.

       

       

      And earlier i tried to share a document in which i only have viewer permission, through api. The response was null, and obviously the doc was not shared.

      So is there any way i can identify through the api response whether the doc was shared or not

      • Здравко's avatar
        Здравко
        Legendary | Level 20

        I have no idea what you have tried. Most probably, it was something different. There is nothing Changed (as far as I know).