<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic UploadSessionFinishBatchCheckAsync - Path of Failed Entry in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/UploadSessionFinishBatchCheckAsync-Path-of-Failed-Entry/m-p/591566#M27504</link>
    <description>&lt;P&gt;Hello &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/10"&gt;@Greg-DB&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using UploadSessionFinishBatchCheckAsync API in my application.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;UploadSessionFinishBatchJobStatus resultstatus = await clientadmin.Files.UploadSessionFinishBatchCheckAsync(jobid);

if (resultstatus.AsComplete != null &amp;amp;&amp;amp; resultstatus.AsComplete.Value != null)
{
FileMetadata filemetadata = null;
foreach (var resultEntry in resultstatus.AsComplete.Value.Entries)
{
if (resultEntry != null)
{
//Process FileMetatData
if (resultEntry.AsSuccess != null &amp;amp;&amp;amp; resultEntry.AsSuccess.Value != null)
{
filemetadata = resultEntry.AsSuccess.Value;
string path = filemetadata.PathDisplay.&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I can I get Path of the result entry that completed successfully.&lt;BR /&gt;I need to identify the path of the the result entry that failed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;UploadSessionFinishError finisherror = resultEntry.AsFailure.Value;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;finisherror does not give the path of the entry that failed.&lt;BR /&gt;finisherror.AsPath.Value also does not provide that to me.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How do I get the Path of the result entry that was a failure ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;Gagan&lt;/P&gt;</description>
    <pubDate>Tue, 26 Apr 2022 12:50:44 GMT</pubDate>
    <dc:creator>gagsbh80</dc:creator>
    <dc:date>2022-04-26T12:50:44Z</dc:date>
    <item>
      <title>UploadSessionFinishBatchCheckAsync - Path of Failed Entry</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/UploadSessionFinishBatchCheckAsync-Path-of-Failed-Entry/m-p/591566#M27504</link>
      <description>&lt;P&gt;Hello &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/10"&gt;@Greg-DB&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using UploadSessionFinishBatchCheckAsync API in my application.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;UploadSessionFinishBatchJobStatus resultstatus = await clientadmin.Files.UploadSessionFinishBatchCheckAsync(jobid);

if (resultstatus.AsComplete != null &amp;amp;&amp;amp; resultstatus.AsComplete.Value != null)
{
FileMetadata filemetadata = null;
foreach (var resultEntry in resultstatus.AsComplete.Value.Entries)
{
if (resultEntry != null)
{
//Process FileMetatData
if (resultEntry.AsSuccess != null &amp;amp;&amp;amp; resultEntry.AsSuccess.Value != null)
{
filemetadata = resultEntry.AsSuccess.Value;
string path = filemetadata.PathDisplay.&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I can I get Path of the result entry that completed successfully.&lt;BR /&gt;I need to identify the path of the the result entry that failed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;UploadSessionFinishError finisherror = resultEntry.AsFailure.Value;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;finisherror does not give the path of the entry that failed.&lt;BR /&gt;finisherror.AsPath.Value also does not provide that to me.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How do I get the Path of the result entry that was a failure ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;Gagan&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2022 12:50:44 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/UploadSessionFinishBatchCheckAsync-Path-of-Failed-Entry/m-p/591566#M27504</guid>
      <dc:creator>gagsbh80</dc:creator>
      <dc:date>2022-04-26T12:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: UploadSessionFinishBatchCheckAsync - Path of Failed Entry</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/UploadSessionFinishBatchCheckAsync-Path-of-Failed-Entry/m-p/591722#M27505</link>
      <description>&lt;P&gt;The IList&amp;lt;UploadSessionFinishBatchResultEntry&amp;gt; Entries returned as &lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/P_Dropbox_Api_Files_UploadSessionFinishBatchResult_Entries.htm" target="_self"&gt;UploadSessionFinishBatchResult.Entries&lt;/A&gt; from &lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Files_Routes_FilesUserRoutes_UploadSessionFinishBatchCheckAsync_1.htm" target="_self"&gt;UploadSessionFinishBatchCheckAsync&lt;/A&gt; will be in the same order as the original IEnumerable&amp;lt;UploadSessionFinishArg&amp;gt; entries you passed to &lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Files_Routes_FilesUserRoutes_UploadSessionFinishBatchAsync_1.htm" target="_self"&gt;UploadSessionFinishBatchAsync&lt;/A&gt;, so you should refer to that original IEnumerable&amp;lt;UploadSessionFinishArg&amp;gt; entries to see which upload session each is referring to.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Apr 2022 14:11:34 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/UploadSessionFinishBatchCheckAsync-Path-of-Failed-Entry/m-p/591722#M27505</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2022-04-19T14:11:34Z</dc:date>
    </item>
  </channel>
</rss>

