The file has 100 histories. And Code is like below:
$request = $this->service->files->export(
$item['file_id'],
$item['export_mime_type'],
[
'alt' => 'media',
]
);
$request = $request
->withUri(new Uri($item->get('downloadUrl')))
->withHeader('X-Php-Expected-Class', null);
"downloadrl" is exportedLink of google doc history. And This requests always return 429 unknown. "This file might be unavailable right now due to heavy traffic" Is there any ways to resolve it
I have tried to wait a few seconds. but finally it will return 400
$item
? Can you provide the original script for obtaining$item
? From"downloadrl" is exportedLink of google doc history. And This requests always return 429 unknown.
, I'm worried that the reason for your current issue might be the script for obtaining$item
.$Item
is variable directly passed in this function. I don't think it is due to obtaining $item. Because this code works when history number is small like 6. The compele response is like below. Thanks for looking into it. ```I don't think it is due to obtaining $item.
, I deeply apologize that my guess was not correct for your situation.