Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

moveItemsToTrash Api error SyntaxError: "undefined" is not valid JSON #19

Open
bartczar opened this issue Jun 28, 2024 · 0 comments
Open

Comments

@bartczar
Copy link

Doing some massive cleanup I try to move to trash all items from one folder.

Here is the log:

Source read complete
Found items: 17466
Items to process: 17466
Moving 17466 items to trash
Processing 500 items
Processing 500 items
Processing 500 items
Processing 500 items
Processing 500 items
moveItemsToTrash Api error SyntaxError: "undefined" is not valid JSON
SyntaxError: "undefined" is not valid JSON

Then I retry the same operation:
Source read complete
Found items: 15466
Items to process: 15466
Moving 15466 items to trash
Processing 500 items
Processing 500 items
Processing 500 items
Processing 500 items
Processing 500 items
moveItemsToTrash Api error SyntaxError: "undefined" is not valid JSON
SyntaxError: "undefined" is not valid JSON

So it seems that retrying helps and hopefully I will be able to delete it all after several retries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant