Development discussions around Shopify APIs
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
As a business owner, have you ever wondered when your customer's first impression of yo...By Skye Jun 6, 2023
We're excited to announce improvements to the threaded messaging experience in our communi...By TyW May 31, 2023
Thank you to everyone who participated in our AMA with Klaviyo. It was great to see so man...By Jacqui May 30, 2023