Signature expired: is now earlier than error : InvalidSignatureException

后端 未结 10 2304
滥情空心
滥情空心 2020-12-05 04:45

I am trying a small example with AWS API Gateway and IAM authorization. The AWS API Gateway generated the below Endpoint :

https://xyz1234.execute-api.us-e         


        
10条回答
  •  粉色の甜心
    2020-12-05 04:52

    I was also facing this issue , added

    correctClockSkew: true

    and issue fixed for me

    const nodemailer = require('nodemailer');
    const ses = require('nodemailer-ses-transport');
    
    
    
    let transporter = nodemailer.createTransport(ses({
            correctClockSkew: true,
            accessKeyId: **,
            secretAccessKey: **,
            region: **
        }));
    

提交回复
热议问题