koltyakov / sppull

📎 Download files from SharePoint document libraries using Node.js without hassles
MIT License
46 stars 16 forks source link

[Help needed] Download failing with 503 #67

Closed randomhash closed 8 months ago

randomhash commented 1 year ago

Hello, I'm trying to make use of this library, but something looks ain't right.

Basic code:

const r = await SPPull.download(
    {
      siteUrl: 'https://xxxx.sharepoint.com/sites/yyy',
      creds: {
        ondemand: true,
      },
    },
    {
      spRootFolder: 'Folder',
      dlRootFolder: './docs',
      createEmptyFolders: true,
    }
  );
  console.log(r);

The folder has ~1k files, folder processing is stuck and returns 503, same whenever I'm disabling the actual recursive processing Whenever I put another folder I get only an empty array :) Don't really understand what is happening