Topics covering webhook creation & management, event handling, Pub/Sub, and Eventbridge, in Shopify apps.
Dear devs,
I'm struggling to subscribe to checkouts/create and checkouts/update webhook topics with my Public app.
API Version: 2020/07
I keep getting the following error:
{
"errors": {
"topic": [
"Invalid topic specified: checkouts/create. Topics allowed: app/uninstalled, shop/update, app_purchases_one_time/update, app_subscriptions/update, domains/create, domains/update, domains/destroy"
],
}
}
I tried re-install the app with added read_checkouts, write_checkouts scopes, but that doesn't change anything.
Any help is appreciated!
Solved! Go to the solution
This is an accepted solution.
Excellent point, thank you! I'll add this as an item for us to look into.
To learn more visit the Shopify Help Center or the Community Blog.
Resolved: the read_orders scope was required.
I hope that helps others.
Hey @icgtec , thanks for posting! I am going to put in a change to this error message to mention that a topic either does not exist or missing access scopes, so that hopefully points others in the right direction faster.
To learn more visit the Shopify Help Center or the Community Blog.
Could be an option, but I also recommend updating "List of supported webhook events and topics" (on this page) with the required oauth scope for each topic 😉
This is an accepted solution.
Excellent point, thank you! I'll add this as an item for us to look into.
To learn more visit the Shopify Help Center or the Community Blog.