Question:
I’m trying to change the parent folder of certain files with the File.updateFileDescriptor method under wix-media.v2. I’m passing it the file id and update according to the documentation on this page. This error message pops up:
validationError:
fieldViolations:
- field: options.fieldMask
description: must be an array
The method worked correctly for me a few weeks ago, so I’m assuming there is a new options argument that needs to be passed, but it is not in the documentation. Does anyone know how to solve this?
Product:
I’m using Wix Editor and editing code in Visual Studio.
What are you trying to achieve:
If it matters, I’m trying to sort visitor uploads into folders.