# Google photos upload doesn't work

**URL:** https://discourse.nodered.org/t/google-photos-upload-doesnt-work/11297
**Category:** General
**Created:** [19 May 2019 19:59 UTC](https://discourse.nodered.org/t/google-photos-upload-doesnt-work/11297 "2019-05-19T19:59:33Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![mike67](https://avatars.discourse-cdn.com/v4/letter/m/ce7236/32.png) [@mike67](https://discourse.nodered.org/u/mike67)
#### Post date: [19 May 2019 19:59 UTC](https://discourse.nodered.org/t/google-photos-upload-doesnt-work/11297/1 "2019-05-19T19:59:33Z")

</div>

Hello  
I try to upload an image to google photo using the dedicated node.  
So, I have an ip camera. From this camera, I can access to a file.  
I save this file on my node-red host, and i would like to upload this image on google photos.  
But I get no reply (no output) from the gphotos node, nd of course, the image is not uploaded.  
I have checked the option in my google account so that less secure apps can use it.  
What is my error?

`[{"id":"eb773c3a.e105c","type":"http request","z":"71709041.2dd8e","name":"Load JPG image from AXIS","method":"GET","ret":"bin","paytoqs":false,"url":"http://192.168.1.46/jpg/1/image.jpg","tls":"","proxy":"","authType":"basic","x":940,"y":1260,"wires":[["df473eb7.bee9d"]]},{"id":"df473eb7.bee9d","type":"file","z":"71709041.2dd8e","name":"Save image","filename":"/opt/plcnext/image.jpg","appendNewline":false,"createDir":false,"overwriteFile":"true","x":1170,"y":1260,"wires":[["4640ad66.b125d4"]]},{"id":"822a011f.8d11f","type":"inject","z":"71709041.2dd8e","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":720,"y":1260,"wires":[["eb773c3a.e105c"]]},{"id":"4640ad66.b125d4","type":"upload-photo","z":"71709041.2dd8e","name":"","fileName":"/opt/plcnext/image.jpg","albumName":"CCN","account":"97b8f27d.e5c2a","x":1360,"y":1260,"wires":[["6e4ee610.2a87c8"]]},{"id":"97b8f27d.e5c2a","type":"photo-account","z":""}]`

The logs of NodeRed returns this 🙂

```auto
19 May 20:10:40 - [info] [upload-photo:4640ad66.b125d4] /opt/plcnext/image.jpg
19 May 20:10:40 - [info] [upload-photo:4640ad66.b125d4] CCN
19 May 20:10:40 - [info] [upload-photo:4640ad66.b125d4] uploading: /opt/plcnext/image.jpgto album: CCN
(node:3008) UnhandledPromiseRejectionWarning: Error
    at new LauncherError (/opt/plcnext/.node-red/node_modules/chrome-launcher/src/utils.ts:31:18)
    at new ChromePathNotSetError (/opt/plcnext/.node-red/node_modules/chrome-launcher/dist/utils.js:42:9)
    at Object.linux (/opt/plcnext/.node-red/node_modules/chrome-launcher/src/chrome-finder.ts:132:11)
    at GPhotos.<anonymous> (/opt/plcnext/.node-red/node_modules/upload-gphotos/lib/index.js:118:62)
    at Generator.next (<anonymous>)
    at /opt/plcnext/.node-red/node_modules/upload-gphotos/lib/index.js:7:71
    at new Promise (<anonymous>)
    at __awaiter (/opt/plcnext/.node-red/node_modules/upload-gphotos/lib/index.js:3:12)
    at GPhotos.postLogin (/opt/plcnext/.node-red/node_modules/upload-gphotos/lib/index.js:115:16)
    at GPhotos.<anonymous> (/opt/plcnext/.node-red/node_modules/upload-gphotos/lib/index.js:106:28)
(node:3008) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 29)

```

any advice?

Thanks

---

<div class="post-metadata">

### Author: ![mike67](https://avatars.discourse-cdn.com/v4/letter/m/ce7236/32.png) [@mike67](https://discourse.nodered.org/u/mike67)
#### Post date: [4 September 2019 19:23 UTC](https://discourse.nodered.org/t/google-photos-upload-doesnt-work/11297/2 "2019-09-04T19:23:53Z")

</div>

Hi nodererers...  
No suggestion?

---

<div class="post-metadata">

### Author: ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)
#### Post date: [4 September 2019 19:31 UTC](https://discourse.nodered.org/t/google-photos-upload-doesnt-work/11297/3 "2019-09-04T19:31:52Z")

</div>

Log an issue on the nodes github page
