Connection Error: Error Code: invalid_request
-
We are trying to connect a client’s store to WordPress so we can setup USPS shipping label creation. Everytime we try to connect we get:
Invalid request, please go back and try again.
Error Code: invalid_request
Error Message: The URL stored by the Jetpack servers does not match your site. Please try disabling the Jetpack plugin, re-enable it, then connect again.I have deactivated/reactivated, as well as completely removed and reinstalled.
Any help would be appreciated! TIA!
-
Hey there, @gnetconsulting! Thanks for contacting us. I’m happy to help you.
Can you please try reconnecting Jetpack?
Are all your plugins updated? What about your WordPress version?
If that doesn’t help, kindly share the following for further troubleshooting steps:
- System Status Report which you can find via
WooCommerce > Status > Get system report > Copy for support
. - Fatal error logs (if any) under WooCommerce > Status > Logs.
Looking forward to your reply.
Have a wonderful day!
We do not have Jetpack installed. I tried all of the options to disconnect, but none of them exist on the site, and this site doesn’t currently have a WordPress.com account.
All plug-ins and themes are current and up-to-date.
Here’s the support log
` WordPress Environment WordPress address (URL): https://crawlstreet.com Site address (URL): https://crawlstreet.com WC Version: 8.7.0 REST API Version: ? 8.7.0 Action Scheduler Version: ? 3.7.2 Log Directory Writable: ? WP Version: 6.4.3 WP Multisite: – WP Memory Limit: 768 MB WP Debug Mode: – WP Cron: – Language: en_US External object cache: – Server Environment Server Info: Apache PHP Version: 7.4.33 PHP Post Max Size: 256 MB PHP Time Limit: 120 PHP Max Input Vars: 3000 cURL Version: 8.2.1 OpenSSL/3.1.1 SUHOSIN Installed: – MySQL Version: 5.7.44-48-log Max Upload Size: 256 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? Database WC Database Version: 8.7.0 WC Database Prefix: csd_ Total Database Size: 25.51MB Database Data Size: 22.73MB Database Index Size: 2.78MB csd_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB csd_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB csd_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB csd_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB csd_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB csd_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB csd_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB csd_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB csd_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB csd_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB csd_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB csd_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB csd_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB csd_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB csd_actionscheduler_actions: Data: 0.09MB + Index: 0.11MB + Engine InnoDB csd_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB csd_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB csd_actionscheduler_logs: Data: 0.08MB + Index: 0.03MB + Engine InnoDB csd_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB csd_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB csd_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB csd_options: Data: 3.36MB + Index: 0.08MB + Engine InnoDB csd_postmeta: Data: 0.28MB + Index: 0.23MB + Engine InnoDB csd_posts: Data: 17.52MB + Index: 0.13MB + Engine InnoDB csd_pum_subscribers: Data: 0.02MB + Index: 0.06MB + Engine InnoDB csd_redirection_404: Data: 0.02MB + Index: 0.05MB + Engine InnoDB csd_redirection_groups: Data: 0.02MB + Index: 0.03MB + Engine InnoDB csd_redirection_items: Data: 0.02MB + Index: 0.09MB + Engine InnoDB csd_redirection_logs: Data: 0.02MB + Index: 0.05MB + Engine InnoDB csd_sgs_log_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB csd_sgs_log_visitors: Data: 0.02MB + Index: 0.03MB + Engine InnoDB csd_tec_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB csd_tec_occurrences: Data: 0.02MB + Index: 0.03MB + Engine InnoDB csd_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB csd_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB csd_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB csd_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB csd_usermeta: Data: 0.05MB + Index: 0.03MB + Engine InnoDB csd_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB csd_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB csd_wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB csd_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB csd_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB csd_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB csd_wc_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB csd_wc_orders_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB csd_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB csd_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB csd_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB csd_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB csd_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB csd_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB csd_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB csd_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB csd_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB csd_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB csd_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB csd_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB csd_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB csd_wpforms_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB csd_wpforms_payments: Data: 0.02MB + Index: 0.14MB + Engine InnoDB csd_wpforms_payment_meta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB csd_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB csd_wpmailsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB csd_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB csd_yoast_indexable: Data: 0.02MB + Index: 0.09MB + Engine InnoDB csd_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + Engine InnoDB csd_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB csd_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB csd_yoast_seo_links: Data: 0.02MB + Index: 0.03MB + Engine InnoDB Post Type Counts attachment: 47 custom_css: 2 customize_changeset: 12 gp_elements: 13 nav_menu_item: 33 page: 15 popup: 2 popup_theme: 8 post: 2 product: 7 product_variation: 42 revision: 402 wp_global_styles: 1 wp_navigation: 5 wp_template: 2 wpforms: 1 Security Secure connection (HTTPS): ? Hide errors from visitors: ? Active Plugins (21) Disable Comments: by WPDeveloper – 2.4.5 Yoast Duplicate Post: by Enrico Battocchi & Team Yoast – 4.5 Event Tickets: by The Events Calendar – 5.8.3 FooBar WordPress Notifications: by FooPlugins – 2.1.32 GenerateBlocks Pro: by Tom Usborne – 1.6.0 GenerateBlocks: by Tom Usborne – 1.8.3 GP Premium: by Tom Usborne – 2.4.0 Popup Maker: by Popup Maker – 1.18.5 Popup Maker - MailChimp Integration: by Popup Maker – 1.3.5 Redirection: by John Godley – 5.4.2 Speed Optimizer: by SiteGround – 7.4.6 Security Optimizer: by SiteGround – 1.4.12 The Events Calendar: by The Events Calendar – 6.3.5 UpdraftPlus - Backup/Restore: by UpdraftPlus.Com DavidAnderson – 1.24.1 WooCommerce Stripe Gateway: by WooCommerce – 8.0.1 WooCommerce Shipping & Tax: by WooCommerce – 2.5.3 WooCommerce USPS Shipping: by WooCommerce – 4.8.2 WooCommerce: by Automattic – 8.7.0 Yoast SEO: by Team Yoast – 22.3 WP Mail SMTP: by WP Mail SMTP – 4.0.1 WPForms Lite: by WPForms – 1.8.7.2 Inactive Plugins (0) Dropin Plugins () 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 Woo.com: – Enforce Approved Product Download Directories: ? HPOS feature screen enabled: ? HPOS feature enabled: ? Order datastore: Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore HPOS data sync enabled: – Logging Enabled: ? Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2 Retention period: 30 days Level threshold: – Log directory size: 3 KB WC Pages Shop base: #7 - /shop/ Cart: ? Page does not contain the [woocommerce_cart] shortcode or the woocommerce/cart block. Checkout: ? Page does not contain the [woocommerce_checkout] shortcode or the woocommerce/checkout block. My account: #10 - /my-account/ Terms and conditions: #1481 - /terms-and-conditions/ Theme Name: GeneratePress Child Version: 0.1 Author URL: https://tomusborne.com Child Theme: ? Parent Theme Name: GeneratePress Parent Theme Version: 3.4.0 Parent Theme Author URL: https://tomusborne.com WooCommerce Support: ? Templates Overrides: – Admin Enabled Features: activity-panels analytics product-block-editor coupons core-profiler customer-effort-score-tracks import-products-task experimental-fashion-sample-products shipping-smart-defaults shipping-setting-tour homescreen marketing mobile-app-banner navigation onboarding onboarding-tasks product-variation-management product-virtual-downloadable product-external-affiliate product-grouped product-linked remote-inbox-notifications remote-free-extensions payment-gateway-suggestions shipping-label-banner subscriptions store-alerts transient-notices woo-mobile-welcome wc-pay-promotion wc-pay-welcome-page Disabled Features: customize-store minified-js new-product-management-experience product-pre-publish-modal settings async-product-editor-category-field Daily Cron: ? Next scheduled: 2024-03-20 15:15:31 +00:00 Options: ? Notes: 71 Onboarding: skipped Action Scheduler Complete: 183 Oldest: 2024-03-11 14:34:50 +0000 Newest: 2024-03-20 14:32:44 +0000 Failed: 8 Oldest: 2024-03-11 14:34:50 +0000 Newest: 2024-03-18 15:40:09 +0000 Pending: 8 Oldest: 2024-03-20 15:45:02 +0000 Newest: 2024-03-25 15:40:09 +0000 Status report information Generated at: 2024-03-20 15:00:15 +00:00 `
There are no fatal error logs.
Thanks!
Hey, @gnetconsulting! Thanks for the report and information.
and this site doesn’t currently have a WordPress.com account.
Please note that a WordPress.com account is needed to use extensions from Woo.com, including Shipping & Tax, as you can see here.
Can you please follow the steps on this link to connect the same WordPress.com you use on Woo.com on this site to see if you are able to complete the connection?
Please let us know how it goes.
Looking forward to your reply.
Have a wonderful day!
That’s what we are trying to do. We have (re)installed the plugin and we click the blue “Connect” button in Woocommerce so that we can create our account. This is when we get the error.
Are you saying we first have to create the account before we can connect? If so, do we need an account on Woo.com? Or WordPress.com?
Please advise.
Hey, @gnetconsulting!
Are you saying we first have to create the account before we can connect? If so, do we need an account on Woo.com? Or WordPress.com?
Yes, please create an account and try connecting.
Woo.com and WordPress.com are the same account, so you can create it on either website. To make it easier for you, let me share the direct link: https://woo.com/start
The connection to?WordPress.com is managed by Jetpack. Although the Jetpack plugin itself is not required, one workaround you can try is to install the plugin and initiate the connection through it after creating the account. Now, when you return to the setup process, you should see your account already connected to WordPress.com.
Please let us know how it goes.
Looking forward to your reply.
Have a wonderful day!
I will have the client do this and follow-up. Thanks.
Hi @gnetconsulting,
Please have your client create the account, and don’t hesitate to reach out if.
We’re here to help.
The client finally created the account, but we still get the same error when trying to connect.
Which Jetpack plugin exactly should we install to try to connect using it? When we search we see a bunch of different ones.
Thanks!
Disregard. I installed the Jetpack plugin, it migrated the site and now I can connect.
Thanks!
Hey, @gnetconsulting!
I’m glad to hear this!
Since you were able to connect, I’ll close this thread now, okay?
Please let us know if there’s anything else we can do to help or if you have any questions.
Have a wonderful day!
- System Status Report which you can find via
- The topic ‘Connection Error: Error Code: invalid_request’ is closed to new replies.