Need to see if your shared folder is taking up space on your dropbox 👨‍💻? Find out how to check here.

Forum Discussion

Feifei_xiong's avatar
Feifei_xiong
Explorer | Level 4
8 years ago
Solved

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

10 Replies

Replies have been turned off for this discussion
  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    8 years ago
    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
    8 years ago

    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 Community Moderator rankDropbox Community Moderator
    7 years ago

    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
    7 years ago

    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 :/

  • jorge_ricardopc's avatar
    jorge_ricardopc
    Helpful | Level 5
    7 years ago

    estos son los headers que recibo:

    {Keep-Alive}
    {application/json}
    {}
    {gzip,deflate}
    {localhost}
    {DropboxWebhooks/1.0}
    {109}
    {81ea4f05acdf00d7a704b1532cb8262d7e5bc026dfa06113fecdc73e6a1b10c2}
    {ip}
    {dominio}
    {24e623ae-23d5-4806-b769-09c15a0aa5b0}
    {ip}
    {http}

     

    no existe el X-Dropbox-Signature, por eso preguntaba cual es el manual actualizado? gracias.

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    7 years ago

    jorge_ricardopc 

    Acabo de probar esto y me lo han enviado correctamente. Si no funciona para usted, abra un ticket API con los detalles para que podamos verificar el suyo en particular.

    https://www.dropbox.com/developers/contact

    ---

    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:

    ---

    I just tried this out, and it is getting sent properly for me. If it's not working for you, please open an API ticket with the details so we can check on yours in particular.

    https://www.dropbox.com/developers/contact

  • jorge_ricardopc's avatar
    jorge_ricardopc
    Helpful | Level 5
    7 years ago

    Habia puesto en una respuesta los headers que estoy recibiendo, pero al parecer me borraron esa replica, porque?

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    7 years ago

    jorge_ricardopc 

    Creo que no entiendo tu última pregunta. Abra un ticket y díganos a qué URI de webhook se refiere y muéstrenos lo que está viendo para que podamos ayudarlo mejor. ¡Gracias por adelantado!

    ---

    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:

    ---

    I don't think I understand your last question. Please open a ticket and let us know what webhook URI you're referring to and show us what you're seeing so we can better help. Thanks in advance!

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

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, Facebook or Instagram.

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!