M-Waleed-Khan opened a new issue, #35009:
URL: https://github.com/apache/airflow/issues/35009
### Apache Airflow version
Other Airflow 2 version (please specify below)
### What happened
Hi, I am using SlackAPIFileOperator to share a file to slack from airflow,
The file is sent everytime but the airflow dag fails some times with larger
files > 150 MB file size and sometimes it fails even with 10 MB file size
The exception says
ERROR - An error occurred while calling SlackAPIFileOperator : Received a
response in a non-JSON format: <!DOCTYPE html>
<p>It seems like there’s a problem connecting to our servers, and we’re
investigating the issue.</p>
I trimmed both the comments above because they are long, I will paste the
actual whole error in comment.
### What you think should happen instead
_No response_
### How to reproduce
use SlackAPIFileOperator to share a file heres the code
`slack_operator_file = SlackAPIFileOperator(
task_id="fileshare_slack",
token=token,
channel=channel,
initial_comment=initial_comment,
filename=file_name,
filetype=filetype
)`
### Operating System
Mac and AWS MWAA both same
### Versions of Apache Airflow Providers
apache-airflow-providers-slack==4.2.0
apache-airflow-providers-http==2.0.3
apache-airflow-providers-amazon==2.4.0
### Deployment
Amazon (AWS) MWAA
### Deployment details
_No response_
### Anything else
_No response_
### Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]