Get a message "An error occurred" while creating web hook at store's admin side. Below are the steps I am following.
store/admin -> Click on settings at bottom left at the screen -> notifications -> scroll down to bottom and click on "Create web hook button"
I getting the message exactly on click the button "Create web hook". Attached screenshot below.