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.

This library throws a very weird error when attempting to send an email while using Node.js `v18.0.0`

See original GitHub issue

The error:

node:internal/process/promises:288
            triggerUncaughtException(err, true /* fromPromise */);
            ^
[Error: Bad Request] {
  status: 400,
  details: { message: 'from parameter is missing' }
}
Node.js v18.0.0

The same code works adequately on previous node.js versions, and downgrading to an LTS helped resolve this issue, so it is indeed a problem with v18.0.0.

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
babsonmattcommented, May 12, 2022

Using global FormData solved this issue for me

0reactions
daviddavidcommented, Dec 15, 2022

Bruh. I don’t envy you for having to maintain all these docs, but getting this SDK to work is like a wild goose chase. @olexandr-mazepa

  1. The embedded code samples on the website are outdated
  2. The examples in this readme.md are wrong / inconsistent
  3. The only way to get this running is by going through the code and searching the issues for every error that pops up
Read more comments on GitHub >

github_iconTop Results From Across the Web

Zlib error when attempting to run npm install or yarn
So here's my suggestion: uninstall Node 14.18.x and try using Node 14.17.x instead. As a side note, you may find it useful to...
Read more >
Errors | Node.js v19.3.0 Documentation
For all EventEmitter objects, if an 'error' event handler is not provided, the error will be thrown, causing the Node.js process to report...
Read more >
15 Common Error Codes in Node.js and How to Fix Them
3. ETIMEDOUT ... The ETIMEDOUT error is thrown by the Node.js runtime when a connection or HTTP request is not closed properly after...
Read more >
Top 10 Most Common Node.js Developer Mistakes - Toptal
js appear straight out unusable for whatever you are trying to achieve. In this article, we will take a look at ten common...
Read more >
Common errors | npm Docs
It's most likely a temporary npm registry glitch. Check npm server status and try again later. If the error persists, perhaps the published...
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