Exception: Failed to send message: contextual project key required

Solved!
newuser
Level 2
Exception: Failed to send message: contextual project key required

It has been only a week since I started using DataIKU.

While trying to send an email from DSS notebook the below way, receive this "Exception: Failed to send message: contextual project key required" error

from dataiku.core.message_sender import MessageSender

s = MessageSender(channel_id='abc123', type='mail-scenario', configuration={})


s.send(sender="abc@abc.com",
recipient="def@def.com",
subject="Long Running Jobs",
message="Long Running Jobs")

0 Kudos
1 Solution
newuser
Level 2
Author

adding the project_key parameter to send solved the problem.

View solution in original post

0 Kudos
1 Reply
newuser
Level 2
Author

adding the project_key parameter to send solved the problem.

View solution in original post

0 Kudos
A banner prompting to get Dataiku DSS
Public