You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been able to retrieve some actions when the only actions returned are paths read or updated. But I am getting exception when the action has a target. The library seems to be able to retrieve data from the endpoint, but the exception seems to happen when attempting to map the Action class to the data.
Here is my code that works sometimes:
var since = DateTime.Now.AddHours(-12);
var config = new FilesCom.FilesConfiguration()
{
BaseUrl = filesDotComApiSettings.Url,
ApiKey = filesDotComApiSettings.ApiKey
};
_=new FilesCom.FilesClient(config);
var paramters = new Dictionary<string, object>
{
{ "start_at", since.ToUniversalTime().ToString("u") }
};
var actions = Folders
.SelectMany(f =>
History.ListForFolder(f, paramters).ListAutoPaging()
.ToList())
.ToList();
I have had the same issue when using History.List(parameters)
System.AggregateException: One or more errors occurred. (Unexpected data received from uri:
Here is an example of a successful action retrieval where he data in tags is our data:
I have been able to retrieve some actions when the only actions returned are paths read or updated. But I am getting exception when the action has a target. The library seems to be able to retrieve data from the endpoint, but the exception seems to happen when attempting to map the Action class to the data.
Here is my code that works sometimes:
I have had the same issue when using
History.List(parameters)
Here is an example of a successful action retrieval where he data in tags is our data:
Here is an example of an UNsuccessful example:
The text was updated successfully, but these errors were encountered: