I'm working on a shop that communicates with Shopify via the Shopify Storefront API. And via this API we create and update checkouts in Shopify. Sometimes it happens that we want to get the current status of a checkout, sending the corresponding ID to the API and then we get an empty response or the API is responding with "Error while fetching checkout. No checkout given"
In my logs I see lots of errors that occur while trying to fetch checkout data via the Storefront API.
Is there any way to find out if a given checkout ID is valid or not? And if so why it is invalid?