• hurry

    (@extremist87)


    when marking many orders as complete, we get this error, is it possible to add some kind of batch processing feature?

    {
    “error”: {
    “code”: 429,
    “message”: “Resource has been exhausted (e.g. check quota).”,
    “errors”: [
    {
    “message”: “Resource has been exhausted (e.g. check quota).”,
    “domain”: “global”,
    “reason”: “rateLimitExceeded”
    }
    ],
    “status”: “RESOURCE_EXHAUSTED”
    }
    }

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Support M Haseeb

    (@haseeb0001)

    @extremist87 Hi,

    Hope you are doing good.

    Please provide POST SMTP diagnostic test report.

    Let me know at a time how many orders you are marking as complete ?

    Thanks

    Thread Starter hurry

    (@extremist87)

    i think it was 70 orders

    where to generate the test report from?

    Plugin Support M Haseeb

    (@haseeb0001)

    For test report see the screenshot here.

    Thanks

    Plugin Support M Haseeb

    (@haseeb0001)

    Thread Starter hurry

    (@extremist87)

    The log to paste when you open a support issue:
    {
    “error”: {
    “code”: 429,
    “message”: “Resource has been exhausted (e.g. check quota).”,
    “errors”: [
    {
    “message”: “Resource has been exhausted (e.g. check quota).”,
    “domain”: “global”,
    “reason”: “rateLimitExceeded”
    }
    ],
    “status”: “RESOURCE_EXHAUSTED”
    }
    }

    Thread Starter hurry

    (@extremist87)

    Mailer: postsmtp
    HostName: WEBSITE.com.au
    cURL Version: 7.71.0
    OpenSSL Version: OpenSSL/1.1.1d
    OS: Linux server2.WEBHOST.com.au 3.10.0-962.3.2.lve1.5.62.el7.x86_64 #1 SMP Fri Sep 17 12:07:13 UTC 2021 x86_64
    PHP: Linux 7.4.29 C
    PHP Dependencies: iconv=Yes, spl_autoload=Yes, openssl=Yes, sockets=Yes, allow_url_fopen=Yes, mcrypt=No, zlib_encode=Yes
    WordPress: 6.0.1 en_AU UTF-8
    WordPress Theme: Konte
    WordPress Plugins: Advanced Custom Fields PRO, Afterpay Gateway for WooCommerce, FiboSearch – AJAX Search for WooCommerce, Better Search Replace, Checkout Address AutoFill For WooCommerce, Classic Editor, Contact Form 7, GTM4WP, Google Customer Reviews for WooCommerce, Facebook for WooCommerce, WPBakery Page Builder, Just In Time Sales Offers, Kirki Customizer Framework, Klaviyo, Konte Addons, LiteSpeed Cache, Meta Box, Ninja Google Place Reviews Pro, Order Minimum/Maximum Amount for WooCommerce, Plugin Notes Plus, Popup Maker, Post SMTP, Redirection, Relevanssi, Simple Shipping Labels for WooCommerce, Squirrly SEO (Peaks), Top Bar, WEBSITE Customization, WEBSITE Shortcode, Product Feed PRO for WooCommerce, WP Sheet Editor – WooCommerce Products (Premium), NextMove Lite – Thank You Page for WooCommerce, WooCommerce Stripe Gateway, WooCommerce PayPal Payments, WooCommerce PDF Invoices & Packing Slips, WooCommerce, Woomotiv – Live Sales Notification for Woocommerce, Wordfence Security, Schema Pro, Zip – WooCommerce
    WordPress wp_mail Owner: /home/WEBSITEcom/public_html/wp-content/plugins/post-smtp/Postman/PostmanWpMailBinder.php
    WordPress wp_mail Filter(s): wp_staticize_emoji_for_email, WPO\WC\PDF_Invoices\Main->set_phpmailer_validator, PostsmtpMailer->get_mail_args
    WordPress wp_mail_from Filter(s): wordfence::fixWPMailFromAddress
    WordPress phpmailer_init Action(s): wpcf7_phpmailer_init
    Postman: 2.1.3
    Postman Sender Domain (Envelope|Message): WEBSITE.com.au | WEBSITE.com.au
    Postman Prevent Message Sender Override (Email|Name): No | No
    Postman Active Transport: Gmail API (https:oauth2://www.googleapis.com:443)
    Postman Active Transport Status (Ready|Connected): Yes | Yes
    Postman Deliveries (Success|Fail): 67195 | 169

    Plugin Support M Haseeb

    (@haseeb0001)

    @extremist87

    Are you using Gmail APi right ? this issue is from Google and for more details you can read the details Here.

    Thanks

    Thread Starter hurry

    (@extremist87)

    A rateLimitExceeded error indicates that the user has reached Gmail API’s maximum request rate. This limit varies depending on the type of requests.

    This plugin should batch process each json api request and try again.

    Plugin Support M Haseeb

    (@haseeb0001)

    @extremist87 ok let me talk to my team and find a solution for this issue.

    Thanks

    Plugin Support M Haseeb

    (@haseeb0001)

    @extremist87

    Post SMTP alters the default WordPress mailing function to use your selected SMTP service. WooCommerce when asks WordPress to send the emails, POST SMTP just facilitates those emails. It’s not possible to alter the WooCommerce email loops from SMTP plugin.

    Still let us know if there is anything else we can help you with.

    Thread Starter hurry

    (@extremist87)

    i have this issue more now since the update, and its only updating 30 orders at a time.. and sending 60 emails, which would be 60 requests, lets say its 120 requests, or even 240 requests within 20 seconds, its still within google mail api limits.. any idea why?

    Thread Starter hurry

    (@extremist87)

    Plugin Support M Haseeb

    (@haseeb0001)

    @extremist87

    Let me look into it and get back to you shortly with updates.

    Plugin Support M Haseeb

    (@haseeb0001)

    @extremist87

    I also tried to replicate the issue with more than 30 orders with Gmail and SendInBlue; everything worked well.

    It seems like the issue is with your Gmail account; configure another Gmail account or talk to Gmail support and then let me know.

    Thanks

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘rateLimitExceeded’ is closed to new replies.