Exception: Failed to send message: contextual project key required
newuser
Registered Posts: 4 ✭✭✭✭
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")
Best Answer
-
adding the project_key parameter to send solved the problem.