Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Two Requests Sent for Each Event #94

Open
kmgdevelopment opened this issue Aug 11, 2024 · 0 comments
Open

Two Requests Sent for Each Event #94

kmgdevelopment opened this issue Aug 11, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@kmgdevelopment
Copy link

Description

I have a very basic GET webhook set up to run for Entry elements on the afterSave event. While testing, when I save an entry and then look at the Webhooks plugin Activity panel, there are two requests where I expect to be just one. Similarly my recipient app logs two incoming requests. Both have 200 response statuses so it wasn't a retry (and even if it was I don't think retries log as separate requests). This also happens with POST requests.

Screenshot 2024-08-11 at 3 00 03 PM

Steps to reproduce

  1. Create a new webhook
  2. Set the element to craft\elements\Entry
  3. Set the event to afterSave
  4. Leave the Event Filters at default
  5. Leave Debounce Key Format blank
  6. Set request type to GET and set the webhook URL
  7. Leave Custom Headers blank
  8. Open an existing entry and save

Additional info

  • Craft version: 4.11.1
  • PHP version: 8.1.29
  • Database driver & version: MySQL 8.0.36
  • Plugins & versions:

Amazon S3 2.2.1
Asset Rev 7.0.0
CKEditor 3.8.3
Element API 4.1.0
Super Table 3.0.14
Webhooks 3.1.0

@kmgdevelopment kmgdevelopment added the bug Something isn't working label Aug 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant