-
Notifications
You must be signed in to change notification settings - Fork 237
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
Warning: a promise was rejected with a non-error #174
Comments
I'm getting the same thing.
results in: and console log: |
@gogbajbobo Did you figure it out? I'm having same problem as you can see from my comment above. |
@scole954387 I use a wrapper for every QBO request, like this:
|
@gogbajbobo Great thanks! I ended up using the exact same thing once I remembered I had followed along with a youtube playlist and had the code already that worked.😀 This is the youtube series here. If you can get past the bad background music and no audio it's a decent series for showing how to work with this package and the api. There's a lot left out and some code was changed off camera but all in all it helped me a lot and I'm a newbie to react/node. https://www.youtube.com/watch?v=ycZ38qgxNUc |
With Node.js v14 (14.6.0 in my case) any unsuccess query results in "Warning: a promise was rejected with a non-error". This is due to
err
is not the Error instance in https://github.com/mcohen01/node-quickbooks/blob/master/index.js#L2498.The text was updated successfully, but these errors were encountered: