[BUG] Mailjet send_message method is not working
See original GitHub issueDescribe the bug Send_Message method from mailjet action is not working
To Reproduce Steps to reproduce the behavior:
- Create a workflow
- Use a mailjet integration with “Send an e-mail” option
- 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:
- Created a year ago
- Comments:15 (3 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hello @AlexeyArtemev, thanks for raising this issue. I can reproduce this bug.
We will add this to our Component backlog and make updates to this issue 🙏
@AlexeyArtemev Thanks for confirming. I was able to successfully send a message just now using that version of the action:
Looking at Mailjet’s documentation, it looks like a 401 response from their API corresponds to
when API key is suspended
.Can you double-check your API key, and possibly re-connect your account in Pipedream then try again?