We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.

Forum Discussion

KennyArmas's avatar
KennyArmas
Explorer | Level 3
4 years ago

Permissin Type : Full Dropbox API C#

Buenas estoy implementado la API a un sistema web, donde no me permite obtener el link para compartir dicho archivo, estoy usando Sharing.CreateSharedLinkWithSettingsAsync() pasando como parámetro el folder pero al momento de obtener la URL no me permite, como muestro

Al momento de ejecutar el siguiente proceso para obtener la URL 

Me sale el siguiente error y no sabria a que se refiere.
También vi que en varios ejemplos que todos al crear su app su permiso era Full Dropbox.

Mientras que en mi aplicación el permiso es diferente, quizas eso puede ser el factor que impide que yo pueda llegar a obtener la URL de dicho archivo.

Como podria llegar a obtener la URL, y tambien como podria cambiar el Permission Type.

  • Greg-DB's avatar
    Greg-DB
    4 years ago

    Thanks! In this latest screenshot I see you're now getting the error "shared_link_already_exists". That means the "shared link already exists" for the specified item, so you can't create another for that item. I see it's also indicating that it's returning the existing shared link metadata in the error object in this case, so you can use that to get that existing shared link, or otherwise call ListSharedLinksAsync to list the existing shared link(s).

     

    The screenshot of the app in your App Console indicates that this is a scoped app with Full Dropbox access already. (If it was limited to an app folder, it would instead say "Scoped App (App Folder)".)

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    Hubo un error con este método en versiones recientes de .NET SDK, pero lo solucionamos en la última versión. Si aún no está usando v6.11.1 del .NET SDK, actualice a eso e intente nuevamente.

    -----------–
    Disculpa la calidad de la traducción. Hemos utilizado un traductor en línea para crear las respuestas. Nos gustaría poder ofrecer nuestros servicios en todos los idiomas, pero nuestros recursos no nos lo permiten. Esta es la versión en inglés:
    -----------–
    Please excuse our translations. Our responses were created using an online translator. We'd like to support every language, but we're not currently equipped to do so. Here is the English version:
    -----------–

    There was a bug with this method in recent versions of the .NET SDK, but we just fixed that in the latest version. If you're not already using v6.11.1 of the .NET SDK, please upgrade to that and try again.

    • KennyArmas's avatar
      KennyArmas
      Explorer | Level 3

      Yes, I just updated my SDK to version 6.11.1 but I still have the problem when I want to get the URL of a file to share. 

       


      You can see I have installed the latest version that you recommended, but I still have the same problem, I can't get the URL of that file.


      And, another question, how do I get Full Dropbox permissions?

       

       

       

      • Greg-DB's avatar
        Greg-DB
        Icon for Dropbox Staff rankDropbox Staff

        Thanks! In this latest screenshot I see you're now getting the error "shared_link_already_exists". That means the "shared link already exists" for the specified item, so you can't create another for that item. I see it's also indicating that it's returning the existing shared link metadata in the error object in this case, so you can use that to get that existing shared link, or otherwise call ListSharedLinksAsync to list the existing shared link(s).

         

        The screenshot of the app in your App Console indicates that this is a scoped app with Full Dropbox access already. (If it was limited to an app folder, it would instead say "Scoped App (App Folder)".)