cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Not receiving notifications on webhook

Not receiving notifications on webhook

Feifei_xiong
Explorer | Level 4
Go to solution

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.

 

123.png

 

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


Thanks!

1 Accepted Solution

Accepted Solutions

Greg-DB
Dropbox Staff
Go to solution
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

View solution in original post

10 Replies 10

Greg-DB
Dropbox Staff
Go to solution
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
Explorer | Level 4
Go to solution

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

Feifei_xiong
Explorer | Level 4
Go to solution

Hey Greg,

 

I solved it with oauth guide.

 

Thanks

jorge_ricardopc
Helpful | Level 5
Go to solution

hola:

que manual usaste para poder hacer el parser de la notificacion?

saludos

Greg-DB
Dropbox Staff
Go to solution

@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
Helpful | Level 5
Go to solution

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
Helpful | Level 5
Go to solution

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
Dropbox Staff
Go to solution

@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
Helpful | Level 5
Go to solution

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

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    jorge_ricardopc Helpful | Level 5
What do Dropbox user levels mean?