<?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 Re: when I use dropboxAPI to delete file, I get 500 error. why? in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/when-I-use-dropboxAPI-to-delete-file-I-get-500-error-why/m-p/745313#M32794</link>
    <description>&lt;P&gt;Thank you for your reply; when I run my app as user &lt;SPAN&gt;privilege ,All works well. but run as system privilege , I receive statusCode=500,All response message:&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;HTTP/1.1 500&amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Cache-Control: no-cache &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Content-Type: text/plain: charset-utf-8 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;server: envoy &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Content-security-policy: sandbox allow-forms allow-scripts&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;x-content-type-option: nosiff &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;accept-encoding: identity,gzip &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;x-dropbox-response-origin: far_remote&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;use code like: WinHttpConnect(hin,"api.dropboxapi.com",443,0);&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;WinHttpOpenRequest(**,"POST", 2/files/delete_v2.**);&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;WinHttpAddRequestHeader("Authorization: Bearer *******");&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;WinHttpAddRequestHeader("Content-type: application/json");&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; WinhttpSendRequest(**, "{\"path\": \"/work/path\"}");&lt;/P&gt;</description>
    <pubDate>Fri, 19 Jan 2024 01:55:36 GMT</pubDate>
    <dc:creator>mytest101</dc:creator>
    <dc:date>2024-01-19T01:55:36Z</dc:date>
    <item>
      <title>when I use dropboxAPI to delete file, I get 500 error. why?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/when-I-use-dropboxAPI-to-delete-file-I-get-500-error-why/m-p/744076#M32768</link>
      <description>&lt;P&gt;It work well,when App run as normal user privilege.&amp;nbsp; but when App run as system privilege, I got 500 error.&amp;nbsp; Code: WinHttpOpenRequest(hConnect,L"POST",L"2/files/delete_v2", L"HTTP/1.1", WINHTTP_NO_REFERER,WINHTTP_DEFAULT_ACCEPT_TYPES,WINHTTP_FLAG_SECURE);&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2024 09:59:50 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/when-I-use-dropboxAPI-to-delete-file-I-get-500-error-why/m-p/744076#M32768</guid>
      <dc:creator>mytest101</dc:creator>
      <dc:date>2024-01-17T09:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: when I use dropboxAPI to delete file, I get 500 error. why?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/when-I-use-dropboxAPI-to-delete-file-I-get-500-error-why/m-p/744272#M32774</link>
      <description>&lt;P&gt;I'll be happy to help with any issues you're having with the Dropbox API, but I'll need some more information. Please reply with:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;the steps to reproduce the issue, including relevant code snippet(s), but don't include any access or refresh token(s)&lt;/LI&gt;
&lt;LI&gt;the full text of any error or unexpected output&lt;/LI&gt;
&lt;LI&gt;5-10 sample 'X-Dropbox-Request-Id' response header values for the failures&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Wed, 17 Jan 2024 16:02:55 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/when-I-use-dropboxAPI-to-delete-file-I-get-500-error-why/m-p/744272#M32774</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2024-01-17T16:02:55Z</dc:date>
    </item>
    <item>
      <title>Re: when I use dropboxAPI to delete file, I get 500 error. why?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/when-I-use-dropboxAPI-to-delete-file-I-get-500-error-why/m-p/745313#M32794</link>
      <description>&lt;P&gt;Thank you for your reply; when I run my app as user &lt;SPAN&gt;privilege ,All works well. but run as system privilege , I receive statusCode=500,All response message:&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;HTTP/1.1 500&amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Cache-Control: no-cache &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Content-Type: text/plain: charset-utf-8 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;server: envoy &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Content-security-policy: sandbox allow-forms allow-scripts&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;x-content-type-option: nosiff &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;accept-encoding: identity,gzip &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;x-dropbox-response-origin: far_remote&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;use code like: WinHttpConnect(hin,"api.dropboxapi.com",443,0);&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;WinHttpOpenRequest(**,"POST", 2/files/delete_v2.**);&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;WinHttpAddRequestHeader("Authorization: Bearer *******");&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;WinHttpAddRequestHeader("Content-type: application/json");&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; WinhttpSendRequest(**, "{\"path\": \"/work/path\"}");&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jan 2024 01:55:36 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/when-I-use-dropboxAPI-to-delete-file-I-get-500-error-why/m-p/745313#M32794</guid>
      <dc:creator>mytest101</dc:creator>
      <dc:date>2024-01-19T01:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: when I use dropboxAPI to delete file, I get 500 error. why?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/when-I-use-dropboxAPI-to-delete-file-I-get-500-error-why/m-p/745542#M32796</link>
      <description>&lt;P&gt;Thanks for following up. Can you please share the rest of the requested information so we can look up these errors? Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jan 2024 14:43:26 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/when-I-use-dropboxAPI-to-delete-file-I-get-500-error-why/m-p/745542#M32796</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2024-01-19T14:43:26Z</dc:date>
    </item>
  </channel>
</rss>

