Title: Webhook : Delivery URL returned response code: 403
Last modified: September 17, 2024

---

# Webhook : Delivery URL returned response code: 403

 *  Resolved [takis01](https://wordpress.org/support/users/takis01/)
 * (@takis01)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/webhook-delivery-url-returned-response-code-403/)
 * Hello 🙂 .I created a server.js file to accept posts of webhook. But when i try
   to set the link i receive 
   “**Delivery URL returned response code: 403**” .The
   link is of type [https://webhook.mydomain.com:8080/webhook-handler](https://webhook.nickelium.io:8080/webhook-handler).
   Because is not possible to use 443 port because already used from IIS , then 
   i created new subdomain and i run it on port 8080 which is the only port which
   allowed from woocommerce (also allowed 443 and 80 but they are reserved from 
   IIS ).So i search on logs but i dont see any error about the webhook.The certificate
   should be fine .I exported from the original .pfx and for the server.js i use.
   pem format.The secret key of webhook woocommerce page , is also used in server.
   js .I opened port 8080 on firewall.No other application on server using 8080.
   I use windows server 2022.Any idea for help please ?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [takis01](https://wordpress.org/support/users/takis01/)
 * (@takis01)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/webhook-delivery-url-returned-response-code-403/#post-18020402)
 * I can not find solution to this .Woocommerce sends to incoming url empty data
   when i save the URL to settings of webhook and then display error 403.
   Does anyone
   know if works in test mode ? Currently woocommerce is in test mode but i dont
   know if is expected to work in test mode.
 *  Plugin Support [omarfpg a11n](https://wordpress.org/support/users/omarfpg/)
 * (@omarfpg)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/webhook-delivery-url-returned-response-code-403/#post-18023042)
 * Hi [@takis01](https://wordpress.org/support/users/takis01/),
 * I’m afraid this request goes beyond the scope of the support provided in this
   forum, as custom coding and [customization](https://woocommerce.com/support-policy/)
   are outside of our support policy.
 * However, I’d suggest referring to these documentation guides to learn more:
    - [https://developer.wordpress.org/reference/functions/wp_http_validate_url/](https://developer.wordpress.org/reference/functions/wp_http_validate_url/)
    - [https://developer.wordpress.org/reference/hooks/http_allowed_safe_ports/](https://developer.wordpress.org/reference/hooks/http_allowed_safe_ports/)
 * If you still need help, it’s best to ask for insight on either the [WooCommerce Advanced Facebook group](https://www.facebook.com/groups/advanced.woocommerce/)
   or the [WooCommerce Community Slack](https://woocommerce.com/community-slack/).
   Many of our developers hang out there and will be able to offer insights into
   your question. You can also seek help from the following:
    - A local web developer
    - A freelance developer (Fiverr, Upwork, etc)
    - [Codeable.io](https://woocommerce.com/codeable/)
    - [WooExperts](https://woocommerce.com/customizations/)
 * I wish I could help more, but hopefully, this gets you going in the right direction
   to get some further insight/information.
 * Cheers!
   -OP

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Webhook : Delivery URL returned response code: 403’ is closed to new 
replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [omarfpg a11n](https://wordpress.org/support/users/omarfpg/)
 * Last activity: [1 year, 8 months ago](https://wordpress.org/support/topic/webhook-delivery-url-returned-response-code-403/#post-18023042)
 * Status: resolved