Microsoft graph api Microsoft Graph OneDrive API在上载文件时返回504网关超时
我正在使用MicrosoftGraphOneDrive API上传一个文件,它以前一直工作到最近。Microsoft API服务器返回“504网关超时”。有什么想法吗Microsoft graph api Microsoft Graph OneDrive API在上载文件时返回504网关超时,microsoft-graph-api,Microsoft Graph Api,我正在使用MicrosoftGraphOneDrive API上传一个文件,它以前一直工作到最近。Microsoft API服务器返回“504网关超时”。有什么想法吗 $tokenCache=new\App\TokenStore\tokenCache; $accessToken=$tokenCache->getClientCredentialsAccessToken(); $graph=new\Microsoft\graph\graph(); $graph->setAccessToken($ac
$tokenCache=new\App\TokenStore\tokenCache;
$accessToken=$tokenCache->getClientCredentialsAccessToken();
$graph=new\Microsoft\graph\graph();
$graph->setAccessToken($accessToken);
$requestUrl=“/drives/{drive id}/items/root:/files/2019/466/466-1566268336-oYgN-subway.csv:/content”;
$localPath=“/var/www/html/laravel/public/attachments/466/a3Gc9Yx0ekNzC4zIxeGyvClEJrtXGFwDJIoS0FlM/466-1566268583-PvTZ-subway.csv”;
$result=$graph->createRequest('PUT',$requestUrl)
->上传($localPath);
dd(结果);
可能的重复可能的重复
Server error: `PUT https://graph.microsoft.com/v1.0/drives/{drive-id}/items/root:/files/2019/466/466-1566268336-oYgN-subway.csv:/content` resulted in a `504 Gateway Timeout` response