Google Drive : GetAccountInfo fails with error 404

Hello,

GetAccountInfo fails with error 404, because of wrong URL and missing parameter.

20230503T155814: Executing request [GET SPACE USAGE] with url: [https://www.googleapis.com/drive/v3/files//about]
20230503T155815: Response code from request [GET SPACE USAGE] is 404

procedure TTMSFNCCustomCloudGoogleDrive.GetAccountInfo;
begin
  { ... }
  Request.Path := FBasePath + '/about';
  // According to https://developers.google.com/drive/api/reference/rest/v3/about/get
  // should be
  // Request.Path := '/drive/v3/about';
  { ... }
  //  It should also have a "fields" request parameter with value "storageQuota,user".
  Request.Query := 'fields=storageQuota,user';
  { ... }
end;

And of course, TTMSFNCCustomCloudGoogleDrive.DoRequestGetSpaceUsage() must be fixed to read the result appropriately.

Hi,

Thank you for notifying!

The issue has been resolved and the update will be available with the next TMS FNC Cloud Pack release.