Google Drive database backups fail with "Metadata part is too large."
During backup ploi creates an archive and uploads it via curl to /upload/drive/v3/files?supportsAllDrives=….
The request uses -F metadata=…;type=application/json and -F file=@…;type=application/gzip. The metadata field is only 104 bytes.
Looks like the problem is you don't add a uploadType=multipart to the request as described on the followind link - https://developers.google.com/workspace/drive/api/guides/manage-uploads?hl=ru
Manual request from the server with uploadType provided works fine.
Thanks
-
nikfedorov moved item to project Ploi Core
1 day ago -
nikfedorov created the item
1 day ago