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

Feifei_xiong's avatar
Feifei_xiong
Explorer | Level 4
7 years ago

Not receiving notifications on webhook

Hey,

 

I am not receiving notifications on the webhook URL. I have added and verified webhook URI. Then I tried to upload files, but no notificaitons send out.

 

 

After this, can I suppose that each time i upload a file, dropbox would send out the post request to this url?


Thanks!

  • Can you confirm if you've "linked" or "connected" or "authorized" the app to your account? Webhook notifications will only be sent for events in accounts that are connected to the account.

    When you create a Dropbox API app as a developer, it is not automatically connected to your account as if you were an end-user of the app. You will need to connect to it, as covered in the OAuth guide:

    https://www.dropbox.com/developers/reference/oauth-guide

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff
    Can you confirm if you've "linked" or "connected" or "authorized" the app to your account? Webhook notifications will only be sent for events in accounts that are connected to the account.

    When you create a Dropbox API app as a developer, it is not automatically connected to your account as if you were an end-user of the app. You will need to connect to it, as covered in the OAuth guide:

    https://www.dropbox.com/developers/reference/oauth-guide

    • Feifei_xiong's avatar
      Feifei_xiong
      Explorer | Level 4

      Hey Greg,

       

      It looks like I am misunderstanding about Dropbox webhook and API. The feature I want as following,

       

      When there are some file changes in Dropbox, my website(It build with rails, I have to use a third-party sdk) will get the notification about file change. Then the website will do something when notification come. There will be only one folder, some users(or just one user) upload and modify file in this folder, not each user has a folder.

       

      Does this achievable with webhook? or not?

       

      Thanks

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

      jorge_ricardopc 

      Puede encontrar información sobre el formato de notificación de webhook aquí en "Formato de notificación":

      https://www.dropbox.com/developers/reference/webhooks#documentation

      Los datos se proporcionan como JSON, por lo que puede usar cualquier analizador JSON que desee leer.

      ---

      Por favor disculpe nuestras traducciones. Nuestras traducciones fueron creadas usando un traductor en línea. Nos gustaría admitir todos los idiomas, pero actualmente no estamos equipados para hacerlo. Aquí está la versión en inglés:

      ---

      Please excuse our translations. Our translations 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:

      --- 

      You can find information on the webhook notification format here under "Notification format":

      https://www.dropbox.com/developers/reference/webhooks#documentation

      The data is given as JSON, so you can use whatever JSON parser you want to read it.

      • jorge_ricardopc's avatar
        jorge_ricardopc
        Helpful | Level 5

        esa documentacion habla de un header X-Dropbox-Signature, pero el request que recibo en el webhook no existe el header, no encuentro el manual correcto :/

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,882 PostsLatest Activity: 12 hours ago
325 Following

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!