• Resolved mrwweb

    (@mrwweb)


    We are noticing some issues with tax collection, and I think it may be related to out-of-date tax data. When I go to WooCommerce > Status, I can see that tax data was last updated 6 months ago. When I click the “Refresh” link, I get the error:

    An error occurred while refreshing service data.

    In the console, I get the following error:

    Failed to load resource: the server responded with a status of 500 ()

    /wp-json/wc/v1/connect/service-data-refresh

    Looking at the “Taxes Log” box on the same screen, I see three instances of this error:

    NOTICE Error retrieving the tax rates. Received (401): {“statusCode”:401,”error”:”Unauthorized”,”message”:”Invalid token”,”attributes”:{“error”:”Invalid token”}} (WCS Tax) CONTEXT: {“_legacy”:true}

    It seems like I should try refreshing our WordPress.com connection, but I cannot find any screen on which to do this. We are using WooCommerce and WooCommerce Tax but not Jetpack, WooPayments, or any other tools that might offer a connection. (The site has used Jetpack in the past.)

    How can I correctly refresh tax data?

    Site status report with some information redacted for privacy:

    ### WordPress Environment ###

    WordPress address (URL): https://{redacted}

    Site address (URL): https://{redacted}

    WC Version: 10.1.2

    Legacy REST API Package Version: The Legacy REST API plugin is not installed on this site.

    Action Scheduler Version: ✔ 3.9.3

    Log Directory Writable: ✔

    WP Version: 6.8.2

    WP Multisite: –

    WP Memory Limit: 768 MB

    WP Debug Mode: ✔

    WP Cron: ✔

    Language: en_US

    External object cache: ✔

    ### Server Environment ###

    Server Info: Apache

    Server Architecture: Linux 6.6.63-MCIclouder663-c9 x86_64

    PHP Version: 8.2.29

    PHP Post Max Size: 256 MB

    PHP Time Limit: 120

    PHP Max Input Vars: 3000

    cURL Version: 8.9.1

    OpenSSL/3.2.4

    SUHOSIN Installed: –

    MySQL Version: 8.0.41-32

    Max Upload Size: 256 MB

    Default Timezone is UTC: ✔

    fsockopen/cURL: ✔

    SoapClient: ✔

    DOMDocument: ✔

    GZip: ✔

    Multibyte String: ✔

    Remote Post: ✔

    Remote Get: ✔

    ### Database ###

    WC Database Version: 10.1.2

    WC Database Prefix: {redacted_prefix}_

    Total Database Size: 108.01MB

    Database Data Size: 84.29MB

    Database Index Size: 23.72MB

    {redacted_prefix}_woocommerce_sessions: Data: 0.87MB + Index: 0.02MB + Engine MyISAM

    {redacted_prefix}_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM

    {redacted_prefix}_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM

    {redacted_prefix}_woocommerce_downloadable_product_permissions: Data: 0.01MB + Index: 0.02MB + Engine MyISAM

    {redacted_prefix}_woocommerce_order_items: Data: 0.38MB + Index: 0.18MB + Engine MyISAM

    {redacted_prefix}_woocommerce_order_itemmeta: Data: 2.15MB + Index: 1.46MB + Engine MyISAM

    {redacted_prefix}_woocommerce_tax_rates: Data: 0.02MB + Index: 0.01MB + Engine MyISAM

    {redacted_prefix}_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.02MB + Engine MyISAM

    {redacted_prefix}_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM

    {redacted_prefix}_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM

    {redacted_prefix}_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM

    {redacted_prefix}_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM

    {redacted_prefix}_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM

    {redacted_prefix}_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM

    {redacted_prefix}_actionscheduler_actions: Data: 0.33MB + Index: 0.42MB + Engine InnoDB

    {redacted_prefix}_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB

    {redacted_prefix}_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB

    {redacted_prefix}_actionscheduler_logs: Data: 0.50MB + Index: 0.42MB + Engine InnoDB

    {redacted_prefix}_commentmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM

    {redacted_prefix}_comments: Data: 0.90MB + Index: 0.34MB + Engine MyISAM

    {redacted_prefix}_ed11y_dismissals: Data: 0.02MB + Index: 0.05MB + Engine InnoDB

    {redacted_prefix}_ed11y_results: Data: 0.02MB + Index: 0.00MB + Engine InnoDB

    {redacted_prefix}_ed11y_urls: Data: 0.02MB + Index: 0.03MB + Engine InnoDB

    {redacted_prefix}_et_social_stats: Data: 0.20MB + Index: 0.03MB + Engine MyISAM

    {redacted_prefix}_failed_jobs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM

    {redacted_prefix}_gf_addon_feed: Data: 0.01MB + Index: 0.00MB + Engine MyISAM

    {redacted_prefix}_gf_addon_payment_callback: Data: 0.02MB + Index: 0.02MB + Engine InnoDB

    {redacted_prefix}_gf_addon_payment_transaction: Data: 0.02MB + Index: 0.05MB + Engine InnoDB

    {redacted_prefix}_gf_draft_submissions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB

    {redacted_prefix}_gf_entry: Data: 1.52MB + Index: 0.16MB + Engine InnoDB

    {redacted_prefix}_gf_entry_meta: Data: 0.14MB + Index: 0.16MB + Engine InnoDB

    {redacted_prefix}_gf_entry_notes: Data: 0.06MB + Index: 0.03MB + Engine InnoDB

    {redacted_prefix}_gf_form: Data: 0.02MB + Index: 0.00MB + Engine InnoDB

    {redacted_prefix}_gf_form_meta: Data: 0.16MB + Index: 0.00MB + Engine InnoDB

    {redacted_prefix}_gf_form_revisions: Data: 0.05MB + Index: 0.03MB + Engine InnoDB

    {redacted_prefix}_gf_form_view: Data: 0.02MB + Index: 0.03MB + Engine InnoDB

    {redacted_prefix}_gf_rest_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB

    {redacted_prefix}_gravitysmtp_debug_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB

    {redacted_prefix}_gravitysmtp_event_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB

    {redacted_prefix}_gravitysmtp_event_tracking: Data: 0.02MB + Index: 0.02MB + Engine InnoDB

    {redacted_prefix}_gravitysmtp_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB

    {redacted_prefix}_gravitysmtp_suppressed_emails: Data: 0.02MB + Index: 0.03MB + Engine InnoDB

    {redacted_prefix}_iwp_backup_status: Data: 0.02MB + Index: 0.00MB + Engine InnoDB

    {redacted_prefix}_iwp_processed_iterator: Data: 0.02MB + Index: 0.00MB + Engine InnoDB

    {redacted_prefix}_jetpack_sync_queue: Data: 3.52MB + Index: 0.19MB + Engine InnoDB

    {redacted_prefix}_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM

    {redacted_prefix}_mailchimp_carts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM

    {redacted_prefix}_mailchimp_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB

    {redacted_prefix}_nf3_action_meta: Data: 0.04MB + Index: 0.01MB + Engine MyISAM

    {redacted_prefix}_nf3_actions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM

    {redacted_prefix}_nf3_chunks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM

    {redacted_prefix}_nf3_field_meta: Data: 0.13MB + Index: 0.02MB + Engine MyISAM

    {redacted_prefix}_nf3_fields: Data: 0.01MB + Index: 0.00MB + Engine MyISAM

    {redacted_prefix}_nf3_form_meta: Data: 0.02MB + Index: 0.00MB + Engine MyISAM

    {redacted_prefix}_nf3_forms: Data: 0.00MB + Index: 0.00MB + Engine MyISAM

    {redacted_prefix}_nf3_object_meta: Data: 23.70MB + Index: 0.19MB + Engine MyISAM

    {redacted_prefix}_nf3_objects: Data: 0.25MB + Index: 0.10MB + Engine MyISAM

    {redacted_prefix}_nf3_relationships: Data: 0.00MB + Index: 0.00MB + Engine MyISAM

    {redacted_prefix}_nf3_upgrades: Data: 0.10MB + Index: 0.00MB + Engine MyISAM

    {redacted_prefix}_nf_objectmeta: Data: 0.02MB + Index: 0.01MB + Engine MyISAM

    {redacted_prefix}_nf_objects: Data: 0.00MB + Index: 0.00MB + Engine MyISAM

    {redacted_prefix}_nf_relationships: Data: 0.00MB + Index: 0.00MB + Engine MyISAM

    {redacted_prefix}_ninja_forms_fav_fields: Data: 0.02MB + Index: 0.00MB + Engine MyISAM

    {redacted_prefix}_ninja_forms_fields: Data: 0.04MB + Index: 0.00MB + Engine MyISAM

    {redacted_prefix}_options: Data: 3.45MB + Index: 0.16MB + Engine InnoDB

    {redacted_prefix}_plugin_notes_plus: Data: 0.02MB + Index: 0.00MB + Engine InnoDB

    {redacted_prefix}_pmxe_exports: Data: 0.02MB + Index: 0.00MB + Engine InnoDB

    {redacted_prefix}_pmxe_google_cats: Data: 0.39MB + Index: 0.00MB + Engine InnoDB

    {redacted_prefix}_pmxe_posts: Data: 0.13MB + Index: 0.00MB + Engine InnoDB

    {redacted_prefix}_pmxe_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB

    {redacted_prefix}_pmxi_files: Data: 0.02MB + Index: 0.00MB + Engine InnoDB

    {redacted_prefix}_pmxi_geocoding: Data: 0.02MB + Index: 0.03MB + Engine InnoDB

    {redacted_prefix}_pmxi_hash: Data: 0.02MB + Index: 0.00MB + Engine InnoDB

    {redacted_prefix}_pmxi_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB

    {redacted_prefix}_pmxi_images: Data: 0.06MB + Index: 0.00MB + Engine InnoDB

    {redacted_prefix}_pmxi_imports: Data: 0.02MB + Index: 0.00MB + Engine InnoDB

    {redacted_prefix}_pmxi_posts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB

    {redacted_prefix}_pmxi_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB

    {redacted_prefix}_postmeta: Data: 32.24MB + Index: 14.42MB + Engine MyISAM

    {redacted_prefix}_posts: Data: 7.72MB + Index: 1.15MB + Engine MyISAM

    {redacted_prefix}_queue: Data: 0.00MB + Index: 0.00MB + Engine MyISAM

    {redacted_prefix}_redirection_404: Data: 0.64MB + Index: 0.12MB + Engine MyISAM

    {redacted_prefix}_redirection_groups: Data: 0.00MB + Index: 0.00MB + Engine MyISAM

    {redacted_prefix}_redirection_items: Data: 0.01MB + Index: 0.02MB + Engine MyISAM

    {redacted_prefix}_redirection_logs: Data: 0.06MB + Index: 0.02MB + Engine MyISAM

    {redacted_prefix}_sgs_log_events: Data: 2.02MB + Index: 2.02MB + Engine InnoDB

    {redacted_prefix}_sgs_log_visitors: Data: 0.08MB + Index: 0.09MB + Engine InnoDB

    {redacted_prefix}_shepherd_tec_tasks: Data: 0.02MB + Index: 0.05MB + Engine InnoDB

    {redacted_prefix}_tec_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB

    {redacted_prefix}_tec_kv_cache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB

    {redacted_prefix}_tec_occurrences: Data: 0.02MB + Index: 0.06MB + Engine InnoDB

    {redacted_prefix}_term_relationships: Data: 0.01MB + Index: 0.04MB + Engine MyISAM

    {redacted_prefix}_term_taxonomy: Data: 0.01MB + Index: 0.01MB + Engine MyISAM

    {redacted_prefix}_termmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM

    {redacted_prefix}_terms: Data: 0.01MB + Index: 0.03MB + Engine MyISAM

    {redacted_prefix}_usermeta: Data: 0.29MB + Index: 0.03MB + Engine MyISAM

    {redacted_prefix}_users: Data: 0.00MB + Index: 0.01MB + Engine MyISAM

    {redacted_prefix}_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB

    {redacted_prefix}_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB

    {redacted_prefix}_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB

    {redacted_prefix}_wc_customer_lookup: Data: 0.11MB + Index: 0.08MB + Engine InnoDB

    {redacted_prefix}_wc_download_log: Data: 0.00MB + Index: 0.01MB + Engine MyISAM

    {redacted_prefix}_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB

    {redacted_prefix}_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB

    {redacted_prefix}_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB

    {redacted_prefix}_wc_order_product_lookup: Data: 0.27MB + Index: 0.25MB + Engine InnoDB

    {redacted_prefix}_wc_order_stats: Data: 0.17MB + Index: 0.16MB + Engine InnoDB

    {redacted_prefix}_wc_order_tax_lookup: Data: 0.06MB + Index: 0.03MB + Engine InnoDB

    {redacted_prefix}_wc_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB

    {redacted_prefix}_wc_orders_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB

    {redacted_prefix}_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB

    {redacted_prefix}_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB

    {redacted_prefix}_wc_product_meta_lookup: Data: 0.02MB + Index: 0.11MB + Engine InnoDB

    {redacted_prefix}_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB

    {redacted_prefix}_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB

    {redacted_prefix}_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB

    {redacted_prefix}_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM

    {redacted_prefix}_wpmailsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB

    {redacted_prefix}_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB

    {redacted_prefix}_yoast_indexable: Data: 0.22MB + Index: 0.13MB + Engine InnoDB

    {redacted_prefix}_yoast_indexable_hierarchy: Data: 0.05MB + Index: 0.05MB + Engine InnoDB

    {redacted_prefix}_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB

    {redacted_prefix}_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB

    {redacted_prefix}_yoast_seo_links: Data: 0.09MB + Index: 0.04MB + Engine MyISAM

    {redacted_prefix}_yoast_seo_meta: Data: 0.01MB + Index: 0.02MB + Engine MyISAM

    ### Post Type Counts ###

    attachment: 415

    custom_css: 1

    et_pb_layout: 14

    iwp_log: 699

    jetpack_migration: 2

    mc4wp-form: 1

    nav_menu_item: 19

    nf_sub: 9409

    oembed_cache: 1

    page: 51

    post: 121

    product: 22

    product_variation: 37

    revision: 1067

    shop_coupon: 1

    shop_order: 1890

    shop_order_refund: 1

    tribe_events: 6

    tribe_venue: 1

    wp_block: 1

    wp_global_styles: 2

    wp_navigation: 4

    wp_template: 42

    wp_template_part: 2

    wp-help: 1

    ### Security ###

    Secure connection (HTTPS): ✔

    Hide errors from visitors: ✔

    ### Active Plugins (29) ###

    Akismet Anti-spam: Spam Protection: by Automattic - Anti-spam Team – 5.5

    Archived Post Status: by Joshua David Nelson – 0.3.11

    Buzzsprout Podcasting: by Buzzsprout – 1.8.7

    Yoast Duplicate Post: by Enrico Battocchi & Team Yoast – 4.5

    Editoria11y Accessibility Checker: by Princeton University

    WDS – 2.0.12

    Enhanced Embed Block for YouTube & Vimeo: by Mark Root-Wiley

    MRW Web Design – 1.3.0-alpha

    Site Kit by Google: by Google – 1.160.1

    Gravity Forms: by Gravity Forms – 2.9.16

    Gravity Forms Akismet Add-On: by Gravity Forms – 1.1.0

    Gravity Forms Constant Contact Add-On: by Gravity Forms – 1.8.0

    InfiniteWP - Client: by Revmakx – 1.13.3

    MRW Web Design Email Monitor: by Mark Root-Wiley – 2.0.0

    MRW Featured Image Focal Point: by Mark Root-Wiley – 0.1.0

    MRW User Last Login: by Mark Root-Wiley

    MRW Web Design – 1.0.0

    Plugin Notes Plus: by Jamie Bergen – 1.2.10

    Redirection: by John Godley – 5.5.2

    Speed Optimizer: by SiteGround – 7.7.2

    Security Optimizer: by SiteGround – 1.5.7

    Sucuri Security - Auditing, Malware Scanner and Hardening: by Sucuri Inc. – 2.3

    The Events Calendar: by The Events Calendar – 6.15.1

    UpdraftPlus - Backup/Restore: by TeamUpdraft

    DavidAnderson – 2.25.7.26

    Useful Block Styles: by Mark Root-Wiley

    Ryan Tvenge – 0.3.1

    Google Analytics for WooCommerce: by WooCommerce – 2.1.17

    WooCommerce PayPal Payments: by PayPal – 3.1.0

    WooCommerce Tax: by WooCommerce – 3.0.10 (update to version 3.0.11 is available)

    WooCommerce: by Automattic – 10.1.2

    Yoast SEO: by Team Yoast – 25.8

    WP Help: by Mark Jaquith – 1.7.5

    WP Mail SMTP: by WP Mail SMTP – 4.6.0

    ### Inactive Plugins (1) ###

    Gravity SMTP: by Gravity Forms – 1.9.3

    ### Dropin Plugins () ###

    advanced-cache.php: advanced-cache.php

    object-cache.php: Memcached

    ### Must Use Plugins (4) ###

    CLIENT Custom Functionality Plugin: by Mark Root-Wiley

    MRW Web Design – 1.0

    InfiniteWP - Client Loader: by Revmakx – 1.0.1

    Modifications to plugin behavior and output: by Mark Root-Wiley

    MRW Web Design – 1.0.0

    MRW Functionality Plugin: by Mark Root-Wiley

    MRW Web Design – 1.0

    ### Settings ###

    Legacy 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: –

    HPOS feature enabled: –

    Order datastore: WC_Order_Data_Store_CPT

    HPOS data sync enabled: –

    Enabled Features: analytics

    marketplace

    order_attribution

    site_visibility_badge

    remote_logging

    email_improvements

    blueprint

    point_of_sale

    ### Logging ###

    Enabled: ✔

    Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2

    Retention period: 30 days

    Level threshold: –

    Log directory size: 37 KB

    ### WC Pages ###

    Shop base: ❌ Page visibility should be public

    Cart: #3951 - /cart/ -  Contains the woocommerce/cart block

    Checkout: #3952 - /checkout/ -  Contains the woocommerce/checkout block

    My account: #3953 - /my-account/ -  This page's content is overridden by custom template content

    Terms and conditions: #464199 - /terms-conditions/

    ### Theme ###

    Name: Ollie Child for {client}

    Version: 1.0.0

    Author URL: https://MRWweb.com

    Child Theme: ✔

    Parent Theme Name: Ollie

    Parent Theme Version: 1.5.2

    Parent Theme Author URL: http://mikemcalister.com

    Theme type: Block theme

    WooCommerce Support: ❌ Not declared

    ### Templates ###

    Overrides: /home/customer/www/{redacted}/public_html/wp-content/plugins/woocommerce/templates/block-notices/error.php

    /home/customer/www/{redacted}/public_html/wp-content/plugins/woocommerce/templates/block-notices/notice.php

    /home/customer/www/{redacted}/public_html/wp-content/plugins/woocommerce/templates/block-notices/success.php

    {child-theme}/templates/archive-product.html

    {child-theme}/templates/coming-soon.html

    {child-theme}/templates/order-confirmation.html

    {child-theme}/templates/page-cart.html

    {child-theme}/templates/page-checkout.html

    {child-theme}/templates/product-search-results.html

    {child-theme}/templates/single-product.html

    {child-theme}/templates/taxonomy-product_attribute.html

    {child-theme}/templates/taxonomy-product_brand.html

    {child-theme}/templates/taxonomy-product_cat.html

    {child-theme}/templates/taxonomy-product_tag.html

    ### WooCommerce PayPal Payments ###

    Onboarded: ✔

    Branded only: –

    New UI active: –

    Shop country code: US

    WooCommerce currency supported: ✔

    Advanced Card Processing available in country: ✔

    Pay Later messaging available in country: ✔

    Webhook status: ✔

    PayPal Vault enabled: –

    ACDC Vault enabled: –

    Logging enabled: –

    Reference Transactions: –

    Used PayPal Checkout plugin: ✔

    Subscriptions Mode: Disabled

    PayPal Shipping Callback: –

    Apple Pay: –

    Google Pay: ✔

    Fastlane: –

    ### Admin ###

    Enabled Features: activity-panels

    analytics

    product-block-editor

    coupons

    core-profiler

    customize-store

    customer-effort-score-tracks

    import-products-task

    experimental-fashion-sample-products

    shipping-smart-defaults

    shipping-setting-tour

    homescreen

    marketing

    mobile-app-banner

    onboarding

    onboarding-tasks

    pattern-toolkit-full-composability

    product-custom-fields

    remote-inbox-notifications

    remote-free-extensions

    payment-gateway-suggestions

    printful

    shipping-label-banner

    subscriptions

    store-alerts

    transient-notices

    woo-mobile-welcome

    wc-pay-promotion

    wc-pay-welcome-page

    launch-your-store

    add-to-cart-with-options-stepper-layout

    Disabled Features: product-data-views

    experimental-blocks

    experimental-iapi-mini-cart

    experimental-iapi-runtime

    coming-soon-newsletter-template

    minified-js

    product-pre-publish-modal

    settings

    async-product-editor-category-field

    product-editor-template-system

    use-wp-horizon

    experimental-wc-rest-api

    Daily Cron: ✔ Next scheduled: 2025-09-09 14:00:08 -07:00

    Options: ✔

    Notes: 35

    Onboarding: completed

    ### Action Scheduler ###

    Complete: 545

    Oldest: 2025-08-08 15:55:45 -0700

    Newest: 2025-09-08 13:40:20 -0700

    Failed: 1

    Oldest: 2023-12-06 15:26:48 -0800

    Newest: 2023-12-06 15:26:48 -0800

    Pending: 14

    Oldest: 2025-09-08 14:26:00 -0700

    Newest: 2025-09-18 09:21:16 -0700

    ### Status report information ###

    Generated at: 2025-09-08 14:21:54 -07:00
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support LovingBro (woo-hc)

    (@lovingbro)

    Hi @mrwweb,

    I understand how confusing it is to see tax updates fail with an invalid token message, especially when you are trying to get rates current again. Let us walk through the quickest ways to restore the connection and refresh your tax data.

    Try these steps in order

    1. Update the WooCommerce Tax plugin You are on 3.0.10, please update to 3.0.11, then retry the refresh from WooCommerce, Status. Guide, https://woocommerce.com/document/woocommerce-shipping-and-tax/woocommerce-tax/
    2. Reconnect your site to WooCommerce dot com The 401 Invalid token indicates the site is no longer authenticated. Go to WooCommerce, Settings, Advanced, WooCommerce.com. If it shows connected, click Disconnect, then Connect, and complete the sign in with the WordPress.com account used for your WooCommerce.com purchases. How to connect your site, https://woocommerce.com/document/managing-woocommerce-com-subscriptions/#connect-your-site-woocommercecom-account
    3. Clear the WooCommerce.com caches, then refresh service data Go to WooCommerce, Status, Tools, run Clear WooCommerce.com caches. Return to WooCommerce, Status and click Refresh in the WooCommerce Tax box.
    4. Confirm automated taxes is enabled and store address is complete Go to WooCommerce, Settings, Tax, enable Automated taxes. Go to WooCommerce, Settings, General, set your full store address, city, postcode, and country. Overview, https://woocommerce.com/document/woocommerce-shipping-and-tax/woocommerce-tax/#automated-tax-calculation
    5. Check that nothing is blocking the REST request Security or firewall tools can block calls to the WooCommerce services. Whitelist your own site’s REST API path wp json, and allow outbound requests to WooCommerce services. Ensure you can visit https, yoursite.com/wp-json in a browser without a block page.

    If the refresh still fails

    • Please share a screenshot of WooCommerce, Settings, Advanced, WooCommerce.com showing the connection state, via https://snipboard.io

    • Copy any recent entries from WooCommerce, Status, Logs where the source is WooCommerce Tax, and paste them to https://pastebin.com or https://gist.github.com, then share the link

    • After one more Refresh attempt, note the exact timestamp and paste the matching entry from WooCommerce, Status, WooCommerce.com logs if present

    Once the connection is re established, the Refresh link should complete without the 401 message and your tax tables will update. Feel free to let us know how it goes.

    Thread Starter mrwweb

    (@mrwweb)

    Thanks for all these tips, @lovingbro! I believe I’ve run through every step you’ve suggested that we can follow, and here’s what we found. In short, we still have the problem and there doesn’t appear to be a way to reset the WP.com/WC.com connection.

    1. Update the WooCommerce Tax plugin

      Completed. Did not resolve issue

      2. Reconnect your site to WooCommerce dot com from WooCommerce, Settings, Advanced, WooCommerce.com

        We do not have a disconnect or reconnect button on that screen. Here is all we see. It seems like the site doesn’t have a way to manage the currently active connection.

        We tried connecting on the WooCommerce > Extensions page, but that did not help. Note: the documentation link you shared recommends that path and not the WC > Settings > Advanced > WooCommerce.com path.

        3. Clear the WooCommerce.com caches, then refresh service data

        Did not work.

        I also tried clicking the “Test WooCommerce.com connection” button which reported: “ERROR: Your site has a problem connecting to the WooCommerce Tax API. Please make sure your WordPress.com connection is working.”

        4. Confirm automated taxes is enabled and store address is complete

        Confirmed. The store has consistently been charging sales tax for some transactions, but there are some within our tax nexus state on taxable products that are not being taxed.

        5. Check that nothing is blocking the REST request Security or firewall tools can block calls to the WooCommerce services. Ensure you can visit https, yoursite.com/wp-json in a browser without a block page.

        The site uses the Sucuri firewall, but I can see the request to the tax service endpoint is not blocked (it returns a 500 and not a 403).

        We can go to {oursite}.com/wp-json/

        Copy any recent entries from WooCommerce, Status, Logs where the source is WooCommerce Tax, and paste

        There are lots and lots of entries. Here’s the last three. There seems to only be the one error.

        Plugin Support Frank Remmy (woo-hc)

        (@frankremmy)

        Hi @mrwweb,

        Thanks so much for the detailed follow-up, and I really appreciate how thoroughly you’ve worked through each step.

        Based on the repeated 401 Unauthorized errors and the _legacy: true context in your logs, it does look like the site is still relying on an outdated or broken authentication token to reach the WooCommerce Tax API. Since you’re not seeing a way to disconnect or reconnect options and attempts via the Extensions page haven’t helped, this suggests the connection layer may be stuck in a legacy state. Here’s what we can do next:

        • Please share a screenshot of what you see in your WooCommerce.com connection screen.
        • Since the site used Jetpack in the past, reactivating it briefly may help re-establish the WordPress.com connection that WooCommerce Tax relies on. Once the connection is restored, you can safely deactivate Jetpack again.
        • Make sure the WordPress.com account you’re using is the one associated with your WooCommerce.com purchases. If the site was previously connected under a different account, that could explain the token mismatch.

        I hope that helps. Let us know if you need anything else.

        Thread Starter mrwweb

        (@mrwweb)

        Thanks @frankremmy. It appears that installing Jetpack and connecting through there, let us update tax data!

        For reference:

        • Here is what we were seeing on the WooCommerce.com Advanced settings screen
        • We don’t have any WooCommerce.com purchases, so I don’t think using the correct account was the issue. However, we were careful to use the same account we’ve used in the past to connect to Jetpack.
        Plugin Support LovingBro (woo-hc)

        (@lovingbro)

        Hi @mrwweb,

        That’s great to hear, I’m glad reactivating Jetpack and reconnecting helped you refresh the tax data successfully. Thank you as well for sharing the details of what worked, this insight will be useful to other store owners who might run into a similar situation.

        If WooCommerce Tax has been helpful for your store and you’re satisfied with the support you received, we’d really appreciate it if you could leave a quick review here: https://wordpress.org/support/plugin/woocommerce-services/reviews/#new-post

        Feel free to open a new forum topic if you run into any other problem.

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

      You must be logged in to reply to this topic.