Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Abandoned Checkout API 500 Error

Abandoned Checkout API 500 Error

bwei81490
Shopify Partner
2 0 0

For a specific store I'm getting a 500 error on certain dates in that store.  It doesn't matter what time of day I call the API the same dates for a certain store yields 500 error.  The same code works for other stores though so I'm unsure why I continually get a 500 error.

Replies 3 (3)

amalong
Visitor
2 0 0

We're getting the same issue. This has been happening for months intermittently.

 

https://shopify.dev/docs/api/admin-rest/2024-07/resources/abandoned-checkouts

 

When we attempt a GET on the abandoned checkouts endpoint in the Admin REST API, an Internal Server 500 Error is returned. Changing the updated_at_min and updated_at_max parameter values to a wider range usually resolves it. But those values are set programmatically by our daily ETL process. 

bwei81490
Shopify Partner
2 0 0

@amalong same here, we pull daily as part of ETL and as a result cannot really widen the range.

amalong
Visitor
2 0 0

Yeah, we had to modify our ingestion code to automate that widening when the 500 response code shows up. So at least there's no manual intervention required on our end. But it would be good to understand what's causing this to begin with.