Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSharp bot-file-upload TeamsFileUploadBot.FileUploadCompletedAsync always sends an error message #1176

Open
tracyboehrer opened this issue Feb 29, 2024 · 6 comments

Comments

@tracyboehrer
Copy link

            // var reply = MessageFactory.Text($"<b>File uploaded.</b> Your file <b>{fileConsentCardResponse.UploadInfo.Name}</b> is ready to download");
            // Added defects to check automation flow

            var reply = MessageFactory.Text($"<b>File upload failed.</b>");
            reply.TextFormat = "xml";
            reply.Attachments = new List<Attachment> { asAttachment };

            await turnContext.SendActivityAsync(reply, cancellationToken);
@Vaibhav-MSFT
Copy link

Hello @tracyboehrer ,
Thanks for raising your issue. We will check this at our end and will update you accordingly.

@tracyboehrer
Copy link
Author

@Vaibhav-MSFT No update required. I just found it testing something on the BF SDK side. The sample works fine except displays "File upload failed" all the time.

@ChetanSharma-msft
Copy link
Collaborator

Hello @tracyboehrer - Shall we close this issue now?

@tracyboehrer
Copy link
Author

@ChetanSharma-msft Up to you. However, always sending "File upload failed" when it worked isn't correct.

@Vaibhav-MSFT
Copy link

Hello @tracyboehrer ,
We have tested the nodejs sample for file upload and it's working fine, while the csharp sample after migrating to Teams toolkit we are facing some problems and currently looking into it.

@Vaibhav-MSFT
Copy link

Hello @tracyboehrer ,
The error has been fixed and the CSharp code is running fine, whereas the new sample with teams toolkit migration is still facing some errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants