API REST criado no WooCommerce n?o funciona no Bling
-
API REST criado no WooCommerce n?o funciona no Bling.
Criei as chaves para conectar com o Bling (ERP) e quando vou registrar as chaves no Bling, segundo o pessoal do suporte, n?o retorna ou n?o consegue acessar o woocommerce.
Seria algum problema na configura?ao do wordpress(6.02) ou do servidor?
Servidor Oracle Cloud + aaPanel + cloudflare
php 7.4 / mysql 8
-
Hi @villasweb,
Thank you for reporting the issue on the WooCommerce forums.
I understand that REST API is not sending data to your Bling ERP integration.
Do you have any security plugin or firewall enabled on your host that prevents data from flowing properly between platforms? I see your site is behind a content delivery network (Cloudflare), do you mind disabling it and checking again?
Could you please share a copy of your site’s System Status? You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”. Once you’ve done that, paste it here in your response.
Additionally, share with us any error logs found in WooCommerce > Status > Logs (if available).
Cheers.
Thank you for the reply. Here is the status report
No logs at the momment.
Regardz### WordPress Environment ### WordPress address (URL): https://edudev.tk Site address (URL): https://edudev.tk WC Version: 6.9.3 REST API Version: ? 6.9.3 WC Blocks Version: ? 8.3.2 Action Scheduler Version: ? 3.4.0 Log Directory Writable: ? WP Version: 6.0.2 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ? Language: pt_BR External object cache: – ### Server Environment ### Server Info: nginx/1.21.4 PHP Version: 7.4.30 PHP Post Max Size: 50 MB PHP Time Limit: 300 PHP Max Input Vars: 1000 cURL Version: 7.70.0 OpenSSL/1.0.2u SUHOSIN Installed: – MySQL Version: 5.7.38-log Max Upload Size: 50 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 6.9.3 WC Database Prefix: wp_ Tamanho total do banco de dados: 9.33MB Tamanho dos dados do banco de dados: 6.65MB Tamanho do índice do banco de dado: 2.68MB wp_woocommerce_sessions: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB wp_woocommerce_api_keys: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB wp_woocommerce_attribute_taxonomies: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB wp_woocommerce_downloadable_product_permissions: Dados: 0.02MB + índex: 0.06MB + mecanismo InnoDB wp_woocommerce_order_items: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB wp_woocommerce_order_itemmeta: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB wp_woocommerce_tax_rates: Dados: 0.02MB + índex: 0.06MB + mecanismo InnoDB wp_woocommerce_tax_rate_locations: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB wp_woocommerce_shipping_zones: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB wp_woocommerce_shipping_zone_locations: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB wp_woocommerce_shipping_zone_methods: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB wp_woocommerce_payment_tokens: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB wp_woocommerce_payment_tokenmeta: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB wp_woocommerce_log: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB wp_actionscheduler_actions: Dados: 0.16MB + índex: 0.11MB + mecanismo InnoDB wp_actionscheduler_claims: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB wp_actionscheduler_groups: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB wp_actionscheduler_logs: Dados: 0.11MB + índex: 0.09MB + mecanismo InnoDB wp_commentmeta: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB wp_comments: Dados: 0.02MB + índex: 0.09MB + mecanismo InnoDB wp_gla_budget_recommendations: Dados: 0.22MB + índex: 0.14MB + mecanismo InnoDB wp_gla_merchant_issues: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB wp_gla_shipping_rates: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB wp_gla_shipping_times: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB wp_links: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB wp_mailpoet_custom_fields: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB wp_mailpoet_dynamic_segment_filters: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB wp_mailpoet_feature_flags: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB wp_mailpoet_forms: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB wp_mailpoet_log: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB wp_mailpoet_newsletters: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB wp_mailpoet_newsletter_links: Dados: 0.02MB + índex: 0.05MB + mecanismo InnoDB wp_mailpoet_newsletter_option: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB wp_mailpoet_newsletter_option_fields: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB wp_mailpoet_newsletter_posts: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB wp_mailpoet_newsletter_segment: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB wp_mailpoet_newsletter_templates: Dados: 2.52MB + índex: 0.00MB + mecanismo InnoDB wp_mailpoet_scheduled_tasks: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB wp_mailpoet_scheduled_task_subscribers: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB wp_mailpoet_segments: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB wp_mailpoet_sending_queues: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB wp_mailpoet_settings: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB wp_mailpoet_statistics_bounces: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB wp_mailpoet_statistics_clicks: Dados: 0.02MB + índex: 0.05MB + mecanismo InnoDB wp_mailpoet_statistics_forms: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB wp_mailpoet_statistics_newsletters: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB wp_mailpoet_statistics_opens: Dados: 0.02MB + índex: 0.08MB + mecanismo InnoDB wp_mailpoet_statistics_unsubscribes: Dados: 0.02MB + índex: 0.05MB + mecanismo InnoDB wp_mailpoet_statistics_woocommerce_purchases: Dados: 0.02MB + índex: 0.06MB + mecanismo InnoDB wp_mailpoet_stats_notifications: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB wp_mailpoet_subscribers: Dados: 0.02MB + índex: 0.13MB + mecanismo InnoDB wp_mailpoet_subscriber_custom_field: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB wp_mailpoet_subscriber_ips: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB wp_mailpoet_subscriber_segment: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB wp_mailpoet_subscriber_tag: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB wp_mailpoet_tags: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB wp_mailpoet_user_agents: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB wp_mailpoet_user_flags: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB wp_options: Dados: 2.02MB + índex: 0.06MB + mecanismo InnoDB wp_postmeta: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB wp_posts: Dados: 0.05MB + índex: 0.06MB + mecanismo InnoDB wp_termmeta: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB wp_terms: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB wp_term_relationships: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB wp_term_taxonomy: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB wp_usermeta: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB wp_users: Dados: 0.02MB + índex: 0.05MB + mecanismo InnoDB wp_wc_admin_notes: Dados: 0.05MB + índex: 0.00MB + mecanismo InnoDB wp_wc_admin_note_actions: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB wp_wc_category_lookup: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB wp_wc_customer_lookup: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB wp_wc_download_log: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB wp_wc_order_coupon_lookup: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB wp_wc_order_product_lookup: Dados: 0.02MB + índex: 0.06MB + mecanismo InnoDB wp_wc_order_stats: Dados: 0.02MB + índex: 0.05MB + mecanismo InnoDB wp_wc_order_tax_lookup: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB wp_wc_product_attributes_lookup: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB wp_wc_product_download_directories: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB wp_wc_product_meta_lookup: Dados: 0.02MB + índex: 0.09MB + mecanismo InnoDB wp_wc_rate_limits: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB wp_wc_reserved_stock: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB wp_wc_tax_rate_classes: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB wp_wc_webhooks: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB ### Post Type Counts ### attachment: 2 customize_changeset: 1 mailpoet_page: 1 page: 9 post: 2 revision: 2 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (4) ### Google Listings and Ads: por WooCommerce – 2.1.2 MailPoet: por MailPoet – 3.98.1 Brazilian Market on WooCommerce: por Claudio Sanches – 3.7.2 WooCommerce: por Automattic – 6.9.3 ### Inactive Plugins (2) ### Akismet Anti-Spam: por Automattic – 5.0 Facebook for WooCommerce: por Facebook – 2.6.23 ### Settings ### API Enabled: – Force SSL: – Currency: BRL (R$) Currency Position: left_space 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 ### Base da loja: #6 - /index.php/loja/ Carrinho: #7 - /index.php/carrinho/ Finaliza??o de compra: #8 - /index.php/finalizar-compra/ Minha conta: #9 - /index.php/minha-conta/ Termos e condi??es: ? Página n?o definida ### Theme ### Name: Boutique Version: 2.0.17 Author URL: https://woocommerce.com Child Theme: ? Parent Theme Name: Storefront Parent Theme Version: 4.1.3 Parent Theme Author URL: https://woocommerce.com/ 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 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 wc-pay-promotion wc-pay-welcome-page Disabled Features: minified-js new-product-management-experience settings Daily Cron: ? Next scheduled: 2022-09-25 20:52:17 -03:00 Options: ? Notes: 44 Onboarding: completed ### Action Scheduler ### Complete: 338 Oldest: 2022-09-23 17:53:28 -0300 Newest: 2022-09-25 17:02:06 -0300 Pending: 3 Oldest: 2022-09-25 17:04:06 -0300 Newest: 2022-09-25 18:04:10 -0300 ### Status report information ### Generated at: 2022-09-25 17:02:14 -03:00
By the way, I have another website with this same problem.
Indeed this was the first time I have this problem and I decided to change servers from Oracle Cloud to Hetzner.edudev.tk – hetzner
ferramaquinas.com.br – OracleThis is the report from “ferramaquinas.com.br”
### WordPress Environment ### WordPress address (URL): https://ferramaquinas.com.br Site address (URL): https://ferramaquinas.com.br WC Version: 6.9.3 REST API Version: ? 6.9.3 WC Blocks Version: ? 8.3.2 Action Scheduler Version: ? 3.4.0 Log Directory Writable: ? WP Version: 6.0.2 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ? Language: pt_BR External object cache: – ### Server Environment ### Server Info: nginx/1.21.4 PHP Version: 7.4.30 PHP Post Max Size: 50 MB PHP Time Limit: 300 PHP Max Input Vars: 1000 cURL Version: 7.70.0 OpenSSL/1.0.2u SUHOSIN Installed: – MySQL Version: 8.0.24 Max Upload Size: 50 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 6.9.3 WC Database Prefix: wp_ Tamanho total do banco de dados: 4.89MB Tamanho dos dados do banco de dados: 3.27MB Tamanho do índice do banco de dado: 1.62MB wp_woocommerce_sessions: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB wp_woocommerce_api_keys: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB wp_woocommerce_attribute_taxonomies: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB wp_woocommerce_downloadable_product_permissions: Dados: 0.02MB + índex: 0.06MB + mecanismo InnoDB wp_woocommerce_order_items: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB wp_woocommerce_order_itemmeta: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB wp_woocommerce_tax_rates: Dados: 0.02MB + índex: 0.06MB + mecanismo InnoDB wp_woocommerce_tax_rate_locations: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB wp_woocommerce_shipping_zones: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB wp_woocommerce_shipping_zone_locations: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB wp_woocommerce_shipping_zone_methods: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB wp_woocommerce_payment_tokens: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB wp_woocommerce_payment_tokenmeta: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB wp_woocommerce_log: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB wp_actionscheduler_actions: Dados: 0.05MB + índex: 0.11MB + mecanismo InnoDB wp_actionscheduler_claims: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB wp_actionscheduler_groups: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB wp_actionscheduler_logs: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB wp_commentmeta: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB wp_comments: Dados: 0.02MB + índex: 0.08MB + mecanismo InnoDB wp_gla_budget_recommendations: Dados: 0.22MB + índex: 0.14MB + mecanismo InnoDB wp_gla_merchant_issues: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB wp_gla_shipping_rates: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB wp_gla_shipping_times: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB wp_links: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB wp_options: Dados: 2.03MB + índex: 0.03MB + mecanismo InnoDB wp_postmeta: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB wp_posts: Dados: 0.02MB + índex: 0.06MB + mecanismo InnoDB wp_term_relationships: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB wp_term_taxonomy: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB wp_termmeta: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB wp_terms: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB wp_usermeta: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB wp_users: Dados: 0.02MB + índex: 0.05MB + mecanismo InnoDB wp_wc_admin_note_actions: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB wp_wc_admin_notes: Dados: 0.05MB + índex: 0.00MB + mecanismo InnoDB wp_wc_category_lookup: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB wp_wc_customer_lookup: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB wp_wc_download_log: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB wp_wc_order_coupon_lookup: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB wp_wc_order_product_lookup: Dados: 0.02MB + índex: 0.06MB + mecanismo InnoDB wp_wc_order_stats: Dados: 0.02MB + índex: 0.05MB + mecanismo InnoDB wp_wc_order_tax_lookup: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB wp_wc_product_attributes_lookup: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB wp_wc_product_download_directories: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB wp_wc_product_meta_lookup: Dados: 0.02MB + índex: 0.09MB + mecanismo InnoDB wp_wc_rate_limits: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB wp_wc_reserved_stock: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB wp_wc_tax_rate_classes: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB wp_wc_webhooks: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB ### Post Type Counts ### attachment: 2 customize_changeset: 1 page: 7 post: 3 product: 1 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (2) ### Google Listings and Ads: por WooCommerce – 2.1.2 WooCommerce: por Automattic – 6.9.3 ### Inactive Plugins (1) ### Facebook for WooCommerce: por Facebook – 2.6.23 ### Settings ### API Enabled: ? Force SSL: – Currency: BRL (R$) Currency Position: left_space 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 ### Base da loja: #6 - / Carrinho: #7 - /?page_id=7 Finaliza??o de compra: #8 - /?page_id=8 Minha conta: #9 - /?page_id=9 Termos e condi??es: ? Página n?o definida ### Theme ### Name: Envo Marketplace Version: 1.1.2 Author URL: https://envothemes.com/ Child Theme: ? – Recomendamos você utilizar um tema filho no caso de você estiver personalizando o WooCommerce em um tema ascendente. Veja como criar um tema filho 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 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 wc-pay-promotion wc-pay-welcome-page Disabled Features: minified-js new-product-management-experience settings Daily Cron: ? Next scheduled: 2022-09-26 18:33:58 -03:00 Options: ? Notes: 35 Onboarding: completed ### Action Scheduler ### Concluído: 53 Oldest: 2022-09-22 16:04:13 -0300 Newest: 2022-09-25 17:30:05 -0300 Pendente: 2 Oldest: 2022-09-25 17:44:42 -0300 Newest: 2022-09-26 17:28:12 -0300 ### Status report information ### Generated at: 2022-09-25 17:30:54 -03:00
Thank’s
Hi @villasweb
Thanks for replying with a copy of your site’s system status report.
Looking at your site for us I noticed that the main WordPress core software REST API path is producing a 404 not found error when visiting this URL below.
https://ferramaquinas.com.br/wp-json/
Image Link: https://cloudup.com/cND1ZU6qQMX
As the WooCommerce REST API is based on the WordPress Core software REST API you will need to resolve this issue before you can use any REST API on your website.
I also noticed that your domain name although loading as HTTPS is producing this error message within web browsers.
Image Link: https://cloudup.com/cWizOY9t_lL
For assistance with fixing your WordPress core software REST API you can either use the official WordPress Core Software Forums or alternatively contact your hosting provider.
We hope this helps point you in the right direction.
- The topic ‘API REST criado no WooCommerce n?o funciona no Bling’ is closed to new replies.