It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Rest API webhook sends an action 2 or 3 times.

Hello. I have created a Rest API webhook which links to one of my websites endpoints.

But whenever an action is done, it sends it, but 30 seconds later, it sends it again, and so on, until it reaches 3 times.

I do make my endpoint return a status 200 (as this screenshot shows Image), but it still retries to send the content.

 

Any ideas?

2 answers

0 votes
marc Community Leader Oct 28, 2019

@iBishoMy recommendation is to try your webhook url  yourself and see what kind of response you see from an external client.

Trello is supposed to retry if the the connection is disrupted or unavailable.

Here is what Trello do 

 

1) First attempt, immediately, if failed

2) Second attempt in 30 seconds, if failed 

3) Third attempt in 60 seconds and if failed

4) Fourth Attempt in 120 seconds.

so eventually your actions are not returning in the way trello wants, it just treats like each attempt failed.

Suggestions: Put up a watcher, notification or something on your webhook to make sure it is not failing at top of webhook.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Trello

Develop a new Habit during Lockdown

If you had to thrive a new habit during a lockdown, what would it be? Trello

1,594 views 14 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you