throw this error
Google_Exception
(list) unknown parameter: 'maxResults'
// code
$eod = new Eod;
$eod->user_id = auth()->user()->id;
$eod->save();
$folderName = time();
$donationInfo = Society::where('eod_id', $eod->id)->first();
$pdf = PDF::loadView('pdf.society', compact('donationInfo'));
$fileName = 'society_army-' . $eod->id . '.pdf';
Storage::disk('public')->put('downloads/donation_' . $folderName . '/' . $fileName, $pdf->output());
$fileAddress = storage_path().'downloads/donation_' . 'downloads/donation_' . $folderName . '/' . $fileName;
$file = new UploadedFile($fileAddress, 'file');
$request->files->set("file['.$j.']", $file);
$drive_result = $this->uploadToGoogleDrive($request, AppClient::find($request->client_id)->getFullNameAttribute(), $fileName, 'DonationReceipt');
my running website throwing this error while uploading the file on google drive. My logic is to create a pdf and uploaded it to google drive everything running fine for years but now I am seeing this error. Is anyone has any idea about this
question from:
https://stackoverflow.com/questions/65829000/google-drive-error-while-uploading-the-file-from-laravel 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…