Webhooks problem caused by "user_permissions: |"

Hi everyone,

We have recently contacted Shopify partner support in terms of a problem related to uninstall webhooks we’ve been facing for one of our apps. Even though webhooks were added to all stores correctly, URLs were correct and our backend was tested to be working properly to receive these webhook requests, we received no webhook requests from Shopify, so the app is not notified about any uninstalls happening.

Shopify Technical Merchant Support member (Joshua) reported following:

I do something interesting: There are a slew of App permissions errors in that uninstall request. When I look for what permissions are granted all i see is “user_permissions: |”.

Generally speaking I should not see that “|” and the scope should be listed.

However there was no explanation about how can we address this. We believe that uninstall webhooks have nothing to do with app permissions, which we believe are correct (as the app is able to use all the APIs it’s scoped for during the installation). We have tested this on a new clean development store to ensure that our setup is correct.

We are a bit stuck with this, as Shopify support was only to suggest us to “starting with shopify.dev, our comprehensive developer documentation” (which, as you may agree with us, doesn’t explain the nature and reason of errors they’re monitoring, as mentioned above).
Any help will be much appreciated.