• Resolved faceofdeath

    (@faceofdeath)


    My plugin stopped working after an update last night. It currently throws 400 Bad Request Error. I request your support on the matter.

    Error:

    11-29-2021 @ 13:24:48 - Response
    code: 400
    message: Bad Request
    body: <!DOCTYPE html>
    <html lang="en" id="facebook">
      <head>
        <title>Facebook | Error</title>
        <meta charset="utf-8">
        <meta http-equiv="cache-control" content="no-cache">
        <meta http-equiv="cache-control" content="no-store">
        <meta http-equiv="cache-control" content="max-age=0">
        <meta http-equiv="expires" content="-1">
        <meta http-equiv="pragma" content="no-cache">
        <meta name="robots" content="noindex,nofollow">
        <style>
          html, body {
            color: #141823;
            background-color: #e9eaed;
            font-family: Helvetica, Lucida Grande, Arial,
                         Tahoma, Verdana, sans-serif;
            margin: 0;
            padding: 0;
            text-align: center;
          }
    
          #header {
            height: 30px;
            padding-bottom: 10px;
            padding-top: 10px;
            text-align: center;
          }
    
          #icon {
            width: 30px;
          }
    
          h1 {
            font-size: 18px;
          }
    
          p {
            font-size: 13px;
          }
    
          #footer {
            border-top: 1px solid #ddd;
            color: #9197a3;
            font-size: 12px;
            padding: 5px 8px 6px 0;
          }
        </style>
      </head>
      <body>
        <div id="header">
          <a href="//www.facebook.com/">
            <img id="icon" src="//static.facebook.com/images/logos/facebook_2x.png" />
          </a>
        </div>
        <div id="core">
          <h1 id="sorry">Sorry, something went wrong.</h1>
          <p id="promise">
            We're working on it and we'll get it fixed as soon as we can.
          </p>
          <p id="back-link">
            <a id="back" href="//www.facebook.com/">Go Back</a>
          </p>
          <div id="footer">
            Facebook
            <span id="copyright">
              © 2021
            </span>
            <span id="help-link">
              ·
              <a id="help" href="//www.facebook.com/help/">Help Center</a>
            </span>
          </div>
        </div>
        <script>
          document.getElementById('back').onclick = function() {
            if (history.length > 1) {
              history.back();
              return false;
            }
          };
    
          // Adjust the display based on the window size
          if (window.innerHeight < 80 || window.innerWidth < 80) {
            // Blank if window is too small
            document.body.style.display = 'none';
          };
          if (window.innerWidth < 200 || window.innerHeight < 150) {
            document.getElementById('back-link').style.display = 'none';
            document.getElementById('help-link').style.display = 'none';
          };
          if (window.innerWidth < 200) {
            document.getElementById('sorry').style.fontSize = '16px';
          };
          if (window.innerWidth < 150) {
            document.getElementById('promise').style.display = 'none';
          };
          if (window.innerHeight < 150) {
            document.getElementById('sorry').style.margin = '4px 0 0 0';
            document.getElementById('sorry').style.fontSize = '14px';
            document.getElementById('promise').style.display = 'none';
          };
        </script>
      </body>
    </html>
Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi there @faceofdeath,

    My plugin stopped working after an update last night. It currently throws 400 Bad Request Error. I request your support on the matter.

    I can only imagine how frustrating this must be for you!

    Usually, a 400 Bad Request error occurs when the server cannot (or will not) process the request due to something that is perceived to be a client error.

    Does this error occur when you attempt to sync your products? Or are there other methods of producing this error?

    If we can determine how you encounter this error on your site, we can try to reproduce it or see if there are other merchants experiencing similar issues.

    Lastly, could you please share a copy of your site’s System Status? You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”.  Once you’ve done that, paste it here in your response.

    Looking forward to hearing from you!

    Thread Starter faceofdeath

    (@faceofdeath)


    ### WordPress Environment ###

    WordPress address (URL): https://www.tarrzz.com
    Site address (URL): https://www.tarrzz.com
    WC Version: 5.9.0
    REST API Version: ✔ 5.9.0
    WC Blocks Version: ✔ 6.1.0
    Action Scheduler Version: ✔ 3.3.0
    WC Admin Version: ✔ 2.8.0
    Log Directory Writable: ✔
    WP Version: 5.8.2
    WP Multisite: –
    WP Memory Limit: 512 MB
    WP Debug Mode: –
    WP Cron: –
    Language: tr_TR
    External object cache: –

    ### Server Environment ###

    Server Info: LiteSpeed
    PHP Version: 7.4.26
    PHP Post Max Size: 128 MB
    PHP Time Limit: 500
    PHP Max Input Vars: 10000
    cURL Version: 7.71.0
    OpenSSL/1.1.1d

    SUHOSIN Installed: –
    MySQL Version: 10.3.31-MariaDB-cll-lve
    Max Upload Size: 128 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔

    ### Database ###

    WC Database Version: 5.9.0
    WC Database Prefix: tshirt_
    Toplam veritabanı boyutu: 124.07MB
    Veritabanı veri boyutu: 111.14MB
    Veritabanı indis boyutu: 12.93MB
    tshirt_woocommerce_sessions: Veriler: 3.73 MB + Dizin: 0.11 MB + Motor MyISAM
    tshirt_woocommerce_api_keys: Veriler: 0.00 MB + Dizin: 0.00 MB + Motor MyISAM
    tshirt_woocommerce_attribute_taxonomies: Veriler: 0.00 MB + Dizin: 0.00 MB + Motor MyISAM
    tshirt_woocommerce_downloadable_product_permissions: Veriler: 0.00 MB + Dizin: 0.00 MB + Motor MyISAM
    tshirt_woocommerce_order_items: Veriler: 0.08 MB + Dizin: 0.05 MB + Motor MyISAM
    tshirt_woocommerce_order_itemmeta: Veriler: 0.49 MB + Dizin: 0.36 MB + Motor MyISAM
    tshirt_woocommerce_tax_rates: Veriler: 0.00 MB + Dizin: 0.00 MB + Motor MyISAM
    tshirt_woocommerce_tax_rate_locations: Veriler: 0.00 MB + Dizin: 0.00 MB + Motor MyISAM
    tshirt_woocommerce_shipping_zones: Veriler: 0.00 MB + Dizin: 0.00 MB + Motor MyISAM
    tshirt_woocommerce_shipping_zone_locations: Veriler: 0.00 MB + Dizin: 0.00 MB + Motor MyISAM
    tshirt_woocommerce_shipping_zone_methods: Veriler: 0.00 MB + Dizin: 0.00 MB + Motor MyISAM
    tshirt_woocommerce_payment_tokens: Veriler: 0.00 MB + Dizin: 0.00 MB + Motor MyISAM
    tshirt_woocommerce_payment_tokenmeta: Veriler: 0.00 MB + Dizin: 0.00 MB + Motor MyISAM
    tshirt_woocommerce_log: Veriler: 0.00 MB + Dizin: 0.00 MB + Motor MyISAM
    tshirt_actionscheduler_actions: Veriler: 0.41 MB + Dizin: 0.19 MB + Motor MyISAM
    tshirt_actionscheduler_claims: Veriler: 0.00 MB + Dizin: 0.00 MB + Motor MyISAM
    tshirt_actionscheduler_groups: Veriler: 0.00 MB + Dizin: 0.01 MB + Motor MyISAM
    tshirt_actionscheduler_logs: Veriler: 0.31 MB + Dizin: 0.19 MB + Motor MyISAM
    tshirt_adtribes_my_conversions: Veriler: 0.00 MB + Dizin: 0.00 MB + Motor MyISAM
    tshirt_commentmeta: Veriler: 0.02 MB + Dizin: 0.02 MB + Motor MyISAM
    tshirt_comments: Veriler: 0.30 MB + Dizin: 0.16 MB + Motor MyISAM
    tshirt_iyzico_card: Veriler: 0.00 MB + Dizin: 0.00 MB + Motor MyISAM
    tshirt_iyzico_order: Veriler: 0.01 MB + Dizin: 0.01 MB + Motor MyISAM
    tshirt_links: Veriler: 0.00 MB + Dizin: 0.00 MB + Motor MyISAM
    tshirt_options: Veriler: 49.44 MB + Dizin: 0.60 MB + Motor MyISAM
    tshirt_postmeta: Veriler: 23.89 MB + Dizin: 5.68 MB + Motor MyISAM
    tshirt_posts: Veriler: 14.19 MB + Dizin: 0.65 MB + Motor MyISAM
    tshirt_revslider_css: Veriler: 0.09 MB + Dizin: 0.00 MB + Motor MyISAM
    tshirt_revslider_css_bkp: Veriler: 0.01 MB + Dizin: 0.00 MB + Motor MyISAM
    tshirt_revslider_layer_animations: Veriler: 0.00 MB + Dizin: 0.00 MB + Motor MyISAM
    tshirt_revslider_layer_animations_bkp: Veriler: 0.00 MB + Dizin: 0.00 MB + Motor MyISAM
    tshirt_revslider_navigations: Veriler: 0.00 MB + Dizin: 0.00 MB + Motor MyISAM
    tshirt_revslider_navigations_bkp: Veriler: 0.00 MB + Dizin: 0.00 MB + Motor MyISAM
    tshirt_revslider_sliders: Veriler: 0.33 MB + Dizin: 0.00 MB + Motor MyISAM
    tshirt_revslider_sliders_bkp: Veriler: 0.29 MB + Dizin: 0.00 MB + Motor MyISAM
    tshirt_revslider_slides: Veriler: 4.01 MB + Dizin: 0.00 MB + Motor MyISAM
    tshirt_revslider_slides_bkp: Veriler: 3.50 MB + Dizin: 0.00 MB + Motor MyISAM
    tshirt_revslider_static_slides: Veriler: 0.00 MB + Dizin: 0.00 MB + Motor MyISAM
    tshirt_revslider_static_slides_bkp: Veriler: 0.00 MB + Dizin: 0.00 MB + Motor MyISAM
    tshirt_termmeta: Veriler: 1.40 MB + Dizin: 0.41 MB + Motor MyISAM
    tshirt_terms: Veriler: 0.04 MB + Dizin: 0.08 MB + Motor MyISAM
    tshirt_term_relationships: Veriler: 0.12 MB + Dizin: 0.25 MB + Motor MyISAM
    tshirt_term_taxonomy: Veriler: 0.09 MB + Dizin: 0.03 MB + Motor MyISAM
    tshirt_usermeta: Veriler: 0.86 MB + Dizin: 0.48 MB + Motor MyISAM
    tshirt_users: Veriler: 0.06 MB + Dizin: 0.06 MB + Motor MyISAM
    tshirt_wc_admin_notes: Veriler: 0.02 MB + Dizin: 0.00 MB + Motor MyISAM
    tshirt_wc_admin_note_actions: Veriler: 0.01 MB + Dizin: 0.00 MB + Motor MyISAM
    tshirt_wc_category_lookup: Veriler: 0.00 MB + Dizin: 0.00 MB + Motor MyISAM
    tshirt_wc_customer_lookup: Veriler: 0.04 MB + Dizin: 0.04 MB + Motor MyISAM
    tshirt_wc_download_log: Veriler: 0.00 MB + Dizin: 0.00 MB + Motor MyISAM
    tshirt_wc_order_coupon_lookup: Veriler: 0.00 MB + Dizin: 0.00 MB + Motor MyISAM
    tshirt_wc_order_product_lookup: Veriler: 0.08 MB + Dizin: 0.08 MB + Motor MyISAM
    tshirt_wc_order_stats: Veriler: 0.03 MB + Dizin: 0.03 MB + Motor MyISAM
    tshirt_wc_order_tax_lookup: Veriler: 0.00 MB + Dizin: 0.00 MB + Motor MyISAM
    tshirt_wc_product_meta_lookup: Veriler: 0.21 MB + Dizin: 0.38 MB + Motor MyISAM
    tshirt_wc_reserved_stock: Veriler: 0.00 MB + Dizin: 0.00 MB + Motor MyISAM
    tshirt_wc_tax_rate_classes: Veriler: 0.00 MB + Dizin: 0.01 MB + Motor MyISAM
    tshirt_wc_webhooks: Veriler: 0.00 MB + Dizin: 0.00 MB + Motor MyISAM
    tshirt_wfblockediplog: Veriler: 0.00 MB + Dizin: 0.00 MB + Motor MyISAM
    tshirt_wfblocks7: Veriler: 0.01 MB + Dizin: 0.00 MB + Motor MyISAM
    tshirt_wfconfig: Veriler: 0.45 MB + Dizin: 0.02 MB + Motor MyISAM
    tshirt_wfcrawlers: Veriler: 0.05 MB + Dizin: 0.02 MB + Motor MyISAM
    tshirt_wffilechanges: Veriler: 0.00 MB + Dizin: 0.00 MB + Motor MyISAM
    tshirt_wffilemods: Veriler: 2.09 MB + Dizin: 0.29 MB + Motor MyISAM
    tshirt_wfhits: Veriler: 0.82 MB + Dizin: 0.15 MB + Motor MyISAM
    tshirt_wfhoover: Veriler: 0.00 MB + Dizin: 0.00 MB + Motor MyISAM
    tshirt_wfissues: Veriler: 0.00 MB + Dizin: 0.01 MB + Motor MyISAM
    tshirt_wfknownfilelist: Veriler: 1.14 MB + Dizin: 0.13 MB + Motor MyISAM
    tshirt_wflivetraffichuman: Veriler: 1.51 MB + Dizin: 2.14 MB + Motor MyISAM
    tshirt_wflocs: Veriler: 0.25 MB + Dizin: 0.06 MB + Motor MyISAM
    tshirt_wflogins: Veriler: 0.38 MB + Dizin: 0.09 MB + Motor MyISAM
    tshirt_wfls_2fa_secrets: Veriler: 0.02 MB + Dizin: 0.02 MB + Motor InnoDB
    tshirt_wfls_settings: Veriler: 0.02 MB + Dizin: 0.00 MB + Motor InnoDB
    tshirt_wfnotifications: Veriler: 0.00 MB + Dizin: 0.00 MB + Motor MyISAM
    tshirt_wfpendingissues: Veriler: 0.00 MB + Dizin: 0.00 MB + Motor MyISAM
    tshirt_wfreversecache: Veriler: 0.21 MB + Dizin: 0.06 MB + Motor MyISAM
    tshirt_wfsnipcache: Veriler: 0.01 MB + Dizin: 0.02 MB + Motor MyISAM
    tshirt_wfstatus: Veriler: 0.07 MB + Dizin: 0.03 MB + Motor MyISAM
    tshirt_wftrafficrates: Veriler: 0.00 MB + Dizin: 0.00 MB + Motor MyISAM
    tshirt_woodmart_wishlists: Veriler: 0.01 MB + Dizin: 0.01 MB + Motor MyISAM
    tshirt_woodmart_wishlist_products: Veriler: 0.00 MB + Dizin: 0.00 MB + Motor MyISAM
    tshirt_wpforms_tasks_meta: Veriler: 0.01 MB + Dizin: 0.00 MB + Motor MyISAM
    tshirt_wpmailsmtp_debug_events: Veriler: 0.02 MB + Dizin: 0.00 MB + Motor InnoDB
    tshirt_wpmailsmtp_tasks_meta: Veriler: 0.01 MB + Dizin: 0.00 MB + Motor MyISAM

    ### Post Type Counts ###

    attachment: 799
    cms_block: 3
    elementor_library: 1
    mc4wp-form: 1
    nav_menu_item: 33
    page: 14
    post: 4
    product: 191
    product_variation: 3209
    revision: 1992
    shop_order: 451
    shop_order_refund: 4
    woodmart_sidebar: 2
    woodmart_size_guide: 4
    wpcf7_contact_form: 1
    wpforms: 1

    ### Security ###

    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔

    ### Active Plugins (18) ###

    Autoptimize: (Frank Goossens (futtta)) – 2.9.3
    Contact Form 7: (Takayuki Miyoshi) – 5.5.3
    Elementor: (Elementor.com) – 3.4.8
    WooCommerce için Facebook: (Facebook) – 2.6.7
    Google XML Sitemaps: (Auctollo) – 4.1.1
    iyzico WooCommerce: (iyzico) – 3.1.1
    Loco Translate: (Tim Whitlock) – 2.5.5
    MC4WP: Mailchimp for WordPress: (ibericode) – 4.8.6
    Wordpress için Facebook: (Facebook) – 3.0.6
    Slider Revolution: (ThemePunch) – 6.2.23
    Safe SVG: (Daryll Doyle) – 1.9.9
    WooCommerce Admin: (WooCommerce) – 2.8.0
    WooCommerce: (Automattic) – 5.9.0
    Woodmart Core: () – 1.0.25
    Wordfence Security: (Wordfence) – 7.5.7
    WP Mail SMTP: (WPForms) – 3.2.1
    WPForms Lite: (WPForms) – 1.7.1.2
    WPS Hide Login: (WPServeur
    NicolasKulka
    wpformation) – 1.9.1

    ### Inactive Plugins (2) ###

    Advanced Order Export For WooCommerce: (AlgolPlus) – 3.2.1
    CTX Feed: (WebAppick) – 4.4.38

    ### Settings ###

    API Enabled: –
    Force SSL: –
    Currency: TRY (₺)
    Currency Position: right_space
    Thousand Separator: .
    Decimal Separator: ,
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)

    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: ✔

    ### WC Pages ###

    Mağaza giriş sayfası: #10078 – /tisort-sweatshirt-magaza/
    Sepet sayfası: #10075 – /tisort-sweatshirt-sepet/
    Ödeme sayfası: #10076 – /tisort-sweatshirt-odeme/
    Hesabım sayfası: #10077 – /tisort-sweatshirt-hesabim/
    Şartlar ve koşullar: #10065 – /tisort-sweatshirt-mesafeli-satis-sozlesmesi/

    ### Theme ###

    Name: Woodmart
    Version: 6.2.4
    Author URL: http://themeforest.net/user/xtemos
    Child Theme: ❌ – WooCommerce’i kendinizin oluşturmadığı ana bir temada düzenliyorsanız
    yardımcı bir tema kullanmanızı öneririz. Bkz.: Nasıl yardımcı tema oluşturulur?

    WooCommerce Support: ✔

    ### Templates ###

    Overrides: woodmart/woocommerce/archive-product.php
    woodmart/woocommerce/cart/cart-item-data.php
    woodmart/woocommerce/cart/cart.php
    woodmart/woocommerce/cart/cross-sells.php
    woodmart/woocommerce/cart/mini-cart.php
    woodmart/woocommerce/checkout/form-checkout.php
    woodmart/woocommerce/checkout/thankyou.php
    woodmart/woocommerce/content-product-cat.php
    woodmart/woocommerce/content-product.php
    woodmart/woocommerce/content-single-product.php
    woodmart/woocommerce/content-widget-product.php
    woodmart/woocommerce/global/breadcrumb.php
    woodmart/woocommerce/global/form-login.php
    woodmart/woocommerce/global/quantity-input.php
    woodmart/woocommerce/loop/add-to-cart.php
    woodmart/woocommerce/loop/loop-end.php
    woodmart/woocommerce/loop/loop-start.php
    woodmart/woocommerce/loop/no-products-found.php
    woodmart/woocommerce/loop/orderby.php
    woodmart/woocommerce/loop/pagination.php
    woodmart/woocommerce/loop/sale-flash.php
    woodmart/woocommerce/myaccount/form-login.php
    woodmart/woocommerce/product-searchform.php
    woodmart/woocommerce/single-product/add-to-cart/grouped.php
    woodmart/woocommerce/single-product/add-to-cart/variable.php
    woodmart/woocommerce/single-product/meta.php
    woodmart/woocommerce/single-product/product-image.php
    woodmart/woocommerce/single-product/product-thumbnails.php
    woodmart/woocommerce/single-product/rating.php
    woodmart/woocommerce/single-product/related.php
    woodmart/woocommerce/single-product/sale-flash.php
    woodmart/woocommerce/single-product/tabs/tabs.php
    woodmart/woocommerce/single-product/title.php
    woodmart/woocommerce/single-product/up-sells.php
    woodmart/woocommerce/single-product.php

    ### Action Scheduler ###

    Tamamla: 1.340
    Oldest: 2021-11-23 19:35:01 +0000
    Newest: 2021-11-30 09:52:19 +0000

    Başarısız: 93
    Oldest: 2020-11-04 07:49:56 +0000
    Newest: 2021-10-11 13:08:29 +0000

    Bekleyen: 7
    Oldest: 2021-11-30 10:52:12 +0000
    Newest: 2021-12-05 19:58:09 +0000

    ### Status report information ###

    Generated at: 2021-11-30 12:53:08 +03:00
    `

    This is exactly the problem, the product is failing in sync and store linking.

    • This reply was modified 4 years, 2 months ago by faceofdeath.

    Hi there!

    Thanks for sending over your system status report!

    Here are a few things to try:

    • The wc_facebook_external_business_id WordPress option cannot be blank or contain non-Latin characters. It should look something like this for example: store-name-ouh3ylhlrnm0j
    • You can find the wc_facebook_external_business_id in a few ways – in the wp_options table in the database or
      on the options page in the website at https://<your-site>/wp-admin/options.php
    • Your default WooCommerce currency must be supported by Facebook. You can check here
    • I noticed you have a security plugin – WordFence. You can try temporarily disabling that to make sure it is not interfering with the communication between WooCommerce and Facebook

    Let us know how that goes!

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

The topic ‘Sorry, something went wrong. Sync Problem’ is closed to new replies.