Hello,
We’re attempting to send a fetch request to our backend API to retrieve some data.
We’ve set the appropriate CORS headers on the response for the OPTIONS pre-flight request. However, Shopify is still interpreting the response as a CORS failure.
Thanks to ngrok, I can tell our backend is in fact returning valid CORS response headers to the OPTIONS call:
Yet, in the Shopify frontend, the OPTIONS request is being falsely reported as a CORS error:
![]()
Since the OPTIONS request “fails”, there’s no subsequent GET request.
I know our CORS headers are sound because we reuse this same middleware for other OPTIONS requests.
Is this a known bug/limitation? If so, can we work around it by using a different HTTP client and somehow accessing the session token over a hook?
