googleapis / googleapis/google-api-nodejs-client

Files are uploaded in the wrong folder if the folder name appears in the (sub)folder structure one more time.

Open
#3,056 0 comments 0 reactions 0 assignees View on GitHub
priority: p2 type: bug
Dominant language
TypeScript
Stars
12.2k
Forks
2k
Avg merge
1d 9h
Merged PRs (30d)
24

Description

Here, the topic has already been described in more detail and also how it can be reproduced.
[https://github.com/simatec/ioBroker.backitup/issues/742](https://github.com/simatec/ioBroker.backitup/issues/742)

The developer is sure that it is a bug in the Google API.
Can this be confirmed?

The issue is that the file upload works as long as there is no second folder with the same name in the complete folder structure (including subfolders) in Google Drive.

For example:
`~root~/TestBackup`
is the only folder in GDrive which is called "TestBackup" -> no problems.

However, if there is another folder
`~root~/TEST123/TestBackup`
everything that should be loaded to
`~root~/TestBackup`
will be loaded to
`~root~/TEST123/TestBackup`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.