<?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 Error Method is not implemented in Discuss Dropbox Developer &amp; API</title>
    <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Error-Method-is-not-implemented/m-p/737631#M3815</link>
    <description>&lt;P&gt;Hi !&lt;BR /&gt;I write a code that generate Access Token. It is in JSON format but I extract only Access token&amp;nbsp; and that Access token I used to make Client and call Method.&lt;BR /&gt;Here I get access token by using this method&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;accessToken1 &lt;/SPAN&gt;= getAccess()&lt;SPAN&gt;; // Here I got Access Token,  getAccess() give only access token in string formate&lt;BR /&gt;System.out.println(accessToken1)  // It print Access Token &lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;Now I make a client&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;DbxRequestConfig config = DbxRequestConfig.&lt;SPAN&gt;newBuilder&lt;/SPAN&gt;(&lt;SPAN&gt;"dropbox/java-tutorial"&lt;/SPAN&gt;).build()&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;DbxClientV2 dbxClientV2 = &lt;SPAN&gt;new &lt;/SPAN&gt;DbxClientV2(config&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;accessToken1&lt;/SPAN&gt;)&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;and call method and print&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;try &lt;/SPAN&gt;{&lt;BR /&gt;    System.&lt;SPAN&gt;out&lt;/SPAN&gt;.println(&lt;SPAN&gt;"running"&lt;/SPAN&gt;)&lt;SPAN&gt;;  &lt;BR /&gt;&lt;/SPAN&gt;    System.&lt;SPAN&gt;out&lt;/SPAN&gt;.println(dbxClientV2.users().getCurrentAccount())&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;} &lt;SPAN&gt;catch &lt;/SPAN&gt;(UnsupportedOperationException uoe) {&lt;BR /&gt;    System.&lt;SPAN&gt;err&lt;/SPAN&gt;.println(&lt;SPAN&gt;"getCurrentAccount method not implemented: " &lt;/SPAN&gt;+ uoe.getMessage())&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;    &lt;SPAN&gt;// Handle or log the exception as needed&lt;BR /&gt;&lt;/SPAN&gt;} &lt;SPAN&gt;catch &lt;/SPAN&gt;(DbxApiException e) {&lt;BR /&gt;    &lt;SPAN&gt;throw new &lt;/SPAN&gt;RuntimeException(e)&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;} &lt;SPAN&gt;catch &lt;/SPAN&gt;(DbxException e) {&lt;BR /&gt;    &lt;SPAN&gt;throw new &lt;/SPAN&gt;RuntimeException(e)&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;}&lt;/PRE&gt;&lt;P&gt;I got the output:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;sl.Br4aZv3A4hhBNSSTZfPXQ6OrqJiqcbpQWW0FA3h1THML4DI0jT564fKrl7wvybXXt2sPYDs-C_N9dZoGotrvHCr3m7HZNEYQ86M_pgTUNem5-YN888QkTqLNgarWSDEnijjSb8-Qz6FA2LNHOQU8g5U&lt;BR /&gt;running&lt;BR /&gt;getCurrentAccount method not implemented: Method not implemented.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Means Access token print and then client generated enter to execute try block "running" (For debugging) is printed but when try to execute method then through error:&amp;nbsp; &amp;nbsp;getCurrentAccount method not implemented: Method not implemented.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;How I resolve this problem. I try to change dependencies but it not working.&lt;/P&gt;</description>
    <pubDate>Sun, 17 Dec 2023 18:40:15 GMT</pubDate>
    <dc:creator>Adi4</dc:creator>
    <dc:date>2023-12-17T18:40:15Z</dc:date>
    <item>
      <title>Error Method is not implemented</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Error-Method-is-not-implemented/m-p/737631#M3815</link>
      <description>&lt;P&gt;Hi !&lt;BR /&gt;I write a code that generate Access Token. It is in JSON format but I extract only Access token&amp;nbsp; and that Access token I used to make Client and call Method.&lt;BR /&gt;Here I get access token by using this method&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;accessToken1 &lt;/SPAN&gt;= getAccess()&lt;SPAN&gt;; // Here I got Access Token,  getAccess() give only access token in string formate&lt;BR /&gt;System.out.println(accessToken1)  // It print Access Token &lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;Now I make a client&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;DbxRequestConfig config = DbxRequestConfig.&lt;SPAN&gt;newBuilder&lt;/SPAN&gt;(&lt;SPAN&gt;"dropbox/java-tutorial"&lt;/SPAN&gt;).build()&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;DbxClientV2 dbxClientV2 = &lt;SPAN&gt;new &lt;/SPAN&gt;DbxClientV2(config&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;accessToken1&lt;/SPAN&gt;)&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;and call method and print&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;try &lt;/SPAN&gt;{&lt;BR /&gt;    System.&lt;SPAN&gt;out&lt;/SPAN&gt;.println(&lt;SPAN&gt;"running"&lt;/SPAN&gt;)&lt;SPAN&gt;;  &lt;BR /&gt;&lt;/SPAN&gt;    System.&lt;SPAN&gt;out&lt;/SPAN&gt;.println(dbxClientV2.users().getCurrentAccount())&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;} &lt;SPAN&gt;catch &lt;/SPAN&gt;(UnsupportedOperationException uoe) {&lt;BR /&gt;    System.&lt;SPAN&gt;err&lt;/SPAN&gt;.println(&lt;SPAN&gt;"getCurrentAccount method not implemented: " &lt;/SPAN&gt;+ uoe.getMessage())&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;    &lt;SPAN&gt;// Handle or log the exception as needed&lt;BR /&gt;&lt;/SPAN&gt;} &lt;SPAN&gt;catch &lt;/SPAN&gt;(DbxApiException e) {&lt;BR /&gt;    &lt;SPAN&gt;throw new &lt;/SPAN&gt;RuntimeException(e)&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;} &lt;SPAN&gt;catch &lt;/SPAN&gt;(DbxException e) {&lt;BR /&gt;    &lt;SPAN&gt;throw new &lt;/SPAN&gt;RuntimeException(e)&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;}&lt;/PRE&gt;&lt;P&gt;I got the output:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;sl.Br4aZv3A4hhBNSSTZfPXQ6OrqJiqcbpQWW0FA3h1THML4DI0jT564fKrl7wvybXXt2sPYDs-C_N9dZoGotrvHCr3m7HZNEYQ86M_pgTUNem5-YN888QkTqLNgarWSDEnijjSb8-Qz6FA2LNHOQU8g5U&lt;BR /&gt;running&lt;BR /&gt;getCurrentAccount method not implemented: Method not implemented.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Means Access token print and then client generated enter to execute try block "running" (For debugging) is printed but when try to execute method then through error:&amp;nbsp; &amp;nbsp;getCurrentAccount method not implemented: Method not implemented.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;How I resolve this problem. I try to change dependencies but it not working.&lt;/P&gt;</description>
      <pubDate>Sun, 17 Dec 2023 18:40:15 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Error-Method-is-not-implemented/m-p/737631#M3815</guid>
      <dc:creator>Adi4</dc:creator>
      <dc:date>2023-12-17T18:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: Error Method is not implemented</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Error-Method-is-not-implemented/m-p/737790#M3816</link>
      <description>&lt;P&gt;Is this the exact code you're running? I just tried this code myself and it worked successfully for me. When I plugged in an access token, it printed out the account information and did not throw that error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The &lt;A href="https://github.com/dropbox/dropbox-sdk-java/blob/9d3744ce1817556e1859041cd7f4e99cd2024f9f/core/generated_stone_source/main/src/com/dropbox/core/v2/users/DbxUserUsersRequests.java#L159" target="_blank"&gt;getCurrentAccount method is implemented here&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Dec 2023 16:28:17 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Error-Method-is-not-implemented/m-p/737790#M3816</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2023-12-18T16:28:17Z</dc:date>
    </item>
  </channel>
</rss>

