Thanks for raising this! From the request ID, I can see that that GET request to Customers endpoint is"/admin/api/undefined/customers.json" which is unknown and throws a 404.
I would say if you're targeting a specific API version and it's still not working after that, the best bet would be to raise this within the Shopify-API Npm Repo directly here - the Developers of the package would see the post in that repo and be able to help troubleshoot. Hope that helps!
Thanks for your reply.
I can't seem to find a way to define that other than in the context when initialising, where I set it to ApiVersion.October21:
It seems that you've followed the docs correctly to perform a GET as per the Shopify API Node docs here. Seems to me the context has been defined ok too.
October21 version is available to the library in version 2.0.0 of the Shopify API Node library.
I noted in the logs on that request id that the library version you're using is v1.2.1 - we added 2021-10 to the library 19 days ago - your version possibly might not have this change.
I'd try updating to the latest version, and see how you go. If still experiencing issue after that, Uunless another member of the Shopify Community chimes in on this thread, I'd encourage you to raise an issue in the Github repo. Hope that helps!
Thanks for the response, I've reinstalled the shopify-api-node npm package (now npm list shopify-api-node now shows email@example.com) and tried this again, it seems now that I am getting a 404 still however the id appears to be different, are you able to advise any further on this?
Error: Received an error response (404 Not Found) from Shopify: Not Found. If you report this error, please include this id: 49fcbbf8-db0a-47e6-8eac-0b9890fa6d53
Have you created a collection on your online store and experienced an issue with adding yo...By Ollie Aug 24, 2022
Connect your PayPal account to allow your customers to checkout using the PayPal gateway a...By Ollie Jul 28, 2022