The List item must be saved to the content database before adding an attachment. To resolve this problem, save the list item ...