EventBridge ignores "large payload" webhooks after receiving the first webhook

Solved
DanAtBonify
Shopify Partner
35 3 15

I'm seeing a strange behavior that may or may not be a Shopify bug, undocumented behavior, an issue with EventBridge configuration, or something else entirely...

The issue is thus:

  1. I have a product with a lot of large metafields (total size of metafields exceeds 256kb).
  2. I have a product/update webhook created that also subscribes to the those metafields.
  3. When a product/update webhook is triggered I get the following in EventBridge: 
    1. The payload is larger than the supported limit. Use the API to retrieve your data.
    2. Good so far, this has all been expected behavior.
  4. When that same product is updated again I do not get another product/update webhook.
    1. This is unexpected behavior, and I cannot find any documentation on why I am not receiving additional webhooks for that product in EventBridge.
    2. I am not sure how long product/updates are ignored. After a few days, the product/update webhook was successfully triggered again, however, the primary problem continued, which is that future updates to that product did not send a webhook to EventBridge.
Accepted Solution (1)

Accepted Solutions
armurray
Shopify Staff
Shopify Staff
12 3 1

This is an accepted solution.

The bugfix should now be fully deployed. I'm fairly confident that it works, but please let me know if you are still missing webhooks. Thanks again for your detailed description-- it made tracking down and fixing the bug possible!

armurray | Developer @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

View solution in original post

Replies 4 (4)
armurray
Shopify Staff
Shopify Staff
12 3 1

Hi Dan,

I'm a developer on Shopify's webhooks team. Thanks for reaching out, and for your very clear description of the problem. This is an edge case between a couple of features that we hadn't considered-- I'll ticket it right away and see what we can do to fix it. In the meantime, you should find that the "block" expires after 15 minutes of no changes on a given resource-webhook_subscription combination. 

Cheers,
Andrew

armurray | Developer @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

DanAtBonify
Shopify Partner
35 3 15

@armurray Great, thank you very much. I look forward to seeing an update this on this!

armurray
Shopify Staff
Shopify Staff
12 3 1

This is an accepted solution.

The bugfix should now be fully deployed. I'm fairly confident that it works, but please let me know if you are still missing webhooks. Thanks again for your detailed description-- it made tracking down and fixing the bug possible!

armurray | Developer @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

DanAtBonify
Shopify Partner
35 3 15