I am accessing d1 within a durable

I am accessing d1 within a durable object alarm and getting some unknown error:
{
      "message": [
        "error with alarm",
        "Error: D1_TYPE_ERROR"
      ],
      "level": "error",
      "timestamp": 1676407526663
    }

I do not get this when running locally, and this try/catch looks like:
} catch (error) {
      console.error("error with alarm", error)
      throw error
    }

And the log block exceptions is an empty array:
image.png
Was this page helpful?