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 · 3 comments
Open

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

boxshrutisingh opened this issue Sep 24, 2024 · 3 comments
Assignees

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 = [];
}
@Meghana-MSFT
Copy link

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

@Meghana-MSFT
Copy link

@boxshrutisingh - This issue is being discussed offline with engineering team. Thank you.

@boxshrutisingh
Copy link
Author

I acknowledge that this is being discussed offline.

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

4 participants