<?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: Chooser dropins.js Uncaught TypeError: JSON.parse is not a function in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Chooser-dropins-js-Uncaught-TypeError-JSON-parse-is-not-a/m-p/673007#M30361</link>
    <description>&lt;P&gt;From the error message, it seems that the issue is that JSON.parse is not set to a function. The Dropbox Chooser functionality does use JSON.parse, and that should be available built-in to the web browser as that's a standard function included in web browsers.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can't offer support for mootools or any other particular third party library in particular, as it's not made by Dropbox. If there's something that's removing or replacing JSON.parse though, I suggest refer to the documentation for it to see how you can avoid that, or otherwise not use whatever is doing so.&lt;/P&gt;</description>
    <pubDate>Thu, 30 Mar 2023 19:13:27 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2023-03-30T19:13:27Z</dc:date>
    <item>
      <title>Chooser dropins.js Uncaught TypeError: JSON.parse is not a function</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Chooser-dropins-js-Uncaught-TypeError-JSON-parse-is-not-a/m-p/672760#M30343</link>
      <description>&lt;P&gt;I have a feeling dropins.js conflicts with mootools because I'm getting a Javascript error when trying to use Chooser.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The button is inserted using&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;document.getElementById("DBContainer").appendChild(button);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After I click the button the items are loaded, I can select them but clicking cancel or choose does nothing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I close the dropbox pop up window the cancel function still runs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Uncaught &lt;SPAN class=""&gt;TypeError: &lt;SPAN class=""&gt;JSON.parse is not a function&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;h &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;A href="https://www.dropbox.com/static/api/2/dropins.js" target="_blank" rel="noopener"&gt;https://www.dropbox.com/static/api/2/dropins.js:&lt;SPAN class=""&gt;2&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN class=""&gt;r &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;A href="https://www.dropbox.com/static/api/2/dropins.js" target="_blank" rel="noopener"&gt;https://www.dropbox.com/static/api/2/dropins.js:&lt;SPAN class=""&gt;2&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN class=""&gt;addListener &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;A href="https://www.dropbox.com/static/api/2/dropins.js" target="_blank" rel="noopener"&gt;https://www.dropbox.com/static/api/2/dropins.js:&lt;SPAN class=""&gt;2&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN class=""&gt;t &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;A href="https://www.dropbox.com/static/api/2/dropins.js" target="_blank" rel="noopener"&gt;https://www.dropbox.com/static/api/2/dropins.js:&lt;SPAN class=""&gt;2&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN class=""&gt;p &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;A href="https://www.dropbox.com/static/api/2/dropins.js" target="_blank" rel="noopener"&gt;https://www.dropbox.com/static/api/2/dropins.js:&lt;SPAN class=""&gt;2&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN class=""&gt;createChooseButton &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;A href="https://www.dropbox.com/static/api/2/dropins.js" target="_blank" rel="noopener"&gt;https://www.dropbox.com/static/api/2/dropins.js:&lt;SPAN class=""&gt;2&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN class=""&gt;addListener &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;A href="https://www.dropbox.com/static/api/2/dropins.js" target="_blank" rel="noopener"&gt;https://www.dropbox.com/static/api/2/dropins.js:&lt;SPAN class=""&gt;2&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN class=""&gt;createChooseButton &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;A href="https://www.dropbox.com/static/api/2/dropins.js" target="_blank" rel="noopener"&gt;https://www.dropbox.com/static/api/2/dropins.js:&lt;SPAN class=""&gt;2&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;DIV class=""&gt;&amp;nbsp;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;How can I resolve this?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 30 Mar 2023 02:04:49 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Chooser-dropins-js-Uncaught-TypeError-JSON-parse-is-not-a/m-p/672760#M30343</guid>
      <dc:creator>ben__fisher</dc:creator>
      <dc:date>2023-03-30T02:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: Chooser dropins.js Uncaught TypeError: JSON.parse is not a function</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Chooser-dropins-js-Uncaught-TypeError-JSON-parse-is-not-a/m-p/673007#M30361</link>
      <description>&lt;P&gt;From the error message, it seems that the issue is that JSON.parse is not set to a function. The Dropbox Chooser functionality does use JSON.parse, and that should be available built-in to the web browser as that's a standard function included in web browsers.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can't offer support for mootools or any other particular third party library in particular, as it's not made by Dropbox. If there's something that's removing or replacing JSON.parse though, I suggest refer to the documentation for it to see how you can avoid that, or otherwise not use whatever is doing so.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2023 19:13:27 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Chooser-dropins-js-Uncaught-TypeError-JSON-parse-is-not-a/m-p/673007#M30361</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2023-03-30T19:13:27Z</dc:date>
    </item>
  </channel>
</rss>

