Unable to copy test in other project

I’m trying to copy a test from a different project but there’s always an error:
An error occured while trying to save the copy of the test in the database