Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

shopify.order.cancel({ id }), name: "HTTPError", code: "ERR_NON_2XX_3XX_RESPONSE" #644

Open
Robogram opened this issue Jan 9, 2024 · 1 comment

Comments

@Robogram
Copy link

Robogram commented Jan 9, 2024

shopify.order
.cancel({ id })
.then((order) => {
res.send(order)
})
.catch((err) => res.send(err));

catch:
{
"name": "HTTPError",
"code": "ERR_NON_2XX_3XX_RESPONSE",
"timings": {
"start": 1704787314067,
"socket": 1704787314069,
"lookup": 1704787314090,
"connect": 1704787314122,
"secureConnect": 1704787314170,
"upload": 1704787314171,
"response": 1704787314319,
"end": 1704787314323,
"phases": {
"wait": 2,
"dns": 21,
"tcp": 32,
"tls": 48,
"request": 1,
"firstByte": 148,
"download": 4,
"total": 256
}
}
}

@Robogram Robogram changed the title shopify.order.cancel({ id }) returns HTTPError shopify.order.cancel({ id }), name: "HTTPError", code: "ERR_NON_2XX_3XX_RESPONSE" Jan 9, 2024
@lpinca
Copy link
Collaborator

lpinca commented Jan 13, 2024

The issue description is not very useful. Can you add more details? Are you using a specific API version? Did you try to do the same request with another HTTP client (curl, Postman, etc.)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants