Have your say in Community Polls: What was/is your greatest motivation to start your own business?
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.

Unable to create a webhook

Unable to create a webhook

gianf
Visitor
3 0 0

Hi there,

I am trying to subscribe to receive orders/created requests but for some reason I keep getting the same error: 

 

{
    "errors": "You do not have permission to create webhooks with orders/create topic"
}

 

 

Even though the error is straightforward I don't understand what I am missing because when I created my access token it shows that I have write_orders scope and that should allow me to create webhooks, right ? 

gianf_0-1628557076324.png

 

This is the request I am sending to create the webhook:

 

 

{
    "webhook": {
        "topic": "orders/create",
        "address": "myaddress",
        "format": "json",
        "fields": [
            "note",
            "total_price",
            "currency",
            "order_number",
            "shipping_address",
            "customer",
            "line_items"
        ]
    }
}

Can anyone help me understand why I am getting that error ?

Thanks,
Gian. 

Replies 2 (2)

gianf
Visitor
3 0 0

Spent the entire day looking for what this issue could be and apparently Shopify's team need the request id to investigate so here is one of them: X-Request-IDa22d4a27-52d7-4278-b623-eb4830e3b7c7

mrad
Shopify Staff (Retired)
63 10 15

Hi Gianf, I've looked up the request ID and I have more info to share on this, I'll private message you the details

mrad | Developer @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog