Skip to content

How to register Eventbridge for webhooks? #538

@veed76

Description

@veed76

Hi Friends,

So far I am using the http method, now I want to use the AWS event bridge, so I tried this method for register webhook:

$url = "arn:aws:events:us-east-1::event-source/aws.partner/shopify.com/169*******/shopify-*****s"
$shop = "example.myshopify.com"
$type = "eventbridge"

$response = Registry::register($url, Topics::APP_UNINSTALLED, $shop, $session->access_token, $type);

and I got this error message:

Error for shop example.myshopify.com: ["Undefined array key \"arn\"","/var/www/web/vendor/shopify/shopify-api/src/Webhooks/Delivery/EventBridge.php",44]

Anybody has idea for this?

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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