• Instructions to Ask a Question

    For any assistance, please click the "Ask a Question" button and select the Pabbly product for which you require support.

    We offer seven comprehensive applications designed to help you efficiently manage and grow your business:

    Our support team endeavors to respond within 24 business hours (Monday to Friday, 10:00 AM to 6:00 PM IST). We appreciate your understanding and patience.

    🚀 Exclusive Lifetime Offers 🚀

    We invite you to take advantage of our special one-time payment plans, providing lifetime access to select applications:

    • 🔥 Pabbly Connect — Lifetime Access for $249View Offer
    • 🔥 Pabbly Subscription Billing — Lifetime Access for $249View Offer
    • 🔥 Pabbly Chatflow — Lifetime Access for $249View Offer

    Make a one-time investment and enjoy the advantages of robust business management tools for years to come.

Stripe "Retrieve a Customer by ID" Timeouts

Status
Not open for further replies.

Dan G

Member
I have a lot of sales that go through via Stripe and I need to lookup people's email addresses using Pabbly's "Retrieve a Customer by ID". I on a daily basis get a number of failed look-ups as it times out and failed. I get the following message from Pabbly / Stripe:

{
"error > code": "lock_timeout",
"error > doc_url": "https://stripe.com/docs/error-codes/lock-timeout",
"error > message": "This object cannot be accessed right now because another API request or Stripe process is currently accessing it. If you see this error intermittently, retry the request. If you see this error frequently and are making multiple concurrent requests to a single object, make your requests serially or at a lower rate.",
"error > type": "invalid_request_error"
}

I believe we need to update Pabbly to submit it's look-up request sequentially, so that it doesn't keep failing.

Pabbly support you can see some of these failed runs using the following task IDs:

IjgwMTgwODY0Ig_3D_3D
Ijc5NTg0OTU2Ig_3D_3D

Stripe had the following help: https://stripe.com/docs/error-codes#lock-timeout

Can Pabbly Support help with this?

Thank you in advance.
 
P

Pabblymember11

Guest
Hey @Dan G

Its looks like from Stripe's error message, the API didn't process your request at that moment, and because of that timeout error appeared.

So, as a solution we would recommend you to use a delay action step before the "Stripe: Retrieve a Customer by ID", so that the Stripes' API gets the proper time interval to process your request.

2022-01-08_10h48_20.png
 

Dan G

Member
Hey @Dan G

Its looks like from Stripe's error message, the API didn't process your request at that moment, and because of that timeout error appeared.

So, as a solution we would recommend you to use a delay action step before the "Stripe: Retrieve a Customer by ID", so that the Stripes' API gets the proper time interval to process your request.

View attachment 6785
That seems to have sorted the issue! Thank you for the advice.
 
Status
Not open for further replies.
Top