Hello,
I'm using Python 3.6 and Dropbox API installed with pip under Linux 4.4.0-18362-Microsoft #476-Microsoft Fri Nov 01 16:53:00 PST 2019 x86_64 x86_64 x86_64 GNU/Linux (WSL Ubuntu).
I'm short it out everything to be able to add my own properties to the files but, everything fails in the last command, when I tried to execute:
```
try:
self.dbx_api.file_properties_properties_add(p_target_file, properties_add)
except dropbox.exceptions.ApiError as err:
sys.exit("ERROR: Add properties fail for " + p_target_file + " -- Property group alredy exist" + err)
```
It just crash retrieving me the next error: InternalServerError('520046d8f13fee9b6959c55e5a304c83', 500, '')
I would like to add that it takes a few seconds to raise that error, but my file is uploaded and my property_template is added to the user. Also, it should crash if I try to add the same template twice for the same user and I added it like 20 times without any problem, if I list my templates looks like this:
GetTemplateResult(name='media_file', description='Properties for media files (photos/videos)', fields=[PropertyFieldTemplate(name='date', description='Date when the file was upload', type=PropertyType('string', None)), PropertyFieldTemplate(name='attraction', description='Attraction where the media was done', type=PropertyType('string', None)), PropertyFieldTemplate(name='park', description='Park where the media was done', type=PropertyType('string', None)), PropertyFieldTemplate(name='uid', description='Uniq identifier for the object', type=PropertyType('string', None)), PropertyFieldTemplate(name='file_type', description='Type of file (video/photo)', type=PropertyType('string', None))])
GetTemplateResult(name='media_file', description='Properties for media files (photos/videos)', fields=[PropertyFieldTemplate(name='date', description='Date when the file was upload', type=PropertyType('string', None)), PropertyFieldTemplate(name='attraction', description='Attraction where the media was done', type=PropertyType('string', None)), PropertyFieldTemplate(name='park', description='Park where the media was done', type=PropertyType('string', None)), PropertyFieldTemplate(name='uid', description='Uniq identifier for the object', type=PropertyType('string', None)), PropertyFieldTemplate(name='file_type', description='Type of file (video/photo)', type=PropertyType('string', None))])
. . . much more like this
what could it be the problem? Do you thing maybe is because WSL, maybe the Python version or API? Thank you in advance.