"Name is invalid" Error, but its actually valid!

Context: Backing up WhatsApp folder from Android to Windows

But the files don’t actually end in a space or period!

The screenshot and log entry both clearly show the file name ending with a period. This is an Android WhatsApp special, unfortunately.

But with file explorer open on the left it shows thats part of the file extension, not the name

Those are other files that actually do have a file extension and have been synced without error. The errored files are not shown in the file explorer, because they have a name that is not possible on Windows, so they have not be been synced to this computer.