title: Can't download PDF from google Drive - Dio error - 403 http Status error
body: <p>this is the How I Downloading PDF From google drive</p>
  <pre><code>    var directories = await patth.getExternalStorageDirectories(
          type: patth.StorageDirectory.documents);
      var path = directories[0].path;
      var directory = Directory(path + '/BacDocuments');
      await directory.create(recursive: true);
      File savefile =
      File(directory.path + '/' + url); // this is the path of our file / i put the name of the PDF in the files of the phone is the link
      await dio.download(
        url,
        savefile.path,
        onReceiveProgress: (rec, total) {
          setState((){
            percentage = rec / total;
          });
          if (percentage &lt; 0) { // cad il ya une error
            ShowToast('error');
            print('error');
  
            throw 'error';
          }
        },
  
      );
  </code></pre>
  <p>Notice :
  I put the PDF Public in google Drive
  this is an example of my link : <a href="https://drive.google.com/uc?export=view&amp;id=1EMvr33GMDtgLx95j7FNBZ-lK3yli4PXu" rel="nofollow noreferrer">https://drive.google.com/uc?export=view&amp;id=1EMvr33GMDtgLx95j7FNBZ-lK3yli4PXu</a>
  I receive 403 HTTP status error sometimes
  and sometimes I receive this error
  <a href="https://i.stack.imgur.com/wFimd.png" rel="nofollow noreferrer">enter image description here</a></p>