Hi @Sunil Keshari
Greetings & Welcome to the Microsoft Q&A forum! Thank you for sharing your query.
I understand your facing an error with exceeded limit. kindly follow these steps.
- Ensure that the file you're trying to send does not exceed Slack’s size limitations—1GB for file uploads and 1MB for message payloads. If the file is too large, consider reducing its size or compressing it before attempting to upload it again.
- The bot may not have the necessary permissions to send files or interact with Slack channels in the way you're trying.
- Confirm that your bot has the correct scope and authorization to upload and share files. Another helpful step is to test with smaller files to isolate the issue and confirm whether it's related to the file size.
Kindly refer this Size limit.
I hope you understand. And, if you have any further query do let us know.
Thank you!