Watson Workspace will no longer be available after February 28, 2019. Learn more.

Developers

Unable to create webhook

Comments

5 comments

  • Avatar
    Vijay Francis (Edited )

    Hi Job,

    Can you provide some details about the webhook you're attempting to register? Are you hitting issues on initial creation, or when you're trying to enable it?

    One thing to note, we require "https" for the webhooks. Trying "http" could cause the error message you see. (We have an item out to make the error messages a little more clear as well)

     

  • Avatar
    Job Cuppen

    I have updated my post with additional information

  • Avatar
    Vijay Francis

    Thanks! Unfortunately "localhost" won't work as a webhook URL since our system requires the ability to access the URL to validate and send events. You'll need to provide an externally accessible URL, which can be done by either deploying your application to a service like Bluemix or leveraging a tunneling tool like "ngrok".

  • Avatar
    Miguel Estrada

    If you are still coding your app, you can use any valid external URL accessible via HTTPS.  The system is just checking for it to be a valid URL in a system that it will be able to access.  That rules out things like localhost, ip addresses, etc.

    We are considering relaxing this "check" for URL validation until the webhook is enabled.

  • Avatar
    Job Cuppen

    ngrok solved my issue, thanks.

Please sign in to leave a comment.