Skip to content
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

Reject Error #144

Open
sup-Udh opened this issue Jan 31, 2022 · 0 comments
Open

Reject Error #144

sup-Udh opened this issue Jan 31, 2022 · 0 comments

Comments

@sup-Udh
Copy link

sup-Udh commented Jan 31, 2022

The Error-

[
  {
    email: '[email protected]',
    status: 'rejected',
    _id: 'eb31ad9effcf4c0084484496fe3eff2d',
    reject_reason: 'unsigned'
  }
]

the code-

const mailchimp = require("@mailchimp/mailchimp_transactional")(
    "HIDDEN API KEY",
  );
 export default function test(){

    const message = {
        from_email: "[email protected]",
        subject: "Hello world",
        text: "Welcome to Mailchimp Transactional!",
        to: [
          {
            email: "[email protected]",
            type: "to"
          }
        ]
      };
      
      async function run() {
        const response = await mailchimp.messages.send({
          message
        });
        console.log(response);
      }
      run();

 }

does anyone know why this happens?

Screenshot from 2022-01-31 15-27-07

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant