MS Teams: The file <....>.pdf Upload failed - file is empty!

Alex Ganev 6 Reputation points
2021-01-08T01:58:43.96+00:00

Hi! Please help!

Cant sent files into MS Teams private Chat message! (Chat section)

Text words are sent perfectely. Android Teams - files are sent perfectly!

It is just about PDF, docs, xls and others on Linux OS from *.deb package installation. The last PDF file size was 26 kB and it was definitely not empty! Error message: The file <....>.pdf Upload failed - file is empty!!

54692-screenshot-from-2021-01-03-20-41-30.png

OS version: lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.1 LTS
Release: 20.04
Codename: focal

uname -r
5. 8.0-34-generic

The part of LOG file while opening file from disk and getting the error message is attached.

54574-msteamslog.txt

Microsoft 365 and Office | Skype for Business | Linux
0 comments No comments
{count} vote

11 answers

Sort by: Most helpful
  1. Tobias Diaz 6 Reputation points
    2021-05-26T10:33:16.283+00:00

    I'm using Teams 1.4.00.7556 over Ubuntu 18.04.5 LTS and the same problem: I need to use web client to attach files (no matter the file type/extension) quickly because linux client reports "empty file".

    1 person found this answer helpful.
    0 comments No comments

  2. JimmyYang-MSFT 58,646 Reputation points Microsoft External Staff
    2021-01-08T07:01:08.85+00:00

    Hi @Alex Ganev ,

    Do you mean only PDF files cannot upload normally in Teams client?

    Have you tried to create new PDF files and upload it to see if this issue can be reproduced?

    Do you have the same issue when upload file in public Teams channel?

    In this case, we firstly recommend you clear your client cache by the following command:

    1.Cache folder on Linux
    ~/.config/Microsoft/Microsoft\ Teams\ -\ Insiders

    2.To remove cache folder
    rm -r ~/.config/Microsoft/Microsoft\ Teams\ -\ Insiders


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  3. Ostrožlík, Adam 1 Reputation point
    2021-01-22T14:51:54.37+00:00

    This is still the issue using Ubuntu 20.04 and Teams client. I dont have this problem using web client.


  4. Nikita Biryukov 1 Reputation point
    2021-03-03T19:55:32.847+00:00

    That's bug for sure. I've got the same issue. And also tried to delete everything inside ~/.config/Microsoft/Microsoft Teams/ and ~/.config/teams
    Here is my sys info
    OS: Ubuntu 20.04.2 LTS x86_64
    5.4.0-66-generic
    teams 1.3.00.30857
    Here is what I found in ~/.config/Microsoft/Microsoft Teams/log.txt
    Wed Mar 03 2021 22:50:52 GMT+0300 (Москва, стандартное время) <15212> -- info -- [renderWindowInfoEnricher]Falling back to original way of IPC for 504d2416-ad00-44b5-9bce-469f967ffc39 and channelName: notificat
    Wed Mar 03 2021 22:50:52 GMT+0300 (Москва, стандартное время) <15212> -- info -- NotificationsManager Page state change hidden -> passive
    Wed Mar 03 2021 22:50:59 GMT+0300 (Москва, стандартное время) <15212> -- info -- Notification with ID = 504d2416-ad00-44b5-9bce-469f967ffc39 was removed
    Wed Mar 03 2021 22:50:59 GMT+0300 (Москва, стандартное время) <15212> -- info -- notification manager: action taken for notification 504d2416-ad00-44b5-9bce-469f967ffc39
    Wed Mar 03 2021 22:50:59 GMT+0300 (Москва, стандартное время) <15212> -- info -- [renderWindowInfoEnricher]Falling back to original way of IPC for 504d2416-ad00-44b5-9bce-469f967ffc39 and channelName: notificat
    Wed Mar 03 2021 22:50:59 GMT+0300 (Москва, стандартное время) <15212> -- info -- [renderWindowInfoEnricher] ProfileType not found in notificationData, falling back to std main window
    Wed Mar 03 2021 22:50:59 GMT+0300 (Москва, стандартное время) <15212> -- info -- Purple toast timeout: SkypexType: Download, SkypexSubType: DownloadFailed
    Wed Mar 03 2021 22:50:59 GMT+0300 (Москва, стандартное время) <15212> -- info -- [renderWindowInfoEnricher] ProfileType not found in notificationData, falling back to std main window
    Wed Mar 03 2021 22:50:59 GMT+0300 (Москва, стандартное время) <15212> -- event -- panelaction: eventpdclevel: 1, Action.Gesture: , Action.Outcome: timeout, Action.Scenario: toasttimeout, Action.ScenarioType: tim
    Wed Mar 03 2021 22:50:59 GMT+0300 (Москва, стандартное время) <15212> -- info -- notification action taken, notificationId: 504d2416-ad00-44b5-9bce-469f967ffc39, actionType: 3, sourceThreadId: undefined, message
    Wed Mar 03 2021 22:50:59 GMT+0300 (Москва, стандартное время) <15212> -- event -- eventpdclevel: 1, name: desktop_notification_timeout, id: 504d2416-ad00-44b5-9bce-469f967ffc39, profileType: null, AppInfo.Langua
    Wed Mar 03 2021 22:50:59 GMT+0300 (Москва, стандартное время) <15212> -- info -- PurpleNotificationService: About to hide toast renderer
    Wed Mar 03 2021 22:50:59 GMT+0300 (Москва, стандартное время) <15212> -- info -- PurpleNotificationService: hide toast renderer
    Wed Mar 03 2021 22:50:59 GMT+0300 (Москва, стандартное время) <15212> -- info -- NotificationsManager Page state change passive -> hidden
    Wed Mar 03 2021 22:53:22 GMT+0300 (Москва, стандартное время) <15212> -- info -- Machine has been idle for 40 seconds
    W

    0 comments No comments

  5. Perico Palotes 1 Reputation point
    2021-03-18T17:45:49.187+00:00

    I have the same problem with Teams software in Ubuntu 20.04. Uploading .docx files are empty.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.