Javascript error upon turning on Teams. Failed to get 'download' path

Mai, Aiden 11 Reputation points
2021-05-14T15:08:08.69+00:00

96670-javascriperrorteams.png

Many of our users start getting this when reboot the laptop and reopen Teams
Javascrip error occurred in the main process.
Uncaught Exception:
Error: Failed to get 'download' path

We tried to uninstalled Teams, delete Teams folder in Appdata. Redownload fresh install from Office. (Issue still persist)

Had anyone having this issue ? If so what are the other way to address it?

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.
3,349 questions
{count} votes

5 answers

Sort by: Most helpful
  1. Krist Wolfgang 6 Reputation points
    2021-06-22T10:05:06.663+00:00

    We observe the same problem, when Teams is started automatically and the VPN connection has not been established yet. Due to the GPO settings our download path is set to a network drive that does not exist before the VPN connection is established.

    When Teams tries to access the download path the Javascript error occures.

    This behaviour (Teams trying to access the download path during startup) can be observed since one or two month now. We didn´t have this problem before.

    1 person found this answer helpful.
    0 comments No comments

  2. Sharon Zhao-MSFT 25,106 Reputation points Microsoft Vendor
    2021-05-17T00:47:15.487+00:00

    @Mai, Aiden ,

    Do you download Microsoft Teams from this link?

    Someone shares the causes and solution for this issue.

    The causes are as below:

    Your program or its settings may have gone corrupt

    The Quality Windows Audio Video Experience service is not running

    Your app runs with administrator permissions

    You don’t have the right version of Microsoft Visual C++ Redistributable

    About how to fix this issue, please refer to the steps in this article.

    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.


    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. Dirk Hondong 871 Reputation points
    2021-05-18T15:19:09.893+00:00

    Hello @Mai, Aiden ,

    I'd go for the download location as I have mentioned in my comment. So check where the default download folder points to. If it wa/is a network share which is now not accessible for your users you may have this phenomenon.
    If you are able to change the path to a local folder, reboot your client and start Teams everything will be probably fine.

    Regards,
    Dirk


  4. Heinz Beer 1 Reputation point
    2021-05-25T13:19:49.177+00:00

    I got today on two notebooks the same issue.
    On one i was able to resolve the problem as it looks with uninstall and install Teams new.
    But on the other it is not working.
    And yea, we have a Folderredirection for the Download folder in our Policy and on the new Notebooks no second Partition exist where the policy show up for the download folder.
    But this was working now for month so, and no problem. And now it won't work anymore?
    Is some strange in my opinion.

    Also Strange is, that it has worked with a new installation of Teams on the first one.
    But maybe the profile is corrupt of the user?

    0 comments No comments

  5. Ian Turner 1 Reputation point
    2021-07-01T12:41:18.373+00:00

    I've seen his issue too. There was an update of Teams in early May which appears to have changed Teams to verify the location of the Downloads folder before it launches. If the location of the Downloads folder is on an unavailable network share then you receive this error. Changing the location to the local device resolves the issue, as does restoring access to the required network location.

    The tricky part is when it is a Folder Redirection policy that has set the location and your staff are now working remotely without a VPN...

    Note, there are similar errors to this one that have other fixes but this one specifically references that it's failed to get 'downloads' path.

    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.