title: I'm getting this error while setting up MongoDB : String indices must be integers
body: <p>I don't know why this problem is only happening with me, most of my friends were able to run and use MongoDB without any interruptions using the same code. any help would be appreciated, Here's the code :</p>
  <pre class="lang-py prettyprint-override"><code>dab = (os.getenv('cluster'))['discord']
  collection = dab['toggle']
  </code></pre>