Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
I'm using the iOS sdk to make a call to the Storefront API to get a list of products.
I'm then making a call to get more information about a specific product from that list
However, this is returning no product (null for the productByHandle).
I've sanity checked that I'm passing the same value and I am. I've also checked that the handle is correct by viewing on the web and it works.
I don't understand this, as the product definitely exists and is visible because it's just been returned from the first api call!
Are you able to capture a request ID from the response headers?
Scott | Developer Advocate @ Shopify
It was a malformed request (I hadn't checked the error because the result wasn't nil - my fault, you even put that in bold in your documentation!)
See here for the answer: https://stackoverflow.com/a/61566529/13000