[Nexus 9 Q&A, Help & Troubleshooting] weenercow:
[Q] Stock ROM will not flash to device due to "remote: data length is too large"

Today I felt adventurous and decided to flash CyanogenMod 12 to my device. Everything went just fine and it was up and running. After about 3 hours of playing around I decided to go back to stock. This is where the problems arose. I downloaded the ROM from Google and ran the flash-all.sh file but it failed because the system partition was not large enough. I fiddled around until I gave up and decided to flash CyanogenMod back. I downloaded the recovery image as dictated by this article: wiki.cyanogenmod[dot]org/w/Install_CM_for_flounder and when I ran "fastboot flash recover openrecovery-twrp-2.8.4.0-flounder.img" in the terminal this was the output:

target reported max download size of 518205818 bytes
sending 'recover' (13116 KB)...
OKAY [ 0.813s]
writing 'recover'...
(bootloader) Device State : Unlocked
FAILED (remote: partition does not exist!)
finished. total time: 1.235s

I fully understood that flashing ROMs would void warranty and could brick my device and it seems I have paid the consequences. If it is of any help my boot loader is currently unlocked. If any of you could help me solve this problem I would be elated. I do not view myself as computer illiterate so I will do all that is asked of me and if necessary I can post more information, thanks!

Turns out I forgot a single y in recovery. Now I have a problem that when I run the flash-all.sh script provided by Google in the Stock ROM it fails:

XXX@XXX:~/Downloads/volantis-lrx22c$ ./flash-all.sh
< waiting for device >
target reported max download size of 518205818 bytes
sending 'bootloader' (2970 KB)...
OKAY [ 0.209s]
writing 'bootloader'...
(bootloader) Device State : Unlocked
(bootloader) zip header checking...
(bootloader) shift signature_size for header checking...
(bootloader) zip info parsing...
(bootloader) checking model ID...
(bootloader) start image[hboot] unzipping for pre-update check...
(bootloader) start image[bct] unzipping & flashing...
(bootloader) ...... Successful
(bootloader) start image[mts_preboot_prod] unzipping & flashing...
(bootloader) ...... Successful
(bootloader) start image[mts_prod] unzipping & flashing...
(bootloader) ...... Successful
(bootloader) start image[hboot] unzipping & flashing...
(bootloader) ...... Successful
(bootloader) start image[nvtboot] unzipping & flashing...
(bootloader) ...... Successful
(bootloader) start image[nvtbootwb0] unzipping & flashing...
(bootloader) ...... Successful
(bootloader) start image[tos] unzipping & flashing...
(bootloader) ...... Successful
(bootloader) start image[sp1] unzipping & flashing...
(bootloader) ...... Successful
(bootloader) start image[gp1] unzipping & flashing...
(bootloader) ...... Successful
(bootloader) start image[pt] unzipping & flashing...
(bootloader) ...... Successful
OKAY [ 5.249s]
finished. total time: 5.459s
rebooting into bootloader...
OKAY [ 0.021s]
finished. total time: 0.021s
archive does not contain 'boot.sig'
archive does not contain 'recovery.sig'
archive does not contain 'system.sig'
--------------------------------------------
Bootloader Version...: 3.43.0.0114
Baseband Version.....: N/A
Serial Number........: XXXXXXXXXXXXXXX
--------------------------------------------
checking product...
OKAY [ 0.003s]
checking version-bootloader...
OKAY [ 0.004s]
sending 'boot' (7812 KB)...
OKAY [ 0.600s]
writing 'boot'...
(bootloader) Device State : Unlocked
OKAY [ 0.734s]
sending 'recovery' (8434 KB)...
OKAY [ 0.616s]
writing 'recovery'...
(bootloader) Device State : Unlocked
OKAY [ 0.751s]
erasing 'system'...
OKAY [ 0.899s]
sending 'system' (1771684 KB)...
[B]FAILED (remote: data length is too large)[/B]
finished. total time: 3.627s

Any help on this?