• Resolved meesh312

    (@meesh312)


    I’m trying to add a product to my printful store which is connected to Woocommerce on my wordpress site.

    I have done this multiple times with other sites, even using the same web host. but for some reason, this time it doesn’t work. I even purchased a new domain and attempted to install/create a new site and store, but the connection is still unsuccessful.

    I’ve been researching these forums, other forums, chatting with printful support and my web host support for the past 3 days trying to figure this out.

    When i visit https://actionautowerks.com/wc-auth/v1/authorize (url + /wc-auth/v1/authorize ) i get an error message that says Error: Missing parameter app_name. and the top of the page says “Access denied”. is this normal?

    Here is the error I get from the Printful website when i try to add a product:

    Product was not added!
    500 Internal Server Error occurred! Please check your server logs for a detailed issue description.
    CODE: G391685628

    Here is the status report from the Printful Integration wordpress plugin:

    Name	Description	Status
    Connection to Printful API	Is your store successfully connected to Printful API?	OK
    Printful API key is set	Your store needs access to Printful API to use most of it's features like shipping rates, tax rates and other settings.	OK
    WordPress Permalinks	WooCommerce API will not work unless your permalinks in Settings > Permalinks are set up correctly. Make sure you that they are NOT set to "plain".	OK
    WordPress version	WordPress should always be updated to the latest version. Updates can be installed from your WordPress admin dashboard.	OK
    WooCommerce Webhooks	Printful requires WooCommerce webhooks to be set up to quickly capture you incoming orders, products updates etc.	OK
    WooCommerce API keys are set	Printful needs access to your WooCommerce API for the integration to work - otherwise we can't sync your store, push or pull your products etc.	OK
    WooCommerce authentication URL access	Printful needs access to WooCommerce API authorize page. This sometimes may get blocked due to hosts having unnecessarily intrusive security checks in place that prevent WooCommerce API authentication from working (for example mod_security rule #1234234). If this check fails, you will not be able authorize Printful app.	OK
    WordPress remote requests	WordPress needs to be able to connect to Printful server to call webhooks. If this check fails, contact your hosting support.	OK
    WordPress Site URL	If your currently setup WordPress site URL is redirected to another URL the integration might not work correctly. Typically this happens with incorrect http to https redirects. Go to Settings > General to fix this.	OK
    Recent store sync errors	Printful will connect to your store's API regularly and sync your latest products, orders etc. If there have been any recent issues with sync, this check will fail.	OK
    Write permissions	Make the uploads directory writable. This is required for mockup generator product push to work correctly. Contact your hosting provider if you need help with this.	OK
    PHP memory limit	Set PHP allocated memory limit to at least 128mb. Contact your hosting provider if you need help with this.	OK
    PHP script time limit	Set PHP script execution time limit to at least 30 seconds. This is required to successfully push products with many variants. Contact your hosting provider if you need help with this.	OK

    everything looks ok in that report.

    and finally, here is the System Report from Woocommerce:

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://actionautowerks.com
    Site address (URL): https://actionautowerks.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: 518 MB
    WP Debug Mode: ✔
    WP Cron: ✔
    Language: en_US
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.4.28
    PHP Post Max Size: 516 MB
    PHP Time Limit: 60
    PHP Max Input Vars: 1000
    cURL Version: 7.81.0
    OpenSSL/1.1.1n
    
    SUHOSIN Installed: –
    MySQL Version: 5.7.23-23
    Max Upload Size: 512 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_s0i3o5l2_
    Total Database Size: 38.46MB
    Database Data Size: 33.18MB
    Database Index Size: 5.28MB
    wp_s0i3o5l2_woocommerce_sessions: Data: 0.04MB + Index: 0.00MB + Engine MyISAM
    wp_s0i3o5l2_woocommerce_api_keys: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_s0i3o5l2_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_s0i3o5l2_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_s0i3o5l2_woocommerce_order_items: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_s0i3o5l2_woocommerce_order_itemmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_s0i3o5l2_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_s0i3o5l2_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_s0i3o5l2_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_s0i3o5l2_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_s0i3o5l2_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_s0i3o5l2_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_s0i3o5l2_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_s0i3o5l2_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_s0i3o5l2_actionscheduler_actions: Data: 1.52MB + Index: 1.02MB + Engine InnoDB
    wp_s0i3o5l2_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_s0i3o5l2_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_s0i3o5l2_actionscheduler_logs: Data: 1.52MB + Index: 0.42MB + Engine InnoDB
    wp_s0i3o5l2_commentmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_s0i3o5l2_comments: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_s0i3o5l2_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_s0i3o5l2_e_notes: Data: 0.02MB + Index: 0.17MB + Engine InnoDB
    wp_s0i3o5l2_e_notes_users_relations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_s0i3o5l2_e_submissions: Data: 0.02MB + Index: 0.23MB + Engine InnoDB
    wp_s0i3o5l2_e_submissions_actions_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_s0i3o5l2_e_submissions_values: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_s0i3o5l2_formmaker: Data: 0.04MB + Index: 0.00MB + Engine MyISAM
    wp_s0i3o5l2_formmaker_backup: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    wp_s0i3o5l2_formmaker_blocked: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_s0i3o5l2_formmaker_cookies: Data: 0.03MB + Index: 0.00MB + Engine InnoDB
    wp_s0i3o5l2_formmaker_display_options: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_s0i3o5l2_formmaker_groups: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_s0i3o5l2_formmaker_query: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_s0i3o5l2_formmaker_sessions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_s0i3o5l2_formmaker_submits: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    wp_s0i3o5l2_formmaker_themes: Data: 0.73MB + Index: 0.00MB + Engine MyISAM
    wp_s0i3o5l2_formmaker_views: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_s0i3o5l2_frm_fields: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
    wp_s0i3o5l2_frm_forms: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_s0i3o5l2_frm_items: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_s0i3o5l2_frm_item_metas: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_s0i3o5l2_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_s0i3o5l2_nextend2_image_storage: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_s0i3o5l2_nextend2_section_storage: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_s0i3o5l2_nextend2_smartslider3_generators: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_s0i3o5l2_nextend2_smartslider3_sliders: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    wp_s0i3o5l2_nextend2_smartslider3_sliders_xref: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_s0i3o5l2_nextend2_smartslider3_slides: Data: 0.05MB + Index: 0.11MB + Engine InnoDB
    wp_s0i3o5l2_options: Data: 8.16MB + Index: 0.16MB + Engine MyISAM
    wp_s0i3o5l2_postmeta: Data: 3.06MB + Index: 1.29MB + Engine MyISAM
    wp_s0i3o5l2_posts: Data: 1.06MB + Index: 0.17MB + Engine MyISAM
    wp_s0i3o5l2_qcld_slider_hero_sliders: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_s0i3o5l2_qcld_slider_hero_slides: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_s0i3o5l2_smush_dir_images: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_s0i3o5l2_termmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_s0i3o5l2_terms: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_s0i3o5l2_term_relationships: Data: 0.01MB + Index: 0.03MB + Engine MyISAM
    wp_s0i3o5l2_term_taxonomy: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_s0i3o5l2_usermeta: Data: 0.04MB + Index: 0.01MB + Engine MyISAM
    wp_s0i3o5l2_users: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_s0i3o5l2_wc_admin_notes: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    wp_s0i3o5l2_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_s0i3o5l2_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_s0i3o5l2_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_s0i3o5l2_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_s0i3o5l2_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_s0i3o5l2_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_s0i3o5l2_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_s0i3o5l2_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_s0i3o5l2_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_s0i3o5l2_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_s0i3o5l2_wc_product_meta_lookup: Data: 0.12MB + Index: 0.10MB + Engine MyISAM
    wp_s0i3o5l2_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_s0i3o5l2_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_s0i3o5l2_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_s0i3o5l2_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_s0i3o5l2_wfblockediplog: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_s0i3o5l2_wfblocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_s0i3o5l2_wfconfig: Data: 0.09MB + Index: 0.00MB + Engine InnoDB
    wp_s0i3o5l2_wfcrawlers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_s0i3o5l2_wffilechanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_s0i3o5l2_wffilemods: Data: 8.52MB + Index: 0.00MB + Engine InnoDB
    wp_s0i3o5l2_wfhits: Data: 2.02MB + Index: 0.20MB + Engine InnoDB
    wp_s0i3o5l2_wfhoover: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_s0i3o5l2_wfissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_s0i3o5l2_wfknownfilelist: Data: 4.52MB + Index: 0.00MB + Engine InnoDB
    wp_s0i3o5l2_wflivetraffichuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_s0i3o5l2_wflocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_s0i3o5l2_wflogins: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    wp_s0i3o5l2_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_s0i3o5l2_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_s0i3o5l2_wfnotifications: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_s0i3o5l2_wfpendingissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_s0i3o5l2_wfreversecache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_s0i3o5l2_wfsnipcache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_s0i3o5l2_wfstatus: Data: 0.13MB + Index: 0.11MB + Engine InnoDB
    wp_s0i3o5l2_wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_s0i3o5l2_yoast_indexable: Data: 0.30MB + Index: 0.19MB + Engine InnoDB
    wp_s0i3o5l2_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_s0i3o5l2_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_s0i3o5l2_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_s0i3o5l2_yoast_seo_links: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    
    ### Post Type Counts ###
    
    attachment: 235
    custom_css: 1
    elementor_icons: 1
    elementor_library: 6
    fmemailverification: 1
    frm_form_actions: 2
    frm_styles: 1
    nav_menu_item: 3
    option-tree: 1
    page: 8
    post: 2
    product: 34
    product_variation: 1386
    revision: 44
    seedprod: 1
    wp_global_styles: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔
    
    ### Active Plugins (5) ###
    
    Elementor Pro: by Elementor.com – 3.7.3
    Elementor: by Elementor.com – 3.6.8
    Printful Integration for WooCommerce: by Printful – 2.1.34
    UpdraftPlus - Backup/Restore: by UpdraftPlus.Com
    DavidAnderson – 1.22.14
    
    WooCommerce: by Automattic – 6.7.0
    
    ### Inactive Plugins (1) ###
    
    Jetpack: by Automattic – 11.2
    
    ### Must Use Plugins (3) ###
    
    Endurance Browser Cache: by Mike Hansen – 0.4
    Endurance Page Cache: by Mike Hansen – 2.2
    SSO: by Garth Mortensen
    Mike Hansen – 0.4
    
    ### 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)
    subscription (subscription)
    variable (variable)
    variable subscription (variable-subscription)
    
    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: #826 - /merch/
    Cart: #2177 - /cart/
    Checkout: #2178 - /checkout/
    My account: #2179 - /my-account/
    Terms and conditions: ❌ Page not set
    
    ### Theme ###
    
    Name: Hello Elementor
    Version: 2.6.1
    Author URL: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
    Child Theme: ❌ – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: –
    
    ### 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-08-05 19:21:16 -05:00
    Options: ✔
    Notes: 36
    Onboarding: completed
    
    ### Action Scheduler ###
    
    Complete: 2,667
    Oldest: 2022-08-02 11:27:36 -0500
    Newest: 2022-08-04 14:55:23 -0500
    
    Pending: 1
    Oldest: 2022-08-05 01:04:36 -0500
    Newest: 2022-08-05 01:04:36 -0500
    
    ### Status report information ###
    
    Generated at: 2022-08-04 15:01:11 -05:00
    

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Leonardo Albuquerque a11n

    (@leonardolopesalbuquerque)

    Hi there.

    According to this thread this could be related to cache and/or server configuration.

    I noticed you are using some cache plugins. Can you please try to purge all caches and try again or maybe disable the caches?

    Have you tried other hosts? Sometimes hosts can setup machines that differ in configurations from one another. So one site working in a host does not necessarily mean another site will work on a new machine in that host(really rare to happen but I’ve seen it happen a few times when migrating sites to a newer server in the same host).

    Also make sure your permalinks are correctly configured as they also change how query strings are handled. Please go to **Settings > Permalinks** and change to plain save and then to post name again(or any other you are using)

    Plugin Support Leonardo Albuquerque a11n

    (@leonardolopesalbuquerque)

    I also noticed that if you visit the link you posted but with the correct parameters set I can see the login page as expected.

    https://actionautowerks.com/wc-auth/v1/login/?app_name=adsf&user_id=1&return_url=https%3A%2F%2Fasdf.com&callback_url=https%3A%2F%2Fasdf.com&scope=write

    You can read more about the api here

    Does your site generate any log in **WP Admin → WooCommerce → Status → Logs** after trying to add a product via the Printful platform?

    Thread Starter meesh312

    (@meesh312)

    hello,

    i tried so many different solutions online and couldn’t find much.

    it may just be an issue of transferring too much data at once… the product i was trying to add to my printful store had many different colors and variations. i decided to try just the same t-shirt but with no color variations and it worked.

    luckily the merchandise we need is very basic and only one color is necessary.

    hope this helps someone else with the same issue.

    Hi @meesh312

    Thank you for sharing the solution with the community and we’re glad you were able to resolve it immediately.

    If you have a few minutes, we’d love it if you could leave us a review:

    https://wordpress.org/support/plugin/woocommerce/reviews/

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘My Printful store is unable to connect to my WooCommerce store: errors’ is closed to new replies.