App reviews, troubleshooting, and recommendations
Hey,
I deployed my App (React + Laravel (sqlite DB)) to Fly.io and I get past the installation process (grant permissions etc.), but when I try to open app on my development store i get this error:
Shopify\Utils::sanitizeShopDomain(): Argument #1 ($shop) must be of type string, null given, called in /app/app/Lib/AuthRedirection.php on line 19 {"exception":"[object] (TypeError(code: 0): Shopify\\Utils::sanitizeShopDomain(): Argument #1 ($shop) must be of type string, null given, called in /app/app/Lib/AuthRedirection.php on line 19 at /app/vendor/shopify/shopify-api/src/Utils.php:32)
I debugged it a little bit and found out that $request->query() is empty in this case (but not when the installation happens).
App runs normally on local development server.
Does anyone have any idea what could be wrong in this case?
Thanks, Jan
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025