The device may be write-protected.
Remove any write-protection from the device, then try again.
The device may not have enough free space.
Delete unnecessary images to free enough space, then try again.