Error Creating Shopify Webhook through the API
I am trying to create a Webhook through the API. When the Customer installs the app (Controller): def init_webhooks topics = ["products/create", "products/update", "products/delete"] topics.each do |topic| webhook = ShopifyAPI::Webhook.create(format: "json", topic: topic, address: "http://#{@current_host}/webhooks/#{topic}") raise "Webhook invalid: (#{topic}) #{webhook.errors}" unless webhook.valid? end end Here is the error from the log: RuntimeError (Webhook invalid: (products/create) #<ActiveResource::Errors:0x00000003bd7358>): EDIT: I have even tried just creating one webhook without the