Why is my D1 binding suddenly only a Fetcher?

As the title says I have no idea why my binding is now a Fetcher, I can not call prepare anymore and I have no idea why. Please can anyone help?
2 Replies
D4nk
D4nkOP8mo ago
Here are some logs
D1Database { fetcher: Fetcher {} }
[wrangler:inf] PUT /dapp/wallets/0 500 Internal Server Error (6ms)
X [ERROR] Error: D1_TYPE_ERROR: Type 'undefined' not supported for value 'undefined'
D1Database { fetcher: Fetcher {} }
[wrangler:inf] PUT /dapp/wallets/0 500 Internal Server Error (6ms)
X [ERROR] Error: D1_TYPE_ERROR: Type 'undefined' not supported for value 'undefined'
KV doe work as expected
DB: D1Database { fetcher: Fetcher {} },
KV: KvNamespace {}
DB: D1Database { fetcher: Fetcher {} },
KV: KvNamespace {}
kian
kian8mo ago
That error isn't related to Fetcher That's just saying one of the things you're passing to bind is undefined.
Want results from more Discord servers?
Add your server