Convex Community

CC

Convex Community

Join the Convex Discord! Explore Convex, the open-source reactive database for app developers.

Join

support-community

show-and-tell

general

self-hosted

announcements

Unable to start push

After switching to better auth from convex im unable to push to convex. I get this error βœ– Error: Unable to start push to βœ– Error fetching POST .convex.cloud/api/deploy2/start_push 500 Internal Server Error: InternalServerError: Your request couldn't be completed. Try again later....

Can I skip some filter field in withIndex

Guys I have question about withIndex schema: ```typescript profile: defineTable(profile).index("by_filter", ["gender", "age"])...

Previews in monorepo

Is it even possible to configure previews (vercel) when using monorepo? I set everything the docs require but no data/functions are deployed to dashboard (when I go to the created preview everything is empty)

support for custom serialize / deserialize

will there be support for custom serialization / deserialization. i think this would be helpful for dates , decimaljs..etc. something like superjson https://github.com/flightcontrolhq/superjson is pretty standard already in trpc

sentry log stream

are there plans to support log streams to sentry's new logging product https://sentry.io/product/logs/

Error: Invalid deployment address: Must start with "https://" or "http://".Found "https://..."

I am trying to deploy my ios expo go app to production and have added all environment variables to convex, expo, and my .env.production files. However, when I test signing up a new user on the app, I get this error "Error: Invalid deployment address: Must start with "https://" or "http://". Found "https://(my prod convex url here)"". The user correctly shows up on my Clerk production dashboard, but I don't see any user being created on the Convex production or development dashboard due to this error. I've verified that my environment variables all match and are actually production env variables, whether that's on my convex environment variables configuration, the expo environment variables, or the .env.production file....

Workflows failing with error

All of our workflows on prod are failing with the error. Uncaught Error: Uncaught Error: Uncaught TypeError: Cannot assign to read only property 'console' of object '#<ii>' We didn't deploy. They randomly broke. Also broken on dev environments...

How should I store many images/video that belong to a listing

I am trying to build a listing table in convex with images. To do this I am thinking of using a media table. Each item in the table will be linked to a listingId(my listing table). Those images needed to ordered and there should be a thumbnail. 25 images max per listing. Should I create a storage bucket for each each image as conxex ai recommended then store an array of storage ids or should I do something else.

Exporting Record<string, RegisteredFunction>?

Is it possible to somehow not export registered functions directly, but records of Registered functions?

ENOENT 'C:\C:\...' when starting local instance on windows.

Any help would be greatly appreciated with this! I'm trying to run convex locally after having it running in the cloud. running pnpm convex dev --configure --dev-deployment local and now after that, running pnpm convex dev gives the following error:...

✘ [ERROR] Could not resolve "crypto"

hi guys, does anyone know how can i make sure i can simply use "crypto" from nodejs? i added "use node" at the top of the file but i keep seeing the same err: ✘ [ERROR] Could not resolve "crypto"...

Better-auth triggers are never called

export const authComponent = createClient<DataModel>(components.betterAuth, { verbose: true, triggers: { user: { onCreate: async (ctx, doc) => {...

Masterdata import/export

Im trying to export/import some masterdata from dev to prod. Ive made the exports, and have the jsonl files ready. im using the following command PS C:\Users\Niels\test\Project> npx convex import >> --url https://gr*******************.convex.cloud >> --table masterdata_brands `...

Convex Self Hosted: Server Error Couldn't find "schemaValidationProgress"

πŸ“ I originally posted this on self-hosted, but I believe this is a more appropriate place, so I'm reposting it here. Hi. I opened the Convex dashboard following the self-hosting README, but I get an error when opening http://localhost:6791/data....

Convex + Expo + Clerk (monorepo) - cannot read property 'useContext'

I am setting up Convex + Expo + Clerk (monorepo), and I am running into the following issue: ``` ERROR [TypeError: Cannot read property 'useContext' of null] ...

Put app userId into session / token (better-auth)?

It's possible to customize session in better-auth using customSession plugin. It's not officially supported in convex better-auth repo, but looks like it can be helpful to have app userId in session and not request it every time in mutations/queries/actions

convex dev command constantly redeploying.

```βœ” 15:49:43 Convex functions ready! (5.19s) Filesystem changed during push, retrying... βœ” 15:49:47 Convex functions ready! (3.99s) Filesystem changed during push, retrying... βœ” 15:49:52 Convex functions ready! (4.22s)...

401 Unauthorized: MissingAccessToken: An access token is required for this command.

Hello. I am following the guide here: https://docs.convex.dev/auth/authkit/ but when I try to run pnpm dev I get a crash with the following message: ``` npx convex dev...

Incorrect invalid type error?

When I try to exectute the following code in a convex function: ```ts export const updateAnimalVaccineList = mutationWithTriggers({ handler: async (ctx, args) => {...

Doc Issue: Wrong applicationID in WorkOS AuthKit example

Hey Convex team πŸ‘‹ I noticed a small but important issue in the AuthKit documentation (https://docs.convex.dev/auth/authkit/). In the example for auth.config.ts, the applicationID field is incorrectly included in the second provider configuration (the one with issuer: https://api.workos.com/user_management/${clientId}). Here’s the snippet from the docs:...