title: Python index error parse_results = result.get("Parsed Results")[0]
body: <p>I am using the OCRSpace API and I have never received this error message before. The OCR always has worked on this image but recently gave me <code>IndexError: list index out of range</code> for: <code>parse_results = result.get(&quot;Parsed Results&quot;)[0]</code>. The full code is:</p>
  <pre><code>url_api = &quot;https://api.ocr.space/parse/image&quot;
              result = requests.post(url_api,
                            files = {os.path.join(path, file_name): file_bytes},
                            data = {&quot;apikey&quot;: &quot;KEY&quot;,
                                    &quot;language&quot;: &quot;eng&quot;,
                                    #&quot;OCREngine&quot;: 2,
                                    &quot;isTable&quot;: True})
              result = result.content.decode()
              result = json.loads(result)
              parsed_results = result.get(&quot;ParsedResults&quot;)[0]
              global OCRText
              OCRText = parsed_results.get(&quot;ParsedText&quot;)
  </code></pre>
  <p>Any help would be appriciated!</p>