Hi,
If you are getting multiple webhooks for the same action please double check that you don't have multiple subscriptions with the same events. We sometimes see that there can be several subscriptions to the same events going to the same callback URL.
If this is not the case please send me a message with your build details, the webhook events received multiple times and their corresponding job or similar and we can check.
Regards
Multiple 'Created' webhooks.
Forum rules
- Check the documentation first. Before posting questions, please check the documentation to ensure it doesn't already cover what you need.
- No spam. All automated messages, advertisements, and links to competitor websites will be deleted immediately.
- Post in relevant sub-forums only. Messages posted in the wrong topic area will be removed and placed in the correct sub-forum by moderators.
- Respect other users. No flaming or abusing fellow forum members. Users who continue to post inflammatory, abusive comments will be deleted from the forum after two warnings are issued by moderators.
- Harassment. No threats or harassment of other users will be tolerated. Any instance of threatening or harassing behavior is grounds for deletion from the forums.
- Adult content. No profanity or pornography is allowed. Posts containing adult material will be deleted.
- Bandwidth. All images and signatures must be 500 x 500 pixels or smaller. Posts containing over-sized images and signatures will be removed.
- Illegal content. No re-posting of copyrighted materials or other illegal content is allowed. Any posts containing illegal content or copyrighted materials will be deleted.
Re: Multiple 'Created' webhooks.
Sindre
API Developer | Simpro Software Group
API Developer | Simpro Software Group
Re: Multiple 'Created' webhooks.
Hi,
I can see multiple webhooks sent for Job 4086 created.
It looks like we have received error code 28, Operation timed out from your callback url.
If we don't receive 200 or 201 we will try to resend up to 5 times.
For job 4085 and 4084 you have returned 201 Success so it has only been sent once. Se if you can see any difference for these on your side or why it has not returned success.
Regards
I can see multiple webhooks sent for Job 4086 created.
It looks like we have received error code 28, Operation timed out from your callback url.
If we don't receive 200 or 201 we will try to resend up to 5 times.
For job 4085 and 4084 you have returned 201 Success so it has only been sent once. Se if you can see any difference for these on your side or why it has not returned success.
Regards
Sindre
API Developer | Simpro Software Group
API Developer | Simpro Software Group
Re: Multiple 'Created' webhooks.
Thanks for the reply. I can see there are a couple of differences for 4086, so I will look into things my end.
Just so I know - what is the timeout value your end? Just so I can make sure we get a reply quick enough.
THanks,
Rohan
Just so I know - what is the timeout value your end? Just so I can make sure we get a reply quick enough.
THanks,
Rohan
Re: Multiple 'Created' webhooks.
This issue still seems to be happening. I have gotten 4 webhook calls for an updated customer.
I do have a few webhooks setup, but only one of them is ENABLED.
The simPRO log for the customer shows only 1 update at the given time (09:49 AM), but I received 4 different webhook calls, all for the same customer update, all within a few seconds of each other as shown in my logs for the webhooks
Received at 02/07/2024 09:50:05. Payload date is 02/07/2024 09:49:34
Received at 02/07/2024 09:50:06. Payload date is 02/07/2024 09:49:40
Received at 02/07/2024 09:50:06. Payload date is 02/07/2024 09:49:53
Received at 02/07/2024 09:50:06. Payload date is 02/07/2024 09:49:51
I do have a few webhooks setup, but only one of them is ENABLED.
The simPRO log for the customer shows only 1 update at the given time (09:49 AM), but I received 4 different webhook calls, all for the same customer update, all within a few seconds of each other as shown in my logs for the webhooks
Received at 02/07/2024 09:50:05. Payload date is 02/07/2024 09:49:34
Received at 02/07/2024 09:50:06. Payload date is 02/07/2024 09:49:40
Received at 02/07/2024 09:50:06. Payload date is 02/07/2024 09:49:53
Received at 02/07/2024 09:50:06. Payload date is 02/07/2024 09:49:51
Re: Multiple 'Created' webhooks.
Hi stuart007,
Could you please provide some more information in a private message and we will be able to check our logs.
Please send your build details, the subscription ID for the duplicate webhook and the customer ID's of affected customers.
Regards
Could you please provide some more information in a private message and we will be able to check our logs.
Please send your build details, the subscription ID for the duplicate webhook and the customer ID's of affected customers.
Regards
Sindre
API Developer | Simpro Software Group
API Developer | Simpro Software Group
Re: Multiple 'Created' webhooks.
OK, I will wait until it happens again and capture the full details and send to you in private message. Thanks
Re: Multiple 'Created' webhooks.
Ok, thank you.
If you have the info available we can go back in our logs to check. Otherwise, send a private message the next time as you mention.
Regards
If you have the info available we can go back in our logs to check. Otherwise, send a private message the next time as you mention.
Regards
Sindre
API Developer | Simpro Software Group
API Developer | Simpro Software Group
DEVELOPER CENTER