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

Convex dashboard not updating

My convex dashboard is not updating, specifically the data tabs. I have confirmed that other development branches display new schemas and data but not my specific dev branch. All updates are received by convex cloud in the schema code popup. Additionally creating a new table using the dashboard do nothing, as well as deleting empty tables....
No description

Issues with better-auth component

Hi All, I am having some issues where I get these types of errors in a bunch of places on operations with the authClient with better-auth using the Component for Convex. It happens on the listOrganizations and the createOrganization specifically, so mabye its some issue with how i set up the organizations plugin? [Error: Uncaught TypeError: Cannot read properties of undefined (reading 'fields')...

hello there devs.

I was a free user with maxed out referals so i had 6M/6M functional calls but i exceeded my usage towards the end of the month so i switched to paid one. But as you can see i have only 1m/1m i thought the free one would carry over and i would pay for what i exceeded or is it something i do not understand. Any help is appreciated on this topic.
No description

iOS trust issues?

Has anyone seen Convex not working on older iPhones (e.g. iPhone 8, iOS 12–14)? On newer devices (iPhone 20/26 etc.), my app works fine, but on the iPhone 8 it just shows a black screen for ~1 minute, then shows the login screen, and after entering credentials nothing happens. I’m wondering if this is due to Convex using newer TLS/cipher suites that older iOS versions don’t fully support. Do we need to use a custom domain + Cloudflare (with DigiCert) to get around iOS trust issues?...

What does keepPreviousData option do in useQuery?

I can't find any documentation, and there is no typescript comment on the keepPreviousData option for useQuery I understand what the initialData does, but not this option when it is set to true...

Context Auth w/ SMS

Hey all, I was reading through the docs and noticed that there isn't clear-cut support for authentication with Context Auth specifically with SMS. Does anyone know if I actually missed the docs on this, or if maybe there's a suggested approach for supporting SMS OTPs? Thank you for your time and any assistance that you can provide!...

Better Auth + Convex Integration Issue: Users Not Persisting to Database

Convex + Better Auth Integration Issue (React Native/Expo) Environment: - React Native/Expo app - better-auth@1.3.23, @better-auth/expo@1.3.23, @convex-dev/better-auth@0.8.6, convex@1.27.3 (all latest)...

Issue with tool calls in Agent Component.

There is an issue with the Agent Component that when all the tool call error out the tool call record is not created as a result the tool call result is shown as success in the end UI Message and the args of the tool calls are also not stored in the database. I have raised the issue for the same on github here: https://github.com/get-convex/agent/issues/162.

Better Auth + Next.js Auth Setup seems slow

Hello Everyone I am testing with convex better auth setup with nextjs and I am seeing that for every page load I need to do a /api/auth/get-session and then a /api/auth/convex/token and its a bit slow imo (see the screenshot) is this desired behavior or am I doing something wrong? ...
No description

How to change npx convex dev from (cloud dev ) to other Deployment

so the problem witht this, i want my backend to run on other deployment (festive-perch-70) but i dont whenever i do npx convex dev it use my dev development cloud. please explain how can i do this ?
No description

Folder/File Naming/Structure Ideas

I want some ideas on how to organize a larger convex project. What file/folder naming conventions make sense? Where have people put internal mutations, queries, actions, typescript functions, http layer stuff, etc? In a way that makes sense to them, and isnt overly complicated....

Backward compatible changes

I'm developing mobile apps where function definitions may remain in use for a long time. Therefore, I need to ensure that all changes are backward compatible so as not to break older app versions. It would be helpful to have some checks for this when deploying to production.

Resend with React Email

Is it possible to send emails with react email components via Resends Convex Componentm?

resend for local deployments

has anyone used resend with inbucket before? I am trying to do this but no luck yet.

Very Fun Instance of Type instantiation is excessively deep and possibly infinite.ts(2589)

Encountering this error, the following is what I have done to try to resolve it. I have read this: ...

Offset initiated pagination

I'm working on an "infinite scroll" contacts list but I'm not sure that Convex supports the behavior I'm looking for: - I group contacts by the first letter of their name. I cache the A) number of groups B) number of contacts in each group C) total number of items. I'm using https://virtuoso.dev/scroll-to-group/ and the advantage of caching these three things is the user can jump to a letter and I can set the scrollbar size accurately as I know the total item count (it won't snap around as the user scrolls). This gives the user the illusion that the entire list of contacts is right there. I've looked at the getPage helper function for custom pagination, I think it can solve some of my problems, like jumping to a letter group directly but I don't think it solves all of my problems....

Convex Full Text Search query grammar

As Convex uses tantivy under the hood, is the query grammar supported? For example, "field1:apples" or "createdAt:>=2025-9-27" Are these supported, or are there plans to support them?...

Website crashes with Chrome on Linux

I can’t access the docs or the dashboard with Chrome at all. Both https://docs.convex.dev/home and https://dashboard.convex.dev/ show the page for half a second and then the whole tab crashes ("Aw, snap!" error message). I tried disabling all extensions and using incognito mode without success. I’m on Ubuntu 24.04.3, with Chrome 140 and everything is up to date. It works fine with Firefox. Can anyone reproduce it? I guess it’s a Chrome bug, but it’s pretty annoying and has been happening for at...

SSE Like async notification

like from scheduler to notify user something is finished or event happened i see that we don't need SSE since we already have full websocket but how to send ephemeral event to user what is best practice ?

Cannot upgrade dependencies to the latest versions for @convex-dev/auth and @auth/core

I’m getting the following when trying to update to the latest version of Convex Auth. ``` $ npm outdated Package Current Wanted Latest Location Depended by...