• Resolved carboxyalic

    (@raheemmurtaza)


    Hi,

    Im getting this error while manually syncing my woo commerce inventory to square. Here is the detailed error log:

    07-14-2022 @ 10:29:42 - Request
     Request
    method:
    uri: batchUpsertCatalogObjects
    user-agent: WooCommerce-Square/3.1.0 (WooCommerce/6.7.0; WordPress/6.0.1)
    headers: Array
    (
    )
    body:
    duration: 11.42783s
    
    07-14-2022 @ 10:29:42 - Response
     Response
    code: 429
    message:
    headers: Array
    (
        [0] => HTTP/1.1 429 Too Many Requests
        [Date] => Thu, 14 Jul 2022 16:29:42 GMT
        [Content-Type] => application/json
        [Content-Length] => 132
        [Connection] => keep-alive
        [Content-Encoding] => gzip
        [Square-Version] => 2021-10-20
        [Vary] => Origin, Accept-Encoding
        [X-Content-Type-Options] => nosniff
        [X-Download-Options] => noopen
        [X-Frame-Options] => SAMEORIGIN
        [X-Permitted-Cross-Domain-Policies] => none
        [X-Speleo-Traceid] => BGeYehZCGFGjj
        [X-Xss-Protection] => 1; mode=block
        [X-Sq-Dc] => sjc2b
        [X-Sq-Region] => sjc2b
        [Strict-Transport-Security] => max-age=631152000; includeSubDomains; preload
    )
    body: Array
    (
        [0] => Square\Models\Error Object
            (
                [category:Square\Models\Error:private] => RATE_LIMIT_ERROR
                [code:Square\Models\Error:private] => RATE_LIMITED
                [detail:Square\Models\Error:private] => This request was rate limited. Please retry later.
                [field:Square\Models\Error:private] => 
            )
    
    )
    
    07-14-2022 @ 10:29:42 - Failed step cycle: update_matched_products (37.13s) -

    Here is my system status report:

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://knotjustyarn.com
    Site address (URL): https://knotjustyarn.com
    WC Version: 6.7.0
    REST API Version: ✔ 6.7.0
    WC Blocks Version: ✔ 7.8.3
    Action Scheduler Version: ✔ 3.4.0
    Log Directory Writable: ✔
    WP Version: 6.0.1
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: en_US
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache/2.4.25 (Debian)
    PHP Version: 7.3.33-4+0~20220627.98+debian9~1.gbp40b3e4
    PHP Post Max Size: 10 MB
    PHP Time Limit: 1200
    PHP Max Input Vars: 2500
    cURL Version: 7.52.1
    OpenSSL/1.0.2u
    
    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.1.48-MariaDB-1~stretch
    Max Upload Size: 10 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 6.7.0
    WC Database Prefix: wp_
    Total Database Size: 290.18MB
    Database Data Size: 186.28MB
    Database Index Size: 103.90MB
    wp_woocommerce_sessions: Data: 3.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_order_items: Data: 0.09MB + Index: 0.05MB + Engine InnoDB
    wp_woocommerce_order_itemmeta: Data: 0.50MB + Index: 0.41MB + Engine InnoDB
    wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_actions: Data: 31.56MB + Index: 30.08MB + Engine InnoDB
    wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_logs: Data: 46.58MB + Index: 23.06MB + Engine InnoDB
    wp_amwscp_amazon_accounts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_amwscp_amazon_feeds: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_amwscp_amazon_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_amwscp_feeds: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_amwscp_feed_product_record: Data: 0.25MB + Index: 0.00MB + Engine InnoDB
    wp_amwscp_orders: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_amwscp_template_values: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_bv_fw_requests: Data: 2.52MB + Index: 0.00MB + Engine InnoDB
    wp_bv_ip_store: Data: 0.17MB + Index: 0.11MB + Engine InnoDB
    wp_bv_lp_requests: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_comments: Data: 1.31MB + Index: 0.36MB + Engine InnoDB
    wp_ddp_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_fsmpt_email_logs: Data: 3.02MB + Index: 0.00MB + Engine InnoDB
    wp_inventory_setting: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_inventory_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_inventory_terms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_options: Data: 19.20MB + Index: 7.03MB + Engine InnoDB
    wp_postmeta: Data: 46.56MB + Index: 27.70MB + Engine InnoDB
    wp_posts: Data: 7.47MB + Index: 3.39MB + Engine InnoDB
    wp_redirection_404: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_redirection_groups: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_redirection_items: Data: 0.11MB + Index: 0.16MB + Engine InnoDB
    wp_redirection_logs: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_termmeta: Data: 0.09MB + Index: 0.11MB + Engine InnoDB
    wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_term_relationships: Data: 0.23MB + Index: 0.13MB + Engine InnoDB
    wp_term_taxonomy: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
    wp_usermeta: Data: 1.09MB + Index: 0.03MB + Engine InnoDB
    wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wc_admin_notes: Data: 0.08MB + Index: 0.00MB + Engine InnoDB
    wp_wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
    wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_customer_lookup: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_product_lookup: Data: 0.08MB + Index: 0.06MB + Engine InnoDB
    wp_wc_order_stats: Data: 0.06MB + Index: 0.05MB + Engine InnoDB
    wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_product_meta_lookup: Data: 1.52MB + Index: 1.64MB + Engine InnoDB
    wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wfpklist_template_data: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_square_customers: Data: 1.52MB + Index: 0.00MB + Engine InnoDB
    wp_wpda_csv_uploads: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpda_logging: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpda_media: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpda_menus: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpda_project: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wpda_project_page: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wpda_project_table: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpda_publisher: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wpda_table_design: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpda_table_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpfm_backup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wp_phpmyadmin_extension__errors_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yoast_indexable: Data: 15.44MB + Index: 6.47MB + Engine InnoDB
    wp_yoast_indexable_hierarchy: Data: 2.27MB + Index: 1.91MB + Engine InnoDB
    wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yoast_primary_term: Data: 0.09MB + Index: 0.09MB + Engine InnoDB
    wp_yoast_seo_links: Data: 0.08MB + Index: 0.03MB + Engine InnoDB
    wp_yoast_seo_meta: Data: 0.11MB + Index: 0.00MB + Engine InnoDB
    
    ### Post Type Counts ###
    
    acf-field: 33
    acf-field-group: 4
    attachment: 7417
    flamingo_contact: 15
    flamingo_inbound: 1
    nav_menu_item: 22
    page: 16
    post: 11
    product: 782
    product_variation: 5057
    revision: 637
    shop_coupon: 18
    shop_order: 543
    shop_order_refund: 46
    tribe_events: 501
    tribe_organizer: 2
    tribe_venue: 2
    wc_stamps_label: 157
    wp_global_styles: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔
    
    ### Active Plugins (26) ###
    
    Advanced Custom Fields PRO: by Delicious Brains – 5.12.2
    Breeze: by Cloudways – 2.0.6
    Delivery Fees for WooCommerce: by Devio Digital – 1.5.1
    The Events Calendar PRO: by The Events Calendar – 5.14.3
    Facebook for WooCommerce: by Facebook – 2.6.17
    Flexible Shipping: by Octolize – 4.13.0
    FluentSMTP: by FluentSMTP & WPManageNinja Team – 2.1.2
    Jetpack: by Automattic – 11.1.1
    Klaviyo: by Klaviyo
    Inc. – 3.0.3
    
    MalCare WordPress Security Plugin - Malware Scanner, Cleaner, Security Firewall: by MalCare Security – 4.78
    Pinterest for WooCommerce: by WooCommerce – 1.2.1
    WooCommerce PDF Invoices, Packing Slips, Delivery Notes and Shipping Labels: by WebToffee – 3.0.2
    Redirection: by John Godley – 5.2.3
    The Events Calendar: by The Events Calendar – 5.16.2.1
    CTX Feed: by WebAppick – 4.4.68
    WooCommerce PayPal Payments: by WooCommerce – 1.9.0
    WooCommerce Shipping & Tax: by WooCommerce – 1.26.2
    WooCommerce Stamps.com API integration: by WooCommerce – 1.3.26
    WooCommerce Square Helper: by WooCommerce – 1.1
    WooCommerce Square: by WooCommerce – 3.1.0
    WooCommerce: by Automattic – 6.7.0
    Yoast SEO: by Team Yoast – 19.3
    WP Data Access: by Passionate Programmers B.V. – 5.2.1
    WP Last Modified Info: by Sayan Datta – 1.8.3
    WP phpMyAdmin: by Puvox.software – 5.2.0.3
    WP Rollback: by GiveWP.com – 1.7.1
    
    ### Inactive Plugins (0) ###
    
    ### Dropin Plugins (1) ###
    
    advanced-cache.php: advanced-cache.php
    
    ### Settings ###
    
    API Enabled: ✔
    Force SSL: –
    Currency: USD ($)
    Currency Position: left
    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: ✔
    Enforce Approved Product Download Directories: –
    
    ### WC Pages ###
    
    Shop base: #31 - /shop/
    Cart: #32 - /cart/
    Checkout: #33 - /checkout/
    My account: #34 - /my-account/
    Terms and conditions: ❌ Page not set
    
    ### Theme ###
    
    Name: storefront child theme
    Version: 1.0
    Author URL: 
    Child Theme: ✔
    Parent Theme Name: Storefront
    Parent Theme Version: 4.1.0 – 4.1.1 is available
    Parent Theme Author URL: https://woocommerce.com/
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: –
    
    ### WooCommerce PayPal Payments ###
    
    Onboarded: ✔
    Shop country code: US
    WooCommerce currency supported: ✔
    PayPal card processing available in country: ✔
    Pay Later messaging available in country: ✔
    Webhook status: –
    Vault enabled: ✔
    Logging enabled: –
    Reference Transactions: –
    Used PayPal Checkout plugin: –
    
    ### Square ###
    
    Environment: Production
    Tokenization Enabled: 
    Debug Mode: Off
    
    ### Admin ###
    
    Enabled Features: activity-panels
    analytics
    coupons
    customer-effort-score-tracks
    experimental-products-task
    experimental-import-products-task
    experimental-fashion-sample-products
    experimental-product-tour
    homescreen
    marketing
    mobile-app-banner
    navigation
    onboarding
    onboarding-tasks
    remote-inbox-notifications
    remote-free-extensions
    payment-gateway-suggestions
    shipping-label-banner
    subscriptions
    store-alerts
    transient-notices
    wc-pay-promotion
    wc-pay-welcome-page
    wc-pay-subscriptions-page
    
    Disabled Features: minified-js
    settings
    
    Daily Cron: ✔ Next scheduled: 2022-07-14 20:14:07 -06:00
    Options: ✔
    Notes: 74
    Onboarding: completed
    
    ### Action Scheduler ###
    
    Canceled: 75
    Oldest: 2022-06-24 07:28:06 -0600
    Newest: 2022-07-13 05:16:48 -0600
    
    Complete: 81,885
    Oldest: 2022-06-24 06:46:39 -0600
    Newest: 2022-07-14 10:35:11 -0600
    
    Failed: 8,440
    Oldest: 2021-11-17 16:47:35 -0700
    Newest: 2022-06-24 08:39:48 -0600
    
    Pending: 10
    Oldest: 2022-07-14 10:40:08 -0600
    Newest: 2022-07-20 08:24:55 -0600
    
    ### Status report information ###
    
    Generated at: 2022-07-14 10:36:14 -06:00
    

    Hope i can get this resolved asap looking forward to response !!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Mirko P.

    (@rainfallnixfig)

    Hi @raheemmurtaza!

    Thanks for reaching out.

    [category:Square\Models\Error:private] => RATE_LIMIT_ERROR
    [code:Square\Models\Error:private] => RATE_LIMITED
    [detail:Square\Models\Error:private] => This request was rate limited. Please retry later.

    Background processing is required to successfully sync product data between Square and WooCommerce. It sounds like your host is mitigating increased server usage with rate limiting.

    Can you please contact your host’s support team and let them know there is no security issue with the syncing process and ask them to enable background processing/loopback connections?

    Cheers!

    Thread Starter carboxyalic

    (@raheemmurtaza)

    Thanks!

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

The topic ‘RATE_LIMIT_ERROR’ is closed to new replies.