moveItemsToTrash Api error SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
using latest version of the tool, when going to perform move to trash, seeing below error
[11:24:37] Reading library [11:24:38] Found 499 items [11:24:39] Found 84 items [11:24:39] Found 297 items [11:24:41] Found 500 items [11:24:42] Found 500 items [11:24:43] Found 269 items [11:24:43] Source read complete [11:24:43] Found items: 2149 [11:24:43] Getting items' media info [11:24:43] Processing 2149 items [11:24:46] Filtering by space [11:24:46] Item count after filtering: 964 [11:24:46] Items to process: 964 [11:24:46] Moving 964 items to trash [11:24:46] Processing 500 items [11:24:46] Processing 464 items [11:26:46] moveItemsToTrash Api error SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data [11:26:46] makeApiRequest@moz-extension://ccfcdd4c-4ff1-4db3-84d1-e82220dcb6e2/userscripts/Google-Photos-Toolkit.user.js?id=e2321466-35b2-408d-85a2-094f19fe1e9b:1311:31
try setting Api Operation Batch Size in the advanced settings to a lower number
Getting the same error when attempting to add photos to new album where photos not in other albums.
Error in getAlbumPage: SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
API Batch Size = 50
[22:24:40] makeApiRequest@moz-extension://add09e04-9a33-4d40-823d-71de56d02997/userscripts/Google-Photos-Toolkit.user.js?id=eca728b7-d258-4171-adff-e26e01c1bf0d:1311:31 async*getAlbumPage@moz-extension://add09e04-9a33-4d40-823d-71de56d02997/userscripts/Google-Photos-Toolkit.user.js?id=eca728b7-d258-4171-adff-e26e01c1bf0d:1528:37 getAllItems@moz-extension://add09e04-9a33-4d40-823d-71de56d02997/userscripts/Google-Photos-Toolkit.user.js?id=eca728b7-d258-4171-adff-e26e01c1bf0d:2095:38 async*getAllMediaInAlbum@moz-extension://add09e04-9a33-4d40-823d-71de56d02997/userscripts/Google-Photos-Toolkit.user.js?id=eca728b7-d258-4171-adff-e26e01c1bf0d:2118:25 window["__f__me983t1u.vo"]/</excludeAlbumItems/<@moz-extension://add09e04-9a33-4d40-823d-71de56d02997/userscripts/Google-Photos-Toolkit.user.js?id=eca728b7-d258-4171-adff-e26e01c1bf0d:2832:53 excludeAlbumItems@moz-extension://add09e04-9a33-4d40-823d-71de56d02997/userscripts/Google-Photos-Toolkit.user.js?id=eca728b7-d258-4171-adff-e26e01c1bf0d:2830:24 method@moz-extension://add09e04-9a33-4d40-823d-71de56d02997/userscripts/Google-Photos-Toolkit.user.js?id=eca728b7-d258-4171-adff-e26e01c1bf0d:2747:42 applyFilters@moz-extension://add09e04-9a33-4d40-823d-71de56d02997/userscripts/Google-Photos-Toolkit.user.js?id=eca728b7-d258-4171-adff-e26e01c1bf0d:2779:33 getAndFilterMedia@moz-extension://add09e04-9a33-4d40-823d-71de56d02997/userscripts/Google-Photos-Toolkit.user.js?id=eca728b7-d258-4171-adff-e26e01c1bf0d:2668:40 async*actionWithFilter@moz-extension://add09e04-9a33-4d40-823d-71de56d02997/userscripts/Google-Photos-Toolkit.user.js?id=eca728b7-d258-4171-adff-e26e01c1bf0d:3003:39 runAction@moz-extension://add09e04-9a33-4d40-823d-71de56d02997/userscripts/Google-Photos-Toolkit.user.js?id=eca728b7-d258-4171-adff-e26e01c1bf0d:3366:16 window["__f__me983t1u.vo"]/</actionsListenersSetUp/<@moz-extension://add09e04-9a33-4d40-823d-71de56d02997/userscripts/Google-Photos-Toolkit.user.js?id=eca728b7-d258-4171-adff-e26e01c1bf0d:3402:17
I'm also getting the same error.
Browser: Firefox 144.0 Script version: 2.10.0
It seems to delete some of them, so running it multiple times does the job.
[09:55:48] moveItemsToTrash Api error TypeError: can't access property 0, response is null
[09:55:48] moveItemsToTrash@moz-extension://13c1d0e5-74fd-4af2-be4c-180ecbba24d3/userscripts/Google-Photos-Toolkit.user.js?id=6dbbc881-dfcf-4b19-9e81-b5cc21cfa1ea:1459:9
[09:55:48] moveItemsToTrash Api error SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
[09:55:48] moveItemsToTrash Api error SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
[09:55:48] moveItemsToTrash Api error SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data