In what regions does Convex keep their servers?
Where is Convex hosting located? Is it global? Only US? Or Europe as well? Or maybe Asia?
It will be helpful to have this kind of information on the website.
Btw, love the product. Very very well thought of and DX is amazing. I got convexpilled 💯...
claude agent sdk
Has anyone successfully integrated Claude Agent SDK on convex? Its a beefy boy at 62mb zipped. When I've tried I run into an error:
...
✖ Error fetching POST https://YOUR_API/api/push_config 400 Bad Request: ModulesTooLarge: Hit an error while pushing:
Total module size exceeded the zipped maximum (49.52 MiB > maximum size 42.92 MiB)
✖ Error fetching POST https://YOUR_API/api/push_config 400 Bad Request: ModulesTooLarge: Hit an error while pushing:
Total module size exceeded the zipped maximum (49.52 MiB > maximum size 42.92 MiB)
Best practices for handling aggregated metrics and intermediate tables in Convex
We’re using Convex as our main database, and as our app grows, we’re starting to store a lot more metrics and analytics data (things like usage stats, event counts, and performance tracking).
Right now, we’re building intermediate tables with precomputed aggregations to keep queries fast — but it’s getting harder to maintain as the dataset expands.
I’m curious how other teams using Convex approach this:...
import table
I have not been able to access the dashboard or restart the local dev on one of my projects for about 3.5 hours now. The the loader just loads on the dashboard. There are no user messages & it never times out. I see no errors in the console or network panel. I get 503 errors for any command I try from the CLI. My other project dashboards load ok. The last push I see before the errors was at 18:23:04 (ET), then it's just retries and 503s. The app was working before I tried to restart it.
npx convex dev:
Error: Unable to start push to https://honor...fish-878.convex.cloud
✖ Error fetching POST https://honor...fish-878.conv...
Agent Tool Fails to Decrement Kanban Counter via Mutation
I'm encountering a persistent issue where an agent's tool is unable to decrement a value in my Kanban board's aggregate count.
Here's a breakdown of the problem:
I have a system for changing the status of cards on a Kanban board. This process involves decrementing the counter of the previous column and incrementing the counter of the next column.
When this status change is initiated from the frontend, it calls a trigger function. This trigger correctly handles both the decrement and increment operations, and the Kanban board updates as expected.
However, I have an agent that uses a tool to perform the same action. This tool calls a simple mutation function (not a trigger) to update the Kanban status. While the increment operation on the new column's counter works perfectly, the decrement operation on the old column's counter consistently fails....
Namespace support for workpool
Add support for "namespaces" to the Workpool component, allowing users to logically partition and manage separate pools of work within a single Workpool instance.
getAuthUserId() Returns Null Despite Successful OAuth Sign-In
getAuthUserId() Returns Null Despite Successful OAuth Sign-In
Issue:
getAuthUserId(ctx) returns null in all backend queries/mutations, even though OAuth sign-in succeeds and creates a valid session.
Environment:...Better-auth table queries & mutations
It is currently possible to use convex queries & mutation on the better-auth component?
```ts
export const findUser = query({
args: {},...
Not able to connect to convex backend
I'm encountering an issue where I'm unable to connect to my Convex backend from a Node.js script, although the same endpoint URL works perfectly when accessed directly from my web browser.
```
import { api } from "@backend/convex/_generated/api";
import { ConvexHttpClient } from "convex/browser";
...

Search and Aggregation
Hi guys, I already asked the AI about this https://discord.com/channels/1019350475847499849/1432872667039535177. Just wanted to also try here, what's the best strategy to combine text search and aggregation in a single query?
Two Convex Prod, one Vercel
Did some research on this but still couldn't find a clear answer, is there a way to deploy convex production to a preview branch in vercel? This is for one vercel to have two long lasting environment (prod and staging) in two separate convex projects.
combine list query results in one
I have
conversations that are linked to an account:
```ts
conversations: defineTable({
account_id: v.id("connected_accounts"),...Production deployment locked
Production deployment oceanic-kingfisher-7 has been locked for 30+ minutes by a hanging index backfill on by_user_workspace_folder index in the prompts table. Unable to deploy schema changes to cancel it. Request manual intervention to cancel backfill or rollback deployment.
Slowness
I experience very slow responses from Convex on my website.
Is is known issue and currently handled?...
Dev environment stuck in a timeout loop.
My dashboard and entire dev environment are stuck in a timeout loop. The dashboard has been showing a loading spinner for over 10 minutes and the console just repeats
...
Attempting reconnect in 573ms
WebSocket reconnected at t=405.7s after disconnect due to InternalServerError
Attempting reconnect in 573ms
WebSocket reconnected at t=405.7s after disconnect due to InternalServerError
How do I run schema migrations for everyone in my team's dev env?
According to the official documentation for migrations, we're supposed to modify schema, then migrate, then modify schema again:
1. Modify your schema to allow old and new values. Typically this is adding a new optional field or marking a field as optional so it can be deleted. As part of this, update your code to handle both versions. 2. Define a migration to change the data to the new schema. 3. Push the migration and schema changes....
Pagination, sorting and filtering
We're going through a migration to convex and one of our features has cards. We've filters for cards based on different values like owner, priority, dates, etc.
Users can sort by priority so that highest priority cards are available on top, then medium, low, etc. Users can also sort by creation date, due date, etc etc.
And lastly (the issue) we perform pagination, meaning that in the first page there may not be a high priority card but in the next page there are high priority cards available.
There are currently thousands of cards, meaning we can't perform a "collect all then sort then paginate" that won't work....
Cron Job Frequency question
I'm looking to repeatedly run a function that queries my gps api to get coordinate data and use that data to update convex records to create a realtime gps tracking application.
I read that the convex cron job frequency is only 1 minute. Would it be viable to create a recursive schedule that will keep running a new job every 5-10 seconds for this to continuously update the records? Or is there a better way to do this?
I'm new to working with scheduled tasks/cron jobs, apologies if this is a super basic question....