PDF attachment corrupted

I’ve attached a PDF document in the calender. After saving it and re-opening the calender entry and trying to topen the PDF document, it says PDF corrupted.
Any solution?