Updates made via Box API SDK not appearing in box.com
I'm using the .NET SDK to update a file. The code is working without errors, and it returns the updated file in the code, but the updates are not showing on box.com
var boxResults = await client.SearchManager.QueryAsync("WAIT_TIMES", fileExtensions: new List<string>() { "json" });
var existingFile = boxResults.Entries.FirstOrDefault(x => x.Name == _fileName);
if (existingFile != null)
{
var id = existingFile.Id;
var updatedFile = await client.FilesManager.UploadNewVersionAsync(_fileName, id, fileStream);
}
Again, the above works, but when I look at box.com the file still shows that it was last updated yesterday and the contents are not updated.
Post is closed for comments.
Comments
1 comment