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

Uploading a 0 byte file via drag & drop to Teams #2525

Open
boxshrutisingh opened this issue Sep 24, 2024 · 2 comments
Open

Uploading a 0 byte file via drag & drop to Teams #2525

boxshrutisingh opened this issue Sep 24, 2024 · 2 comments

Comments

@boxshrutisingh
Copy link

The method from teams getDragAndDropFiles does not return a file object when you upload a 0 byte file and upon debugging, it does not return files and neither an err. Do we know how to handle this scenario?

{
microsoftTeams.thirdPartyCloudStorage.getDragAndDropFiles(cacheId, (files, err) => {
console.log('files in here');
console.log(`files content: ${files}`);
if (err)
{
console.error(`Error retrieving files: ${JSON.stringify(err)}`);
files = [];
}
Copy link
Contributor

Hi boxshrutisingh! Thank you for bringing this issue to our attention. We will investigate and if we require further information we will reach out in one business day. Please use this link to escalate if you don't get replies.

Best regards, Teams Platform

@Meghana-MSFT
Copy link

@boxshrutisingh - Thank you for reporting this, we will check this and get back to you.

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

No branches or pull requests

2 participants