You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, I am having an issue with creating entries in my db, and it only fails with this stacktrace:
error: Uncaught Error: Could not perform batched create operation.
throw new PentagonBatchOpError(
^
at withBatchedOperation (https://deno.land/x/[email protected]/src/batchOperations.ts:36:13)
at eventLoopTick (ext:core/01_core.js:183:11)
at async createMany (https://deno.land/x/[email protected]/src/crud.ts:135:41)
at async create (https://deno.land/x/[email protected]/src/crud.ts:124:11)
at async createImpl (https://deno.land/x/[email protected]/src/pentagon.ts:62:10)
it would be more helpful to provide more details on why the operation was failed when invoking res.commit().
The text was updated successfully, but these errors were encountered:
Hello, I understand your frustration with the errors being quite "cryptic". One of the contributing factors to this is that Deno KV doesn't return anything other than ok: false when an error occurs, so creating more helpful error messages is somewhat tricky.
We will keep this open for now, and at some time implement helper functions that tries to find which versionstamps / schemas are cuasing the operations to fail.
Btw, I can't access the playground for some reason, it just redirects me to the login page, or to my projects page... Is the playground marked as public?
Currently, I am having an issue with creating entries in my db, and it only fails with this stacktrace:
it would be more helpful to provide more details on why the operation was failed when invoking
res.commit()
.The text was updated successfully, but these errors were encountered: