Skip to content

Webhook manager not registering multiple webhooks #619

Description

@flavio-b

Hello, I noticed that when I added more webhooks to be setup by the webhooks manager, it stopped registering them all. This is the code that's not working:

#... other stuff in ShopifyApp.configure
config.webhooks = [
    {topic: 'customers/data_request', address: "https://#{ENV['DOMAIN']}/webhooks/customers_data_request", format: 'json'},
    {topic: 'shop/redact', address: "https://#{ENV['DOMAIN']}/webhooks/shop_redact", format: 'json'},
    {topic: 'customers/redact', address: "https://#{ENV['DOMAIN']}/webhooks/customers_redact", format: 'json'},
    {topic: 'app/uninstalled', address: "https://#{ENV['DOMAIN']}/webhooks/app_uninstalled", format: 'json'}
  ]

When I comment out the webhooks, except for the last one (app/uninstalled), it registers normally. Is anyone experiencing this issue? Do you see anything wrong with this code?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions