-
Notifications
You must be signed in to change notification settings - Fork 698
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐛 BUG: Internal Error #3985
Comments
Internal Error isn't something being returned by Cloudflare, it's by Remix. They're swallowing the error (hence no logs) unless you have a variable of |
"Error: D1_ERROR: not authorized" |
Perhaps it's something about orm. |
Hey @willin - I just looked into the code you posted in drizzle-team/drizzle-orm#1270 - D1 doesn't support transactions nor savepoints in user code (see https://github.com/cloudflare/workerd/blob/e78561270004797ff008f17790dae7cfe4a39629/src/workerd/api/sql-test.js#L252-L253) - Drizzle appears to be using savepoints here. |
Which Cloudflare product(s) does this pertain to?
D1
What version(s) of the tool(s) are you using?
⛅️ wrangler 3.8.0
What version of Node are you using?
20
What operating system are you using?
Mac
Describe the Bug
Please provide a link to a minimal reproduction
willin/remix-cloudflare-pages-demo@aef7df9
# local dev pnpm db:schema pnpm db:init --local pnpm db:migration --local pnpm dev
# create table already done. 👌 pnpm db:init pnpm db:migration
Please provide any relevant error logs
None....
The text was updated successfully, but these errors were encountered: