• When I setup my url for the webhook and click on Send Demo, nothing happens.

    I opened the Network inspector and check a request that was trying to be made using admin-ajax.php, and the response is:

    {“success”:true,”data”:{“errors”:{“http_request_failed”:[“A valid URL was not provided.”]},”error_data”:[]}}

Viewing 1 replies (of 1 total)
  • Plugin Author Ironikus

    (@ironikus)

    Hey @jlubeck – thank you for your message.
    Down below you will find further details about your issue:

    The cause
    This error usually appears if you are trying to use a domain that looks suspicious to WordPress. We are using the wp_safe_remote_request() function by WordPress, which prevents unsecure looking URL’s from being sent (https://developer.www.ads-software.com/reference/functions/wp_safe_remote_request/)

    The solution
    With our latest versions, we introduced a new webhook URL setting called Allow unsafe URLs, which allows you to use exactly these kind of URLs.
    To activate the setting, please head over to your WordPress dashboard -> Settings -> WP Webhooks -> Send Data and there please click the settings link next to the webhook URL of your endpoint. There you will find the settings toggle, which you have to activate and save at the bottom.

    If you have any further questions, feel free to reach out again ??

Viewing 1 replies (of 1 total)
  • The topic ‘A valid URL was not provided.’ is closed to new replies.