Send file using bot ms teams api

Andrey Chikishev 1 Reputation point

Good afternoon. I need help sending the file from the bot to the client. I made an implementation on this tutorial [
I receive a confirmation request to download the file, but the file is not downloaded
Screenshot from 2023-01-19 09-50-15

In the directory specified in contentUrl - empty -*/Documents/Applications/FileUpload/file-sample_100kB.doc

At the same time, there is a file in the list of files in the application - but it is also empty
Screenshot from 2023-01-19 09-51-04

Can you help me?

Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
2,920 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Prasad-MSFT 5,781 Reputation points Microsoft Vendor

    We tried to repro the issue by setting up below sample.
    However, for us file is being uploaded and downloaded successfully and we can access the file in 'Downloads' section.
    User's image

    User's image


    Prasad Das


    If the response is helpful, please click "Accept Answer" and upvote it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate. 

    0 comments No comments