Umbraco Deploy errors when restoring from cloud to local environment

I’ve successfully migrated an Umbraco CMS project I’d built locally to the Umbraco Cloud dev environment, and both the front-end and backoffice look and function as they did in my local project. However, when I clone the project to work on it locally I run into endless Umbraco.Deploy.Core.Exceptions.ProcessArtifactException errors.
Here’s an example error message:

The source environment has thrown a
Umbraco.Deploy.Core.Exceptions.ProcessArtifactException with message:
Process pass #0 failed for artifact
umb://document-type-container/04d5207dd9aa44c7b2d6cabbd74563c8. It
might have been caused by an inner
Umbraco.Deploy.Core.Exceptions.EnvironmentException with message:
Failed to save container with the name ‘Elements’ for entity type
document-type-container’ with UDI
‘umb://document-type-container/04d5207dd9aa44c7b2d6cabbd74563c8’.

The following artifacts might be involved:

umb://document-type-container/04d5207dd9aa44c7b2d6cabbd74563c8

I’ve tried removing the specific artifacts mentioned in the error messages, but other similar errors keep popping up.
Hope someone can help,
Thanks,
Tom


This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/115130-umbraco-deploy-errors-when-restoring-from-cloud-to-local-environment