You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/07/12 20:04:39 UTC

[GitHub] [airflow] tl-soonam-panda opened a new issue #16938: Airflow + AWS SES HTTP Api: Error Invalid type for parameter Source, value: None, type: , valid types:

tl-soonam-panda opened a new issue #16938:
URL: https://github.com/apache/airflow/issues/16938


   
   **Apache Airflow version**: v2.0.1
   
   **What happened**:
   
   I am trying to configure airflow to send an email using AWS SES(HTTP not SMTP) email backend. The configuration is done according to https://airflow.apache.org/docs/apache-airflow/stable/howto/email-config.html. But I always get an error "Invalid type for parameter Source".  
   This comes from AWS API where it validates the input source/from-email parameter, which should not be null. But, the airflow email API does not send this parameter code snippet below(ref: https://github.com/apache/airflow/blob/main/airflow/utils/email.py). So my question is how to send the source/from-email parameter. Is there any configuration parameter airflow config file or it takes from AWS IAM credential. I am using AWS IAM credential set with AIRFLOW__EMAIL__EMAIL_CONN_ID parameter in airflow.
   
   
   <!-- To reproduce the issue -->
   1. Try to configure SES HTTP API backend from airflow
   2. Create one EmailOperator and pass all the credentials.
   3. Internally the backed will be loaded and aws/ses.py will be called and the error will be thrown.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] uranusjr commented on issue #16938: Airflow + AWS SES HTTP Api: Error Invalid type for parameter Source, value: None, type: , valid types:

Posted by GitBox <gi...@apache.org>.
uranusjr commented on issue #16938:
URL: https://github.com/apache/airflow/issues/16938#issuecomment-879527304


   I think this is the same as #16166?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] potiuk commented on issue #16938: Airflow + AWS SES HTTP Api: Error Invalid type for parameter Source, value: None, type: , valid types:

Posted by GitBox <gi...@apache.org>.
potiuk commented on issue #16938:
URL: https://github.com/apache/airflow/issues/16938#issuecomment-882846264


   Duplicate of #16166 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] potiuk closed issue #16938: Airflow + AWS SES HTTP Api: Error Invalid type for parameter Source, value: None, type: , valid types:

Posted by GitBox <gi...@apache.org>.
potiuk closed issue #16938:
URL: https://github.com/apache/airflow/issues/16938


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] potiuk commented on issue #16938: Airflow + AWS SES HTTP Api: Error Invalid type for parameter Source, value: None, type: , valid types:

Posted by GitBox <gi...@apache.org>.
potiuk commented on issue #16938:
URL: https://github.com/apache/airflow/issues/16938#issuecomment-882846264


   Duplicate of #16166 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] potiuk closed issue #16938: Airflow + AWS SES HTTP Api: Error Invalid type for parameter Source, value: None, type: , valid types:

Posted by GitBox <gi...@apache.org>.
potiuk closed issue #16938:
URL: https://github.com/apache/airflow/issues/16938


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] potiuk commented on issue #16938: Airflow + AWS SES HTTP Api: Error Invalid type for parameter Source, value: None, type: , valid types:

Posted by GitBox <gi...@apache.org>.
potiuk commented on issue #16938:
URL: https://github.com/apache/airflow/issues/16938#issuecomment-882846264


   Duplicate of #16166 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] boring-cyborg[bot] commented on issue #16938: Airflow + AWS SES HTTP Api: Error Invalid type for parameter Source, value: None, type: , valid types:

Posted by GitBox <gi...@apache.org>.
boring-cyborg[bot] commented on issue #16938:
URL: https://github.com/apache/airflow/issues/16938#issuecomment-878124543


   Thanks for opening your first issue here! Be sure to follow the issue template!
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] potiuk closed issue #16938: Airflow + AWS SES HTTP Api: Error Invalid type for parameter Source, value: None, type: , valid types:

Posted by GitBox <gi...@apache.org>.
potiuk closed issue #16938:
URL: https://github.com/apache/airflow/issues/16938


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org