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

166
Views
nodejs always returning null object of from Mandrill /senders/add-domain

I am using the mandrill api to automate some tasks for domain creation and verification using nodejs. Below is the part of my code that is having issue.

    const sendingDomainCommand = mandrill_client.senders.addDomain({domain: domain.join(".")}); // adding a domain in mandrill
    await sleep(10000)
    const sendingDomainResult = await sendingDomainCommand;
    console.log(sendingDomainCommand);

According to below mandrill/transactional api the senders/add-domain should return a json response. https://mailchimp.com/developer/transactional/api/senders/add-sender-domain/

But in my case when I am printing the sendingDomainCommand it always shows null. I used the typeof to check the the type of this and it is object. can someone help me here please?

about 4 years ago · Santiago Trujillo
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!