Getting internal server error when trying to duplicate a project

When trying to duplicate a particular project. I get:

Unexpected error
Error: post /projects/…/clone failed: Internal Server Error