API Key for Subscription Cancel

Hi everyone,

I'm developing an app and I set webhook to understand when user uninstall app. Shopify App Review team requested from me to cancel subscription when user uninstall app but when I try to do it I got following error.

"ActiveResource::UnauthorizedAccess (Failed. Response code = 401. Response message = Unauthorized ([API] Invalid API key or access token (unrecognized login or wrong password)).)"

When app uninstalled token deleted from Shopify so I got this error. How can I cancel subscription of uninstalled user?


Thanks a lot!

Onsite marketing & Customer support made easy for you: Growth Suite