Hello,
The application is attempting to delete the exiting file’s metadata and create new metadata instance for the same file. This periodically results in WinError 10054: An existing connection was forcibly closed by the remote host.
try:
client.file(file_id=cloud_file.id).metadata().delete()
except:
pass
applied_metadata = client.file(file_id=cloud_file.id).metadata().create(file('metadata'])
Question is, what could be causing this error, is this a server configuration issue, API call timing, etc.