POSKeyError: ‘No blob file’ using api.content.copy

109 Views Asked by At

I'm trying to copy objects from a collection into a folder. Each collection consists of documents, files, and images. When I ran the script, it throws the POSKeyError exception.

enter image description here

Any ideas on how to resolve this?

1

There are 1 best solutions below

0
Jens W. Klein On BEST ANSWER

If the blob file is not available in the file-system, there is no way to fix this, except restore from backup.

With https://pypi.python.org/pypi/experimental.gracefulblobmissing the missing file is ignored.