You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
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
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.)?
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
}
}
}
The text was updated successfully, but these errors were encountered: