When you create a storage event subscription as a webhook to connect storage events to your ngrok endpoint, the current version expects validation (see here).
I created the event subscription via the cli, and so the information as to how to validate manually would be helpful to have in the docs:
This command will hang with a Running... line in the terminal, as it is waiting for validation, and then time out with a provisioning status of Failed.
To fix this, within 5 minutes, navigate to localhost:4040 in the web browser on the local machine to be able to inspect the messages received by ngrok.
The message received by POST request on execution of the above command will be shown, and conforms to the validation format described in the docs here.
Navigating to the validationUrl in the browser then validates the subscription creation, the browser will return '"Webhook succesfully validated as a subscription endpoint."' and the command above will complete the provisioning.
It would be useful to have this in the docs, because to new users of ngrok it may not be obvious where to find the validation message content.
Document details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
ID: ae03e2fc-39bc-4401-82b1-34ae745e936b
Version Independent ID: 617f4f97-dd3a-4af7-ced1-6e58920b36f9
[docs augmentation - solution provided]
When you create a storage event subscription as a webhook to connect storage events to your ngrok endpoint, the current version expects validation (see here). I created the event subscription via the cli, and so the information as to how to validate manually would be helpful to have in the docs:
This command will hang with a
Running...
line in the terminal, as it is waiting for validation, and then time out with a provisioning status ofFailed
.To fix this, within 5 minutes, navigate to
localhost:4040
in the web browser on the local machine to be able to inspect the messages received by ngrok. The message received by POST request on execution of the above command will be shown, and conforms to the validation format described in the docs here.Navigating to the validationUrl in the browser then validates the subscription creation, the browser will return '"Webhook succesfully validated as a subscription endpoint."' and the command above will complete the provisioning.
It would be useful to have this in the docs, because to new users of ngrok it may not be obvious where to find the validation message content.
Document details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.