Hello,
I am having the same issue on Catalina 10.15.17 trying to import pictures from my iPhone (iOS 12.4.8) to a network shared location using Image Capture.
I tried with 3 different protocols: SMB (v3), AFP and NFS, and the exact same error is triggered every time.
I tried on an old iMac running High Sierra, and the same scenario works (over any of those 3 protocols) without any error.
Also, on Catalina, importing to the local hard drive works fine as well.
Here is the error in Image Capture:
The operation couldn't be completed. (com.apple.ImageCaptureCore error -9956) (-9956).
An error occurred while importing. The item "IMG_5124.JPG" was not imported. And here the details from console:
Console logs for subsystem com.apple.ImageCapture - https://developer.apple.com/forums/content/attachment/2ba7793c-d4eb-4854-b3a0-b4d3a2fa2e66
The relevant part being:
default 20:03:53.373903-0500 PTPCamera 						icdevice | Failed E: 0x12322a/ A: 0xfffffffffffffffd - Received an invalid transaction size
Apple, please take a look at this, so many people are using NAS devices and such in order to store their pictures from multiple devices. MacOS should be able to do that as well as any other OS.
Thank you !