Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Remix app not handling aws eventbridge webhooks

Remix app not handling aws eventbridge webhooks

sancuscommerce
Shopify Partner
21 1 3

I have created and activated an aws eventbridge webhook, but it is not routing to my remix webhooks route.

 

in the error logs, i see this error:

"TypeError: Cannot read properties of undefined (reading 'x-forwarded-host')", " at convertApigRequestToNode (file:///var/task/shopify-remix/build/server.mjs:179552:20)", " at Runtime.handler (file:///var/task/shopify-remix/build/server.mjs:179607:22)"

 

when viewing the eventbridge logs, i can see where it is calling the function and passing in data, but I dont see headers being sent.. and no x-forwarded-host.

 

What am I missing in my setup of the remix lambda function or eventbridge bus?

Replies 0 (0)