Skip to main content
All CollectionsKnowledge BaseEndpoint and SaaS AppsTroubleshooting - Endpoint and SaaS Apps
Download with inSyncDirectDownload utility fails with 401 Invalid Credentials error
Download with inSyncDirectDownload utility fails with 401 Invalid Credentials error
Updated over 7 months ago

This article applies to:

  • Product edition: inSync Cloud

Problem description

While trying to download data using inSyncDirectDownload utility, the download fails with the 401 Invalid Credentials error.

Cause

The error may appear due to one of the following reasons:

  • The credentials of the administrator account used in the following download command are incorrect.

    inSyncDirectDownload.exe -u <admin email id> -p <admin password> -l <location for downloading the data> -c <location of the csv file>
  • The administrator does not have enough privileges to download the legal hold users data.

  • The token copied from ‘Access token for inSync APIs’ may have expired or is incorrect.

Traceback

{snippet}
2018-09-24 13:15:35,295 [ERROR] - 401 Invalid credentials for webdav access while downloading metadata for user: abc.xyz@druva.com, device: TestDevice, and webdav url: https://testurl.com/webdav/2016-002614/GARG/
{snippet}

Resolution

Perform the following checks:

  • Ensure correct administrator credentials are used in the download command.

    inSyncDirectDownload.exe -u <admin email id> -p <admin password> -l <location for downloading the data> -c <location of the csv file>
  • Use either a Cloud Administrator or Legal Hold Administrator account to download the data.

  • Verify that the inSync token used in the download command is valid and not expired.

    inSyncDirectDownload.exe -u <admin email id> -p <Token> -l <location for downloading the data> -c <location of the csv file>
Did this answer your question?