Convex Community

CC

Convex Community

Join the Convex Discord! Explore Convex, the fullstack TypeScript platform for developers and startup founders.

Join

support-community

show-and-tell

general

self-hosted

announcements

WebRTC with convex?

Is it possible to build audio and video call app edith convex? (And nextjs frontend) Hosted on vercel

Using 5MB excel file from convex file storage: Your request couldn't be completed. Try again later

I keep getting this error randomly when manipulating a 5MB excel file within an internal action. Is there a way to understand the underlying issue on action error for such error message so I could fix it? Also, should convex be able tom handle such file?

CONVEX_SITE_URL undefined in functions?

Seems process.env.CONVEX_SITE_URL inside queries is undefined? But the docs say that this system env var is always available inside convex functions?

Best Practice for Serving Assets URLs with File Extensions

Hello Convex community! I'm currently working on a project where I need to serve various assets such as images, textures, and GLB files from URLs that have proper extensions like .png, .jpg, and .glb. However, I'm struggling to find the best way to achieve this within the Convex framework. Could anyone provide guidance or best practices on how to properly serve these types of assets with the specified extensions? Any tips on handling URLs with these extensions would be greatly appreciated!...

How can I get return value from "use node" action inside mutation ?

How can I get return value from "use node" action inside mutation ? - I try thisctx.runAction but got error "runAction does not exist", - So I move to ctx.scheduler but can not get response from that // hashActions.ts...

Best practice for cleaning old events

Hi, I have a table which saves webhook IDs in order to validate if we already processed the event or not. Is there any best practice in order to clean this data? I assume we dont need all those events on the next day (or even sooner).

Error(s) in expo

I am relatively new to expo, only building my very first native app. I use a monorepo setup and install the backend in my expo app. Has anyone encountered such a thing before?
No description

Property in Query Filter & Cache Invalidation

Hello! Because of the great work Convex does at keeping information up-to-date, my app UI has a weird experience that I'm trying to figure out the best solution for solving. It is a "Tinder-like" experience where there is a stack of cards (react-native-deck-swiper) and a user can swipe left or down to remove a card from the stack. When this happens, the query cache is invalidated because the status of the card (a property selected in the query and used in filtering the cards during the query) is updated for this single card. Therefore, the cards are shuffled back to the original order which is annoying. ...

Convex with react native expo

can someone help me ? i made my table data in vs code on react native expo but in convex online website isn't showing...

Crypto createHmac support

Hi, does Convex env supports createHmac? Im trying to use it in http action in order to verify webhook but it seems like there is no support.

Trying to use the new Ai Agent Error

Hey im trying to use the ai agent that was just posted but im probably missing something because straight away im getting this error: code: const supportAgent = new Agent(components.agent, { thread: openai.chat("gpt-4o-mini"),...

Why is my command line running convex stops

so why is my development stopes and when i try to run it again with npx convex dev it returns Unexpected error when authorizing - are you connected to the internet? ✖ TypeError: fetch failed ...

convex-auth: convexAuthNextjsToken next.js@v15 vercel production build error

(breaking-change) in next.js v15 u have to await the headers and cookies. i have this function to get the current loged in user: export async function getCurrentUser_nextjs_use() { const token = await convexAuthNextjsToken(); if(!token) return null; const user = await fetchQuery(api.auth.currentUser, {}, {token});...
No description

Google oauth broken - tried to set up custom domain

Steps I took from https://labs.convex.dev/auth/advanced and https://docs.convex.dev/production/hosting/custom: Set up custom domain for actions in settings. Set up CUSTOM_AUTH_SITE_URL in preoduction settings env variables Changed the Authorized redirect URIs in google developer console...
No description

Tansatack start with convex error

i followed the guide , when i run , npm run dev , i get : npm run dev
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

A couple of minutes ago I was made Project Admin for a project. I want to deploy to the prod deployment of that project and add an env var through the dashboard. In both cases I get the following error message: 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?...

Can i retrieve storageId from image url

i want to get the storageid from image url

Many bytes read in a single function ERROR on ctx.db.get() where no element exceeds 5000 bytes

Hey so ive got a strange warning on a simple function thats just getting elements with a ctx.db.get query. Im wondering if this has to do with the query being called a lot from a parent mutation, but then I would expect the warning to only be there for the parent mutation (which by the way also shows a warning). The warnings are associated to the same request and the size of the element keeps going up, which again would make sense if the parent mutation is just piling on reads through this simple ctx.db.get...but my question is, why does the query get the warning too?...

`migrations:runAll` not showing expected output

I would have expected the following to show me the regular output of individual dry runs but for all migrations ``` npx convex run migrations:runAll '{dryRun: true}' [CONVEX ?(migrations:runAll)] [WARN] 'Running this from the dashboard? Here's some args to use:'...

Convex Dashboard erroneously prevents Save in Edit Document UX

Observed Behavior: Edit document panel shows disabled Save button with a validation message: Please fix the errors above to continue". Steps to reproduce:...
No description