# Invalid Value for UnsignedLong, file missing Date Modified

**URL:** <https://forum.rclone.org/t/invalid-value-for-unsignedlong-file-missing-date-modified/3466>\
**Category:** Suspected Bug\
**Created:** [August 4, 2017, 8:20pm UTC](https://forum.rclone.org/t/invalid-value-for-unsignedlong-file-missing-date-modified/3466 "2017-08-04T20:20:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rob\_Adams](https://forum.rclone.org/user_avatar/forum.rclone.org/rob_adams/32/921_2.png) [@Rob\_Adams](https://forum.rclone.org/u/Rob_Adams)\
**Post date:** [August 4, 2017, 8:20pm UTC](https://forum.rclone.org/t/invalid-value-for-unsignedlong-file-missing-date-modified/3466/1 "2017-08-04T20:20:33Z")

</div>

When trying to sync local to google cloud storage, I get the following error on a bunch of files:  
“Failed to copy: googleapi: Error 400: Invalid value for UnsignedLong: -86400000, invalid”

Looking at those files in particular, I noticed that none of them have an actual date modified. A "stat " returns something like this (in part):

Access: 2017-08-03 16:23:41.133589980 -0500  
Modify: 1969-12-30 17:00:00.000000000 -0600  
Change: 2017-08-03 16:23:29.235245076 -0500

Touching the file, or doing anything that causes the file system to store an actual Date Modified for that file fixes the problem, and then the file syncs just fine with rclone to google cloud. Is this something that should be fixed in rclone? For synching, I understand that it might not work correctly without that date, but to error out and not work at all seems unnecessary.

---

<div class="post-metadata">

**Author:** ![ncw](https://forum.rclone.org/user_avatar/forum.rclone.org/ncw/32/18_2.png) [@ncw](https://forum.rclone.org/u/ncw)\
**Post date:** [August 4, 2017, 11:29pm UTC](https://forum.rclone.org/t/invalid-value-for-unsignedlong-file-missing-date-modified/3466/2 "2017-08-04T23:29:52Z")

</div>

I can replicate this…

Can you make please make a [new issue on github](https://github.com/ncw/rclone/issues/new) so it doesn’t get lost please.

---

<div class="post-metadata">

**Author:** ![system](https://forum.rclone.org/uploads/default/original/2X/3/39ad3235f6ffec76ccd0c81616bd55697b4c300d.png) [@system](https://forum.rclone.org/u/system)\
**Post date:** [March 4, 2020, 12:40am UTC](https://forum.rclone.org/t/invalid-value-for-unsignedlong-file-missing-date-modified/3466/3 "2020-03-04T00:40:59Z")

</div>

Closed on March 4, 2020, 12:40am UTC


