Missing scope for webhook topic

Missing scope for webhook topic

iFynk
Shopify Partner
13 0 0

Hello. I encountered an issue while deploying my app using shopify app deploy. Previously, everything worked fine. I have never used use_legacy_install_flow, so the scopes have always been defined in the toml file. I need to resolve this urgently. Thank you.

 

Error:

 

 

Version couldn't be created.                                                                      
│ Missing scope for webhook topic: products/create (read_products)                              
│ Missing scope for webhook topic: products/update (read_products)  

 

 

Configuration

 

 

# Learn more about configuring your app at https://shopify.dev/docs/apps/tools/cli/configuration

client_id = "<deleted>"
name = "<deleted>"
handle = "<deleted>"
application_url = "<deleted>"
embedded = true

[build]
automatically_update_urls_on_dev = false
dev_store_url = "<deleted>"
include_config_on_deploy = true

[access_scopes]
# Learn more at https://shopify.dev/docs/apps/tools/cli/configuration#access_scopes
scopes = "read_products,read_themes,unauthenticated_read_product_listings"

[auth]
redirect_urls = [
  "<deleted>"
]

[webhooks]
api_version = "2024-07"

  [[webhooks.subscriptions]]
  topics = [ "app/uninstalled" ]
  uri = "<deleted>"
  compliance_topics = [ "customers/data_request", "customers/redact", "shop/redact" ]

  [[webhooks.subscriptions]]
  topics = [
  "app_subscriptions/approaching_capped_amount",
  "app_subscriptions/update"
]
  uri = "<deleted>"

  [[webhooks.subscriptions]]
  topics = [ "products/create", "products/update" ]
  uri = "<deleted>"

[pos]
embedded = false

 

 

Shopify CLI version - 3.76.2

Replies 4 (4)

John_K
Shopify Partner
1 0 0

I ran into the same issue, and updating the webhook's api_version to 2025-01 solved it for me.

 

You can update it in your configuration like this:

 

[webhooks]
api_version = "2025-01"

 

iFynk
Shopify Partner
13 0 0

Thank you. I changed the version to the 2025-01, but it was not helpful, the error is the same. Also, I tried 2025-04 and 2024-10 versions, no result

iFynk
Shopify Partner
13 0 0

I downgraded Shopify CLI to version 3.74.1 and it's resolved my issue. But I am still waiting for a normal solution from the Shopify team. 

iFynk
Shopify Partner
13 0 0

@Shopify team Do you have an answer to this issue? Will it be fixed, or should something be changed on my side? Thank you.