I’m trying to subscribe to the bulk operation I created, but when I try the instructions from "https://shopify.dev/api/usage/bulk-operations/queries" I receive the error “Argument ‘topic’ on Field ‘webhookSubscriptionCreate’ has an invalid value (BULK_OPERATIONS_FINISH).”
Sounds like you might be posting to the 2021-07 version of the API. I say that as BULK_OPERATIONS_FINISH topic is included in the RC Candidate of our 2021-10 API, and if I take your query and post again against api/2021-10/graphql.json my webhook subscription is created and I’m good to go. Let me know how that goes!
It’s a bit of a long shot here as I can’t see the server.js file, but in server.js, is your API version set to API_VERSION: ApiVersion.October21? That particular hook would have been an invalid value prior to 2020-10. Hope that helps!
App must set security headers to protect against click jacking.
Your app must set the proper frame-ancestors content security policy directive to avoid click jacking attacks. The ‘content-security-policy’ header should set frame-ancestorshttps: //[shop]. myshopify.comhttps://admin.shopify.com, where [shop] is the shop domain the app is embedded on.