• Resolved ipoblete

    (@ipoblete)


    Hello,
    please if you can give me some guidance. I have read and tried several options and still can’t get to the reason for the error.
    I have a site that manages inventories and connects via API with two sites with woocommerce to update inventories.
    On site A all inventory update records have 200 as response, but on site B I randomly get some 403 errors.

    Both are similar, I use combination of plugin and similar versions: same versions of wordpress, woocommerce, themes, etc.
    What varies, they are on different hosting, the site I have problems is on vultr, ubuntu, with cyberpanel on lightspeed + lightspeedcache + cloudflare fee as CDN.

    Tests I have done:
    enable debug mode in woocommerce.
    see api log.
    enable and disable caching program.
    see REST API Log plugin
    see WP Debugging plugin

    I have not been able to find the error. What is the correct way to understand the reasons for error 403.

    Here is info:

    ` WordPress Environment
    
    WordPress address (URL): https://paramicafe.cl
    Site address (URL): https://paramicafe.cl
    WC Version: 7.9.0
    REST API Version: ✔ 7.9.0
    WC Blocks Version: ✔ 10.4.6
    Action Scheduler Version: ✔ 3.6.1
    Log Directory Writable: ✔
    WP Version: 6.2.2
    WP Multisite: –
    WP Memory Limit: 512 MB
    WP Debug Mode: ✔
    WP Cron: ✔
    Language: es_CL
    External object cache: – Server Environment
    
    Server Info: LiteSpeed
    PHP Version: 8.1.21
    PHP Post Max Size: 16 MB
    PHP Time Limit: 60
    PHP Max Input Vars: 1000
    cURL Version: 7.68.0
    OpenSSL/1.1.1f
    
    SUHOSIN Installed: –
    MySQL Version: 10.3.38-MariaDB-0ubuntu0.20.04.1
    Max Upload Size: 4 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔ Database
    
    WC Database Version: 7.9.0
    WC Database Prefix: wp_
    Tamaño total de la base de datos: 84.85MB
    Tamaño de los datos de la base de datos: 63.98MB
    Tamaño del índice de la base de datos: 20.87MB
    wp_woocommerce_sessions: Data: 1.02MB + Index: 0.02MB + 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.23MB + Index: 0.08MB + Engine InnoDB
    wp_woocommerce_order_itemmeta: Data: 2.52MB + Index: 3.03MB + 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: 1.52MB + Index: 0.84MB + 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: 1.52MB + Index: 0.33MB + Engine InnoDB
    wp_atum_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_atum_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_atum_product_data: Data: 0.05MB + Index: 0.05MB + Engine InnoDB
    wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_comments: Data: 1.52MB + Index: 0.67MB + Engine InnoDB
    wp_commercekit_searches: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_commercekit_swatches_cache_count: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_commercekit_waitlist: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_commercekit_wishlist: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_commercekit_wishlist_items: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_lhr_log: Data: 24.02MB + Index: 0.00MB + Engine InnoDB
    wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_litespeed_url: Data: 0.09MB + Index: 0.09MB + Engine InnoDB
    wp_litespeed_url_file: Data: 0.22MB + Index: 0.75MB + Engine InnoDB
    wp_mailerlite_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_options: Data: 4.42MB + Index: 0.22MB + Engine InnoDB
    wp_parcelpanel_courier: Data: 0.19MB + Index: 0.00MB + Engine InnoDB
    wp_parcelpanel_location: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_parcelpanel_tracking: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_parcelpanel_tracking_items: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_postmeta: Data: 13.52MB + Index: 6.03MB + Engine InnoDB
    wp_posts: Data: 3.52MB + Index: 0.53MB + Engine InnoDB
    wp_pos_warehouse: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_rank_math_404_logs: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_rank_math_analytics_ga: Data: 0.33MB + Index: 0.23MB + Engine InnoDB
    wp_rank_math_analytics_gsc: Data: 5.52MB + Index: 6.03MB + Engine InnoDB
    wp_rank_math_analytics_inspections: Data: 1.52MB + Index: 0.16MB + Engine InnoDB
    wp_rank_math_analytics_keyword_manager: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_rank_math_analytics_objects: Data: 0.09MB + Index: 0.05MB + Engine InnoDB
    wp_rank_math_internal_links: Data: 0.19MB + Index: 0.06MB + Engine InnoDB
    wp_rank_math_internal_meta: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    wp_rank_math_redirections: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_rank_math_redirections_cache: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_snippets: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
    wp_termmeta: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_term_relationships: Data: 0.09MB + Index: 0.06MB + Engine InnoDB
    wp_term_taxonomy: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    wp_transbank_inscriptions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_usermeta: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
    wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wccfee_cities: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_admin_notes: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_customer_lookup: Data: 0.02MB + 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.02MB + Index: 0.06MB + Engine InnoDB
    wp_wc_order_stats: Data: 0.02MB + 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: 0.06MB + Index: 0.09MB + 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_wdp_orders: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wdp_order_items: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wdp_persistent_rules_cache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wdp_rules: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wdr_order_discounts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wdr_order_item_discounts: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wdr_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_webpay_rest_transactions: Data: 0.09MB + Index: 0.00MB + Engine InnoDB
    wp_wotv_woo_track_info: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpforms_payments: Data: 0.02MB + Index: 0.14MB + Engine InnoDB
    wp_wpforms_payment_meta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpmailsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wt_iew_action_history: Data: 0.13MB + Index: 0.00MB + Engine InnoDB
    wp_wt_iew_mapping_template: Data: 0.02MB + Index: 0.00MB + Engine InnoDB Post Type Counts
    
    acoplw_badges: 3
    acoplw_prod_list: 2
    attachment: 1091
    custom_css: 3
    customize_changeset: 1
    elementor_library: 24
    nav_menu_item: 65
    oembed_cache: 1
    order_status: 5
    page: 30
    phoe_badge: 1
    post: 15
    product: 355
    product_variation: 57
    revision: 7
    shop_coupon: 9
    shop_order: 1067
    shop_order_refund: 1
    store: 1
    wc_afrsm: 1
    wc_order_email: 5
    wc_order_status: 16
    wp_block: 12
    wp_global_styles: 2
    wpc_product_badge: 7
    wpc_product_option: 1
    wpc_shoppable_image: 1
    wpc_smart_message: 5
    wpcode: 18
    wpforms: 2
    xlwcty_thankyou: 1
    yaymail_template: 30
    yith-wcbm-badge: 3 Security
    
    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔ Active Plugins (49)
    
    Monitor de consulta: por John Blackbourn – 3.13.1
    Code Snippets: por Code Snippets Pro – 3.4.2
    CommerceGurus CommerceKit: por CommerceGurus – 2.2.2
    Disable Bloat for WordPress & WooCommerce: por Disable Bloat – 3.2.9
    Yoast Duplicate Post: por Enrico Battocchi & Team Yoast – 4.5
    Elementor: por Elementor.com – 3.14.1
    Flow Payment: por Flow – 3.0.0
    HookMeUp – Unlock and use strategic spots in any WooCommerce Theme: por Get Bowtied – 1.8
    Kadence WooCommerce Email Designer: por Kadence WP – 1.5.11
    Kirki Customizer Framework: por Themeum – 4.2.0
    LiteSpeed Cache: por LiteSpeed Technologies – 5.5
    Loco Translate: por Tim Whitlock – 2.6.4
    Log HTTP Requests: por FacetWP
    LLC – 1.4.1
    
    MailerLite - Signup forms (official): por MailerLite – 1.6.8
    PedidosYa - WooCommerce: por Ecomerciar – 1.1.21
    Perfect Brands WooCommerce: por QuadLayers – 3.2.0
    Product Notices for WooCommerce: por CloudRedux – 1.3.2
    Rank Math SEO PRO: por Rank Math – 3.0.40
    Rank Math SEO: por Rank Math – 1.0.119.1
    Shipping Zone Duplicator for WooCommerce: por Jeroen Sormani – 1.0.0
    Simple Shipping Labels for WooCommerce: por Dima Pavlenko – 1.0.6
    String Locator: por InstaWP – 2.6.1
    Super Socializer: por Team Heateor – 7.13.55
    Transbank Webpay REST: por TransbankDevelopers – 1.6.8
    UpdraftPlus - Backup/Restore: por UpdraftPlus.Com
    DavidAnderson – 1.23.7
    
    MkRapel Regiones y Ciudades de Chile para WC: por Marketing Rapel – 4.3.0
    WooCommerce No Shipping Message: por dangoodman – 2.1.5
    WC Pickup Store: por Keylor Mendoza A. – 1.8.5
    Shipping Method Description for WooCommerce: por Thomas Charbit – 1.2.6
    CTX Feed: por WebAppick – 5.4.30
    Woo Discount Rules: por Flycart – 2.6.1
    WPC Product Bundles for WooCommerce: por WPClever – 7.2.5
    NextMove Lite - Thank You Page for WooCommerce: por XLPlugins – 2.16.0
    WooCommerce Advanced Shipping - Advanced Pricing: por Jeroen Sormani – 2.2.1
    WooCommerce Advanced Shipping: por Jeroen Sormani – 1.1.2
    Pixel Manager for WooCommerce: por SweetCode – 1.32.5
    WooCommerce Order Status Manager: por SkyVerge – 1.15.2
    WooCommerce Shipment Tracking: por WooCommerce – 2.3.1
    WooCommerce: por Automattic – 7.9.0
    WP Crontrol: por John Blackbourn & crontributors – 1.15.3
    WP Mail SMTP: por WP Mail SMTP – 3.8.2
    WP-Sweep: por Lester 'GaMerZ' Chan – 1.1.8
    Social Chat: por QuadLayers – 7.1.3
    WPC Composite Products for WooCommerce: por WPClever – 7.0.5
    WPC Grouped Product for WooCommerce: por WPClever – 4.2.2
    WPC Product Tabs for WooCommerce: por WPClever – 3.0.2
    WPC Shoppable Images for WooCommerce: por WPClever – 2.0.7
    WPForms Lite: por WPForms – 1.8.2.3
    WPS Hide Login: por WPServeur
    NicolasKulka
    wpformation – 1.9.8 Inactive Plugins (12)
    
    REST API Log: por Pete Nelson – 1.7.0
    WPC Badge Management for WooCommerce: por WPClever – 2.2.6
    WPC Force Sells for WooCommerce: por WPClever – 6.0.3
    WPC Frequently Bought Together for WooCommerce: por WPClever – 6.1.3
    WPC Price by Quantity for WooCommerce: por WPClever – 4.0.8
    WPC Product Options for WooCommerce: por WPClever – 1.4.3
    WPC Product Quantity for WooCommerce: por WPClever – 3.2.4
    WPC Smart Messages for WooCommerce: por WPClever – 4.1.1
    WPC Smart Notifications for WooCommerce: por WPClever – 2.3.2
    WPC Variations Radio Buttons for WooCommerce: por WPClever – 3.4.4
    WPC Variations Table for WooCommerce: por WPClever – 3.5.4
    WP Debugging: por Andy Fragen – 2.11.22 Dropin Plugins (1)
    
    db.php: Query Monitor Database Class (Drop-in) Settings
    
    API Enabled: –
    Force SSL: ✔
    Currency: CLP ($)
    Currency Position: left
    Thousand Separator: .
    Decimal Separator: ,
    Number of Decimals: 0
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    woosb (woosb)
    
    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 screen enabled: –
    HPOS feature enabled: –
    Order datastore: WC_Order_Data_Store_CPT
    HPOS data sync enabled: – WC Pages
    
    Base de la tienda: #10 - /tienda/
    Carrito: #238 - /carro/
    Finalizar compra: #239 - /checkout/
    Mi cuenta: #241 - /my-account/
    Términos y condiciones: #3 - /terminos-y-condiciones/ Theme
    
    Name: Shoptimizer
    Version: 2.6.7
    Author URL: https://www.commercegurus.com/
    Child Theme: ❌ – Si estás modificando WooCommerce en un tema padre que no has creado personalmente
    te recomendamos utilizar un tema hijo. Ver: Cómo crear un tema hijo
    
    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
    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: minified-js
    new-product-management-experience
    product-variation-management
    settings
    async-product-editor-category-field
    
    Daily Cron: ✔ Next scheduled: 2023-07-20 17:48:26 -04:00
    Options: ✔
    Notes: 42
    Onboarding: skipped Action Scheduler
    
    Complete: 2,553
    Oldest: 2023-06-25 12:35:47 -0400
    Newest: 2023-07-19 13:13:52 -0400
    
    Failed: 52
    Oldest: 2022-11-04 13:53:44 -0300
    Newest: 2023-07-15 20:16:15 -0400
    
    Pending: 8
    Oldest: 2023-07-19 16:18:31 -0400
    Newest: 2023-07-26 12:27:40 -0400 Status report information
    
    Generated at: 2023-07-19 14:02:51 -04:00
    `
    
     

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

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

The topic ‘How to Debug API Errors?’ is closed to new replies.