Google Drive API не позволяет отправлять файл - PullRequest
0 голосов
/ 10 июля 2020

Я получаю следующую ошибку при попытке загрузить файлы. Как я могу увеличить это число?

POST https://content.googleapis.com/drive/v2/files?alt=json

{"title":"4394480","mimeType":"application/vnd.google-apps.folder","labels":{"restricted":false},"params":{"fields":"items(id)","quotaUser":"U1VQRVI="},"parents":[{"id":"0B_driE4U__5YWlhvd3VGRm5famc"}]}

Response 403
{
"error": {
"errors": [
{
"domain": "global",
"reason": "numChildrenInNonRootLimitExceeded",
"message": "The limit for this folder's number of children (files and folders) has been exceeded."
}
],
"code": 403,
"message": "The limit for this folder's number of children (files and folders) has been exceeded."
}
}

Error message code:

"numChildrenInNonRootLimitExceeded"

1 Ответ

0 голосов
/ 10 июля 2020

Если вы проверяете страницу ошибок диска Google здесь

enter image description here

You will see that the problem is that your directory simply has to many files in it you can not add more. This is a hard limit from within google drive and nothing that can be changed Ограничения диска Google

создайте другой каталог и загрузите в него.

...