The Shopify REST API header used to identify REST responses has changed since April 2025. The current implementation in IsResponseType trait relies on the X-Shopify-Shop-Api-Call-Limit header, which is no longer be the correct header to check. The new header is X-Shopify-Shop-Api-Call-Limit