i am facing the same issue, did you found the solution?
Hi folks - thanks for getting in touch. This is very odd for sure. It looks like you may be using our Node library here? If so, the best place to go for questions about specific libraries are the public repos for the library themselves. I did a bit of digging on my end and it looks like there was a report of a similar issue with the same error message earlier this year.
I found this thread in a Github Issue report for the CLI where there may be some relevant solutions. I would recommend opening an issue there if the thread doesn't help resolve the issue or in the Github repo for our Node.js library here. On the forums, my team can help with basic troubleshooting and unblocking when it comes to the API, but opening an issue on Github for a specific library will get you in touch with the developers of the library directly as well as other users who might be able to assist. I can't guarantee that each issue will be responded to directly by our developers, but this is the best place to get help when the issue is related to a specific library.
Hope this helps!
Al | Shopify Developer Support
I found the solution. It was a route issue (app. For example). If route is proper then it is working fine