What is the webhook retry policy

  • 1
  • Question
  • Updated 3 months ago
Assuming a webhook event is fired and there is a network issue does the webhook event is going to be fired again, how many times and frequent and when does it give up.
Does the receiving endpoint has to return any acknowledge or http code to tell the webhook that it got the event?


thanks   
Photo of eyal kama

eyal kama

  • 8 Posts
  • 0 Reply Likes

Posted 3 months ago

  • 1
Photo of Dale Smith

Dale Smith, Software Engineer

  • 205 Posts
  • 33 Reply Likes
Hi Eyal,

The top section here https://api.sharefile.com/rest/webhooks/payloads.aspx should answer your questions. Essentially we expect a 2XX response within 10 seconds in order to determine success. There is a list of failure status codes that we will attempt a retry. Our retry system uses an exponential backoff where each subsequent attempt will be less frequent. I believe this currently maxes out at 5-10 minutes. The event will retry until it is removed from our queuing system which has a TTL of around 7 days. (Although this can vary) Note that for your specific OAuth Client that you register the webhook with will not receive any other webhooks until the current one is processed successfully or removed from the queue.

Let us know if you have any other questions,
Dale Smith
Photo of eyal kama

eyal kama

  • 8 Posts
  • 0 Reply Likes
Thanks for your information.

we are chasing an issue with missing file upload events and we dont know if the event was not fired or we failed to catch.

here is info we have for the folder creation and file upload on the issue we chase. 
is there a way from you to look on the backend and tell if event was fired on the file upload?

11/05/2019 1:06 PM      /Support/104426              Create Folder     AlgoSec Support               support@MyCompany.com               MyCompany AA.AA.AA.AA     IE, Dublin, Dublin              fo9b074a-49d6-4c9c-b6dd-663d3b279a99

And added Webhook : cd6dfd7e-43ec-051c-1be0-254d1b46da54

 User : ZZ.ZZ.ZZ.ZZ  : uploaded file ID: r33bc3c1536f41749

11/05/2019 1:07 PM      /Support/104426/Log_collection_error.PNG       Upload Anonymous      noreply@sf-notifications.com                             CC.CC.CC.CC  IN, Bangalore, Karnataka               r33bc3c1536f41749

 

The webhook URL is we use to upload files:

https://algosecsupport.secure.force.com/sharefile/services/apexrest/ShareFileManagement/v1

I replaced ips with AA.AA.AA.AA or ZZ or CC. if needed I can provide you with the ips throw a secure channel


Thanks