Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

392
Views
SES envía credenciales faltantes en la configuración, si usa AWS_CONFIG_FILE, configure AWS_SDK_LOAD_CONFIG=1 en nodejs

Estoy enviando un correo a través de ses en nodejs.

 exports.sendEmail = async () => { const SESConfig = { accessKeyId: "xxxxxxx", accessSecretKey: "xxxxxxxxxxxxxx", region: "us-east-1", } AWS.config.update(SESConfig); // Create sendEmail params var params = { Destination: { ToAddresses: [ "xxx@xxx.xxx", /* more items */ ], }, Message: { /* required */ Body: { Text: { Charset: "UTF-8", Data: "TEXT_FORMAT_BODY", }, }, Subject: { Charset: "UTF-8", Data: "Test email", }, }, Source: "xxx@xxx.xxx" /* required */, }; var sendPromise = new AWS.SES({ apiVersion: "2010-12-01" }) .sendEmail(params) .promise(); // Handle promise's fulfilled/rejected states await sendPromise .then(function (data) { console.log('err', data) console.log(data.MessageId); }) .catch(function (err) { console.log('err', err) console.error(err, err.stack); }); };

Cuando llamo a esta función en mi api, dice Faltan credenciales en la configuración, si usa AWS_CONFIG_FILE, configure AWS_SDK_LOAD_CONFIG=1 He agregado el mismo correo desde y hacia el cual se verifica en aws ses

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!