Why am I running into timeouts?

My API responses are timing out. I have some long PDFs, but they’re digital not scans and I’m using async API endpoints, so I don’t see why I should be having a problem. My config has no preprocessors, uses region, box, label, and table methods. There are also some verifications on the doc type.

(cross posted from Slack by admin)

From what you describe, the mostly cause is that your table methods lack stops (an optional but highly recommended parameter). If they don’t have stops, Sensible searches for tables on all pages in the doc, which can slow performance. For more info, see the table method. here’s an example of a table with a defined stop:

{
  "fields": [
    {
      "id": "agile_risks_table",
      "anchor": "agile software",
      "type": "table",
      "method": {
        "id": "fixedTable",
        "columnCount": 4,
        "columns": [
          {
            "id": "col1_risk_description",
            "type": "string",
            "index": 0
          },
          {
            "id": "col4_rank_last_month",
            "type": "number",
            "isRequired": true,
            "index": 3
          }
        ],
        "stop": {
          "type": "startsWith",
          "text": "project managers"
        }
      }
    }
  ]
}

If that doesn’t solve your problem, let me know.