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.

[BUG] Mailjet send_message method is not working

See original GitHub issue

Describe the bug Send_Message method from mailjet action is not working

To Reproduce Steps to reproduce the behavior:

  1. Create a workflow
  2. Use a mailjet integration with “Send an e-mail” option
  3. See an error after trying to send a mail

Expected behavior Mail in my mailbox

Additional context

TypeError
mailjet.connect is not a function
    at Object.client (file:///tmp/__pdg__/dist/code/0907c95835bf347a2fda5a3ef67ba07f0723c304a0c16cfc2e96f3c8851df52c/code/mailjet.app.mjs:53:22)
    at Object.sendMessage (file:///tmp/__pdg__/dist/code/0907c95835bf347a2fda5a3ef67ba07f0723c304a0c16cfc2e96f3c8851df52c/code/mailjet.app.mjs:77:19)
    at Object.run (file:///tmp/__pdg__/dist/code/0907c95835bf347a2fda5a3ef67ba07f0723c304a0c16cfc2e96f3c8851df52c/code/actions/send-message/send-message.mjs:80:31)
    at global.executeComponent (/var/task/launch_worker.js:142:53)
    at MessagePort.messageHandler (/var/task/launch_worker.js:613:28)

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:15 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
vunguyenhungcommented, Jun 28, 2022

Hello @AlexeyArtemev, thanks for raising this issue. I can reproduce this bug. FireShot Capture 050 - Pipedream - Connect APIs, Remarkably Fast - pipedream com

We will add this to our Component backlog and make updates to this issue 🙏

0reactions
dannyrooseveltcommented, Jul 1, 2022

@AlexeyArtemev Thanks for confirming. I was able to successfully send a message just now using that version of the action: Screenshot by Dropbox Capture

Looking at Mailjet’s documentation, it looks like a 401 response from their API corresponds to when API key is suspended. Screenshot by Dropbox Capture

Can you double-check your API key, and possibly re-connect your account in Pipedream then try again?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Method not allowed · Issue #79 · mailjet/mailjet-apiv3-php ...
I was trying to make a simple send message. The error I got was 405 method not allowed. But neither POST nor GET...
Read more >
Sending Mails using the Mailjet API with GAS - Stack Overflow
I would like to send mails via Google Apps Script using Mailjet. The problem is that there is no documentation at all on...
Read more >
Send an SMS Message - Mailjet for Developers
Send Message. With the Mailjet Send SMS API you can easily send transactional SMS messages to more than 50 countries. Create ...
Read more >
Send Message with Mailjet API on New Pipeline Event (Instant ...
In such cases, it is not necessary for the From Email to be verified. However, the information will be displayed in the inbox...
Read more >
User Manual — Mailgun API documentation
Both methods work great and support the same feature set, so choose one based on ... HTTP send will error with “parameter is...
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