Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
So I am trying to access my shopify store using the shopify admin API in node.js.
Here is how I have initialized the api
```
```
But I am getting the following error
InvalidShopError: Received invalid shop argument at Object.sanitizeShop (XXXX\node_modules\@shopify\shopify-api\lib\utils\shop-validator.js:15:19)
at XXXX\index.js:37:29
at Layer.handle [as handle_request] (XXXX\node_modules\express\lib\router\layer.js:95:5)
at next (XXXX\node_modules\express\lib\router\route.js:144:13)
\index.js:346:12)
at next (XXXX\node_modules\express\lib\router\index.js:280:10)
at expressInit (XXXX\node_modules\express\lib\middleware\init.js:40:5)
What am I doing wrong?
Hey, Did You solved this? I am getting the same error
No, I didn't solve it.
But I started using this library MONEI/Shopify-api-node: Node Shopify connector sponsored by MONEI (github.com) instead
Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025