I've set a webhook for a board using this endpoint:
/tokens/{token}/webhooks
With the idModel= as the board id.
When I do a GET request to: /tokens/{token}/webhooks
It only brings one result back which is correct.
When I move a card on the board to another list I get multiple responses back at different times.
I put the responses into text files for testing and each one of them files are identical.
14:29 1533220161.txt
14:29 1533220191.txt
14:30 1533220251.txt
14:32 1533220371.txt
Can anyone answer why I am receiving multiple callbacks for the same action?
I have deleted and re-added the same board ID for testing but since they are deleted and also not showing in the list I mentioned above why am I receiving multiple.
Hi Ashley,
Are you responding with 200 OK? Trello automatically retries up to 3 times if it doesn't receive a success status code.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you're certain your 200 is making it back to the server, the only other thing I can think of is whether you've registered the same webhook under several different tokens.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry, you were right about Trello retrying.
I found out that there was a small mistake resulting in a 500 error, this is at the very end of the script so what I was doing was working then it error'ed.
I fixed that and I'm only receiving one event now.
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No worries, glad you could figure it out.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.