Title: Product Created Webhook Sends REST API Error
Last modified: July 3, 2026

---

# Product Created Webhook Sends REST API Error

 *  [pushpak001](https://wordpress.org/support/users/pushpak001/)
 * (@pushpak001)
 * [2 days, 1 hour ago](https://wordpress.org/support/topic/product-created-webhook-sends-rest-api-error/)
    - WooCommerce: 10.9.1
    - WordPress: 7.0
    - Webhook Topic: `product.created`
    - Delivery Method: HTTP POST
    - Receiver: n8n Webhook
 * Issue – I have configured a WooCommerce webhook with the topic `product.created`.
 * Whenever a new product is created, WooCommerce successfully triggers the webhook
   and sends an HTTP POST request to my endpoint.
 * However, instead of receiving the product JSON payload, the request body always
   contains the following response:
 *     ```wp-block-code
       {
         "code": "rest_no_route",
         "message": "No route was found matching the URL and request method.",
         "data": {
           "status": 404
         }
       }
       ```
   
 * The request headers are:
 *     ```wp-block-code
       User-Agent: WooCommerce/10.9.1 Hookshot (WordPress/7.0)
       X-WC-Webhook-Topic: product.created
       X-WC-Webhook-Resource: product
       X-WC-Webhook-Event: created
       ```
   
 * The webhook endpoint receives:
 *     ```wp-block-code
       {
         "body": {
           "code": "rest_no_route",
           "message": "No route was found matching the URL and request method.",
           "data": {
             "status": 404
           }
         }
       }
       ```
   
 * instead of the newly created product object.Expected Behavior
 * The webhook body should contain the full product resource (or the standard WooCommerce
   webhook payload for a newly created product).Actual Behavior
 * The webhook body contains a REST API error (`rest_no_route`).Additional Information
    - The webhook itself is delivered successfully.
    - The webhook endpoint returns HTTP 200.
    - This occurs every time a product is created.
    - I have confirmed the webhook topic is `product.created`.
 * Could you advise what would cause WooCommerce to serialize a REST API error as
   the webhook payload instead of the product data?
   System Status Report
 *     ```wp-block-code
       ### WordPress Environment ###WordPress address (URL): [Redacted]Site address (URL): [Redacted]WC Version: 10.9.1Action Scheduler Version: ✔ 3.9.3Log Directory Writable: ✔WP Version: 7.0WP Multisite: –WP Memory Limit: 512 MBWP Debug Mode: –WP Cron: ✔WP Environment Type: productionLanguage: en_GBExternal object cache: –### Server Environment ###Server Info: ApacheServer Architecture: Linux 6.8.0-124-generic x86_64PHP Version: 8.5.7PHP Post Max Size: 512 MBPHP Time Limit: 300PHP Max Input Vars: 1000cURL Version: 8.5.0OpenSSL/3.0.13SUHOSIN Installed: –MySQL Version: 10.11.14-MariaDB-0ubuntu0.24.04.1Max Upload Size: 512 MBDefault Timezone is UTC: ✔fsockopen/cURL: ✔SoapClient: ✔DOMDocument: ✔GZip: ✔Multibyte String: ✔Remote Post: ✔Remote Get: ✔### Database ###[REDACTED]### Post Type Counts ###attachment: 214b2bking_custom_field: 10b2bking_custom_role: 3b2bking_group: 1custom_css: 1elementor_library: 34elementor_snippet: 1elementor-hf: 9fma_blocks: 3forminator_forms: 1liquory-breadcrumb: 1mailpoet_page: 2mc4wp-form: 1nav_menu_item: 103order_status: 2page: 16post: 2product: 66product_variation: 6revision: 755shop_coupon: 8shop_order_placehold: 28user_registration: 1viwec_template: 15vxc_zoho: 17wp_font_face: 33wp_font_family: 12wp_global_styles: 2wp_navigation: 1wpcf7_contact_form: 1wpcode: 1wpconsent_cookie: 27wpforms: 2yeepdf: 2zoho_flow_api_keys: 1zoho_flow_webhooks: 2### Security ###Secure connection (HTTPS): ✔Hide errors from visitors: ✔### Active Plugins (60) ###Advanced Google reCAPTCHA: by WebFactory Ltd – 5.39AIOSEO - Author SEO (E-E-A-T): by All in One SEO Team – 1.2.13AIOSEO - Image SEO: by All in One SEO Team – 1.2.5AIOSEO - IndexNow: by All in One SEO Team – 1.0.14AIOSEO - Local Business: by All in One SEO Team – 1.3.14FiboSearch - AJAX Search for WooCommerce: by FiboSearch Team – 1.33.0All in One SEO Pro: by All in One SEO Team – 4.9.9All in One SEO: by All in One SEO Team – 4.9.9All-in-One WP Migration and Backup: by ServMask – 7.106ALT Customize: by You – 1.0Angie: by Elementor.com – 1.1.10B2BKing Core: by WebWizards – 5.2.30B2BKing Pro: by WebWizards – 5.5.40Custom Order Status Manager for WooCommerce: by Bright Plugins – 2.0Classic Editor: by WordPress Contributors – 1.7.0Clearpay Gateway for WooCommerce: by Clearpay – 3.8.8Code Snippets: by Code Snippets Pro – 3.9.6Cookie Consent - GDPR & CCPA Cookie Banner & Consent Manager: by Elementor.com – 0.0.7Duplicator: by Duplicator – 1.5.16.1GTM4WP - A Google Tag Manager (GTM) plugin for WordPress: by Thomas Geiger – 1.22.3Dynamic AJAX Product Filters for WooCommerce: by Plugincy – 1.6.2Elementor Pro: by Elementor.com – 4.1.1Elementor: by Elementor.com – 4.1.4Email Template Customizer for WooCommerce: by VillaTheme – 1.3.2File Manager Advanced: by wpexpertsio – 5.4.12Google for WooCommerce: by WooCommerce – 3.7.1Site Kit by Google: by Google – 1.182.0Image Optimizer - Compress, Resize and Optimize Images: by Elementor.com – 1.7.5Imunify Security: by CloudLinux – 2.1.0WPCode Lite: by WPCode – 2.3.6Manage: by Elementor.com – 1.0.7PDF Invoice for WooCommerce + Drag and Drop Template Builder: by add-ons.org – 7.1.0Ally - Web Accessibility & Usability: by Elementor.com – 4.1.2Pro Mail SMTP: by turbosmtp – 1.7Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 3.1.6Search & Filter - Elementor Extension: by Code Amp – 1.4.2Search & Filter Pro: by Code Amp – 3.1.8Search & Filter: by Code Amp – 1.2.18Uncanny Automator: by Uncanny AutomatorUncanny Owl – 7.3.1.4UpdraftPlus - Backup/Restore: by TeamUpdraftDavidAnderson – 1.26.5WC Hide Shipping Methods: by WPExperts – 2.0.5Quantity Plus Minus Button for WooCommerce: by CodeAstrology Team – 2.0.9WPLoyalty - Launcher: by Wployalty – 1.0.2WooCommerce.com Update Manager: by Automattic – 1.0.3Variation Swatches for WooCommerce: by Emran Ahmed – 2.3.0WooCommerce All Products for Subscriptions: by WooCommerce – 6.1.0WooCommerce Stripe Gateway: by Stripe – 10.8.3WooPayments: by WooCommerce – 10.9.0WooCommerce Subscriptions: by WooCommerce – 8.7.1WooCommerce: by Automattic – 10.9.1WPLoyalty - WooCommerce Loyalty Points, Rewards and Referral Pro: by Wployalty – 1.4.3WP Webhooks: by Cozmoslabs – 3.4.2WPConsent: by WPConsent – 1.1.7WPForms Lite: by WPForms – 1.10.2.1WPLoyalty: by wployalty – 1.4.4Sequential Order Numbers for WooCommerce: by WebToffee – 1.7.9YITH WooCommerce Wishlist Premium: by YITH – 4.8.0Zoho Campaigns: by Zoho Campaigns – 2.1.7Zoho Flow: by Zoho Flow – 2.14.4Zoho Marketing Automation: by Zoho Marketing Automation – 1.3.6### Inactive Plugins (6) ###AIOSEO - REST API: by All in One SEO Team – 1.0.9Brave Conversion Engine: by Brave – 0.8.5Broken Link Checker by AIOSEO: by All in One SEO Team – 1.3.0Buy Now or Subscribe and Save for WooCommerce Subscriptions: by AspiringPlugins – 2.6.0LiteSpeed Cache: by LiteSpeed Technologies – 7.8.1WriteText.ai: by 1902 Software – 4.5.1### Dropin Plugins () ###maintenance.php: maintenance.php### Settings ###Force SSL: –Currency: GBP (£)Currency Position: leftThousand Separator: ,Decimal Separator: .Number of Decimals: 2Taxonomies: Product Types: external (external)grouped (grouped)simple (simple)subscription (subscription)variable (variable)variable subscription (variable-subscription)woosb (woosb)Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)exclude-from-search (exclude-from-search)featured (featured)outofstock (outofstock)rated-1 (rated-1)rated-2 (rated-2)rated-3 (rated-3)rated-4 (rated-4)rated-5 (rated-5)Connected to WooCommerce.com: ✔Enforce Approved Product Download Directories: ✔HPOS feature enabled: ✔Order datastore: Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStoreHPOS data sync enabled: –Enabled Features: analyticsmarketplaceorder_attributionsite_visibility_badgeremote_loggingblueprintpoint_of_salecustom_order_tables### Logging ###Enabled: ✔Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2Retention period: 30 daysLevel threshold: –Log directory size: 32 MB### WC Pages ###Shop base: #8675 - /shop/Basket: ❌ Page does not contain the [woocommerce_cart] shortcode or the woocommerce/cart block.Checkout: #8652 - /checkout/ -  Contains the [woocommerce_checkout] shortcodeMy account: #9517 - /tastely-account/ -  Contains the [woocommerce_my_account] shortcodeTerms and conditions: #8640 - /terms-of-service/### Theme ###Name: The7Version: 12.10.0Author URL: https://dream-theme.com/Child Theme: ❌ – If you are modifying WooCommerce on a parent theme that you did not buildpersonally we recommend using a child theme. See: How to create a child themeTheme type: Classic themeWooCommerce Support: ✔### Templates ###Override: wp-content/themes/dt-the7/woocommerce/cart/cart.php ❌ Version 10.1.0 is out of date. The core version is 10.8.0Override: wp-content/themes/dt-the7/woocommerce/cart/cross-sells.phpOverride: wp-content/plugins/elementor-pro/modules/woocommerce/wc-templates/cart/mini-cart.php ❌ Version header is missing. The core version is 10.0.0Override: wp-content/themes/dt-the7/woocommerce/checkout/form-billing.phpOverride: wp-content/themes/dt-the7/woocommerce/checkout/form-checkout.phpOverride: wp-content/themes/dt-the7/woocommerce/checkout/form-coupon.phpOverride: wp-content/themes/dt-the7/woocommerce/checkout/form-login.phpOverride: wp-content/themes/dt-the7/woocommerce/checkout/form-shipping.phpOverride: wp-content/themes/dt-the7/woocommerce/checkout/review-order.phpOverride: wp-content/themes/dt-the7/woocommerce/checkout/thankyou.phpOverride: wp-content/themes/dt-the7/woocommerce/content-product.phpOverride: wp-content/themes/dt-the7/woocommerce/content-widget-product.phpOverride: wp-content/themes/dt-the7/woocommerce/content-widget-reviews.phpOverride: wp-content/themes/dt-the7/woocommerce/global/breadcrumb.phpOverride: wp-content/themes/dt-the7/woocommerce/global/form-login.phpOverride: wp-content/themes/dt-the7/woocommerce/global/quantity-input.phpOverride: wp-content/themes/dt-the7/woocommerce/loop/loop-end.phpOverride: wp-content/themes/dt-the7/woocommerce/loop/loop-start.phpOverride: wp-content/themes/dt-the7/woocommerce/loop/pagination.phpOverride: wp-content/themes/dt-the7/woocommerce/myaccount/form-login.phpOverride: wp-content/themes/dt-the7/woocommerce/notices/error.phpOverride: wp-content/themes/dt-the7/woocommerce/notices/notice.php ❌ Version 10.2.0 is out of date. The core version is 10.4.0Override: wp-content/themes/dt-the7/woocommerce/notices/success.phpOverride: wp-content/themes/dt-the7/woocommerce/order/order-details-customer.phpOverride: wp-content/themes/dt-the7/woocommerce/order/order-details.php ❌ Version 10.1.0 is out of date. The core version is 10.9.0Override: wp-content/themes/dt-the7/woocommerce/single-product/meta.phpOverride: wp-content/themes/dt-the7/woocommerce/single-product/price.phpOverride: wp-content/themes/dt-the7/woocommerce/single-product/related.php ❌ Version 9.6.0 is out of date. The core version is 10.3.0Override: wp-content/themes/dt-the7/woocommerce/single-product/up-sells.phpOverride: wp-content/themes/dt-the7/woocommerce/content-product_cat.php### WooPayments ###Version: 10.9.0Connected to WPCOM: YesWPCOM Blog ID: 232558455Account ID: acct_1PBOXxCBCw5jBx0hPayment Gateway: DisabledTest Mode: DisabledDev Mode: DisabledEnabled APMs: card,afterpay_clearpay,klarnaWooPay: Not eligibleApple Pay / Google Pay: DisabledFraud Protection Level: basicMulti-currency: DisabledAuth and Capture: EnabledSupport Phone: +447770553341Documents: EnabledLogging: Disabled### WooCommerce Stripe Payment Gateway ###Version: 10.8.3Account ID: acct_1PBNxRRuiGYAjLeKTest Mode Enabled: ✔                    NoOAuth Connected: ✔                    YesSync Enabled: ✔                    YesOptimized Checkout Enabled: ✔                        YesEnabled Payment Methods: apple_pay,card,google_pay,linkExpress Checkout: ✔                    Enabled (product,cart,checkout,change_payment_method)Auth and Capture: ✔                    YesLogging: ✔                    Yes### Subscriptions ###WCS_DEBUG: ✔ NoSubscriptions Mode: ✔ LiveSubscriptions Live URL: https://tastely.co.ukSubscriptions-core Library Version: 8.3.0Subscription Statuses: –WooCommerce Account Connected: ✔ YesActive Product Key: ❌ NoCustom Retry Rules: ✔ NoCustom Retry Rule Class: ✔ NoCustom Raw Retry Rule: ✔ NoCustom Retry Rule: ✔ NoRetries Migration Status: ✔ CompletedReport Cache Enabled: ✔ YesCache Update Failures: ✔ 0 failure### Store Setup ###Country / State: United Kingdom (UK)### Subscriptions by Payment Gateway ###### Payment Gateway Support ###Stripe: productsrefundstokenizationadd_payment_methodsubscriptionssubscription_cancellationsubscription_suspensionsubscription_reactivationsubscription_amount_changessubscription_date_changessubscription_payment_method_changesubscription_payment_method_change_customersubscription_payment_method_change_adminmultiple_subscriptionsClearpay: productsrefundsInvoice Payment: products### Subscriptions Gifting ###Gifted Subscriptions Count: 0### Admin ###Enabled Features: activity-panelsanalyticsanalytics-scheduled-importproduct-block-editorexperimental-iapi-mini-cartcouponscore-profilercustomize-storecustomer-effort-score-tracksimport-products-taskexperimental-fashion-sample-productsshipping-smart-defaultsshipping-setting-tourhomescreenmarketingmobile-app-banneronboardingonboarding-taskspattern-toolkit-full-composabilityproduct-custom-fieldsremote-inbox-notificationsremote-free-extensionspayment-gateway-suggestionsprintfulshipping-label-bannersubscriptionsstore-alertstransient-noticeswoo-mobile-welcomewc-pay-promotionwc-pay-welcome-pagelaunch-your-storeDisabled Features: product-data-viewsexperimental-blockscoming-soon-newsletter-templateminified-jsproducts-catalog-apisettings-uiasync-product-editor-category-fielduse-wp-horizonrest-api-v4order-detail-redesignproduct-variations-classic-redesignDaily Cron: ❌ Not scheduledOptions: ✔Notes: 174Onboarding: completed### All Products for WooCommerce Subscriptions ###Template Overrides: –### Action Scheduler ###Canceled: 50Oldest: 2026-06-03 21:41:03 +0000Newest: 2026-07-03 13:45:41 +0000Complete: 11,104Oldest: 2026-06-02 13:58:42 +0000Newest: 2026-07-03 13:51:54 +0000Failed: 15,955Oldest: 2024-04-23 10:18:58 +0000Newest: 2026-07-03 13:47:54 +0000Pending: 39Oldest: 2026-07-03 13:54:29 +0000Newest: 2026-07-18 07:39:08 +0000### Status report information ###Generated at: 2026-07-03 13:53:09 +00:00
       ```
   

Viewing 1 replies (of 1 total)

 *  [Beau Lebens](https://wordpress.org/support/users/beaulebens/)
 * (@beaulebens)
 * [1 day, 17 hours ago](https://wordpress.org/support/topic/product-created-webhook-sends-rest-api-error/#post-18955622)
 * Hi there! How are you creating the product? Via the admin UI or some other way?
   I’ve just created a product on a test site running the latest WooCommerce, and
   the webhook posted through fine for me, which suggests there might be something
   specific going on with your install that’s interrupting either the product creation
   process, or the underlying APIs.
 * Are you in a position to try disabling other plugins just to see if they are 
   interfering with things?
 * The error that you’re getting (about a REST API) is coming from how the webhook
   system works internally — it technically executes similar code paths as what 
   run the REST API. Sometimes other plugins can be throwing errors that will interrupt
   REST APIs, and also “bleed into” this sort of codepath.
 * Another option might be to attempt to access product-related REST APIs and see
   if you’re getting specific errors there, but that will be a bit more involved.

Viewing 1 replies (of 1 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fproduct-created-webhook-sends-rest-api-error%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](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/)

 * 1 reply
 * 2 participants
 * Last reply from: [Beau Lebens](https://wordpress.org/support/users/beaulebens/)
 * Last activity: [1 day, 17 hours ago](https://wordpress.org/support/topic/product-created-webhook-sends-rest-api-error/#post-18955622)
 * Status: not resolved