Using the API, I am checking in a file. Immediately thereafter, I wish to update the state of the file to released, however I need to wait for some interval while the properties are checked for consistency. I get an error regarding vaulting restrictions if I try to do this immediately (the interval appears to be about 15 seconds).
I tried calling GetFileStatusSetRestrictionsByMasterIds using an array with the masterID, however I get an error : System.Web.Services.Protocols.SoapException: 241.
Dim lMasterIDs(0) As Long
lMasterIDs(0) = file.MasterId
GetFileStatusSetRestrictionsByMasterIds( lMasterIDs, FileStatus.Unknown)
I would like to write a little loop, waiting until the consistency checks are completed so that I can proceed with the state change. Any ideas on how I can determine whether the consistency checks are done?
Thanks in advance.