question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

undefined response for get order

See original GitHub issue

Hi I can get response directly via curl http://user:pass… But when i run codes below, getting res.body=‘’ , res.statusCode=200

  shopify.order
    .get(order_id)
    .then((data) => {
      console.log(data)
    })
    .catch((error) => {
      console.log(error)
    })

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6

github_iconTop GitHub Comments

2reactions
lpincacommented, Dec 8, 2020

Yes, please use the latest release of one of the supported release lines. Bug fixes are regularly applied by Node.js core team.

2reactions
capatinacommented, Nov 13, 2020

Had a similar issue with accessScopes.list() and downgrading to 3.3.1 fixed it. After 3.3.2 it’s not working.

Read more comments on GitHub >

github_iconTop Results From Across the Web

TypeError: order is undefined - json - Stack Overflow
I solved my issue with change "order.shippingAddress" to "order.ShippingAddress", I just check out the file models.py in the base folder and ...
Read more >
Cannot Read Property of Undefined in JavaScript - Rollbar
Undefined means that a variable has been declared but has not been assigned a value. In JavaScript, properties and functions can only belong...
Read more >
Promise.prototype.then() - JavaScript - MDN Web Docs
returns a value: p gets fulfilled with the returned value as its value. ... promise object are always called in the order they...
Read more >
Undefined variable: email in - WordPress.org
Hello, I have just installed this plugin on a freshly WP and I'm receiving this error when I get the Coupon Email: *...
Read more >
Solved: Extracting field from response body gives undefine...
... from a response body, which currently is giving me undefined ... what I'm doing wrong or where I can improve my script...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found