Why is my command line running convex stops
convex-auth: convexAuthNextjsToken next.js@v15 vercel production build error

Google oauth broken - tried to set up custom domain

Tansatack start with convex error
prodige@1.0.0 dev npx convex dev --once; npm-run-all --parallel dev:convex dev:start...
Permissions error on prod deployment even though I'm Project Admin
403 Forbidden: ReadOnlyAdminKey: You do not have permission to perform this operation.
I've logged out and back in on the dashboard without effect. Logging out and back in on the CLI did solve the problem there but it persists on the dashboard.
Is it expected that permission updates take a whhile and require logging out / back in on the CLI?...Many bytes read in a single function ERROR on ctx.db.get() where no element exceeds 5000 bytes
`migrations:runAll` not showing expected output
Convex Dashboard erroneously prevents Save in Edit Document UX

Help understanding 'Validator error: Expected ID for table...'
null
.
However when testing, when I want to test that my function returns null (or throws a specific error) if the ID in the args is invalid, I instead get the error 'Validator error: Expected ID for table...'
What is the purpose of this error? And why does it behave differently? Shouldn't passing 'not_a_valid_foo_id' for an arg fooId
with type v.id('foos')
and then calling ctx.db.get(fooId)
just return null
and I can handle that as I like? Why does it throw an error?...getAuthUserId behaves oddly
const userId = await getAuthUserId(ctx);
to get the current user ID and check that it matches user IDs within requests. Works great!
To my surprise though, while testing, it stopped working. So I added const userIdentity = await ctx.auth.getUserIdentity()
and found that the value returned by getAuthUserId(ctx)
was actually equal to subject
rather than _id
. How come? Is getAuthUserId
first trying to get the ID and if it doesn't exist it returns the session? It can't always be using subject
otherwise none of my functions would be working....cross-device link not permitted
Local-first sync with Convex
Production deployment down.
TS2589: Type instantiation is excessively deep and possibly infinite.
internal
and api
like here
```ts
await ctx.runMutation(internal.services.parkingSpot.createMany, {
data: spots.map((parkingSpot) => ({...
How to best model an eventually complete record in the schema?
Transferring project not allowed

Document in args VS db.get
Tanstack: How to call a Convex mutation from createServerFn?
Another call to this mutation changed the document