Matt Luo
Matt Luo
CCConvex Community
Created by burnstony#1975 on 12/14/2024 in #support-community
Multi-part complicated forms
Are you describing a “form wizard”?
18 replies
CCConvex Community
Created by Ronin on 12/11/2024 in #support-community
Race condition error upon await ctx.auth.getUserIdentity();[revised post]
The correct way to call getUserIdentity()?
const identity = await ctx.auth.getUserIdentity();
if (identity === null) throw new Error("Unauthenticated");
const identity = await ctx.auth.getUserIdentity();
if (identity === null) throw new Error("Unauthenticated");
I see this code in https://docs.convex.dev/auth/functions-auth And in this Stack article, https://stack.convex.dev/testing-authenticated-functions-from-the-dashboard Ronin's workaround solution was to 1) remove throw new Error 2) add a query to spaces table before getUserIdentity(). We do not know why this workaround solution works.
19 replies
CCConvex Community
Created by Ronin on 12/11/2024 in #support-community
Race condition error upon await ctx.auth.getUserIdentity();[revised post]
No description
19 replies
CCConvex Community
Created by Ronin on 12/10/2024 in #support-community
[deprecated] Race condition error upon await ctx.auth.getUserIdentity();
Ronin is my colleague. To add on the description of this problem, we need help predicting the order of operations that a Convex function executes. We have faced this issue for months. This is our most common source of production issues. We are not aware of a predictable pattern of which users will face the issue. We do observe that 1) the users who sees this application error from the race condition always face this race condition problem. In other words, the user can keep refreshing all day and keep seeing the error. 2) And a user who does not face the race condition, will not be able to reproduce the race condition.
11 replies
CCConvex Community
Created by nikhildhoka on 12/6/2024 in #support-community
Sign in flow not working on deployment on AWS Amplify
Not off the top of my head. I think you need to go through each step in the auth/debug webpage the sshader referenced
29 replies
CCConvex Community
Created by nikhildhoka on 12/6/2024 in #support-community
Sign in flow not working on deployment on AWS Amplify
You also seemed to add some username field. Not sure what this is for
29 replies
CCConvex Community
Created by nikhildhoka on 12/6/2024 in #support-community
Sign in flow not working on deployment on AWS Amplify
This might be an issue between Clerk dev mode and Google dev mode
29 replies
CCConvex Community
Created by nikhildhoka on 12/6/2024 in #support-community
Sign in flow not working on deployment on AWS Amplify
No description
29 replies
CCConvex Community
Created by nikhildhoka on 12/6/2024 in #support-community
Sign in flow not working on deployment on AWS Amplify
What is your amplify deployment URL?
29 replies
CCConvex Community
Created by codebird on 12/3/2024 in #support-community
Convex's compatibility
Oh hmm, that seems to be more of an app rather than something about postgres itself
18 replies
CCConvex Community
Created by Matt Luo on 12/6/2024 in #support-community
Docs feedback: CLERK_SECRET_KEY is not findable
Oh okay, I don't remember what that environment variable is used for. I also don't know whether CLERK_SECRET_KEY is necessary for the steps in that particular webpage of authentication documentation. I would say it's worth adding CLERK_SECRET_KEY as plain text, and explaining what its purpose is
8 replies
CCConvex Community
Created by Matt Luo on 12/6/2024 in #support-community
Docs feedback: CLERK_SECRET_KEY is not findable
I found that CLERK_SECRET_KEY was in a screenshot in https://docs.convex.dev/auth/clerk
8 replies
CCConvex Community
Created by Matt Luo on 12/6/2024 in #support-community
Docs feedback: CLERK_SECRET_KEY is not findable
The reason why I was looking for this variable is because my teammate faced an application error in his Amplify deployment of a non-prod branch. So, in Cloudwatch we saw this error: 2024-12-06T17:42:34.613Z Error: Missing Clerk Secret Key or API Key. Go to https://dashboard.clerk.com and get your key for your instance. So then, we reviewed the environment variables in my Amplify app and saw: CLERK_SECRET_KEY So then, I went to search.Convex.dev to find the documentation about CLERK_SECRET_KEY so that I made sure it was setup correctly
8 replies
CCConvex Community
Created by Matt Luo on 12/6/2024 in #support-community
Docs feedback: CLERK_SECRET_KEY is not findable
Oh wait a second, is this CLERK_SECRET_KEY environment necessary?
8 replies
CCConvex Community
Created by nikhildhoka on 12/6/2024 in #support-community
Sign in flow not working on deployment on AWS Amplify
I don't know how it works in Vite, but the Next.js env var has a public modifier in the name: NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY
29 replies
CCConvex Community
Created by nikhildhoka on 12/6/2024 in #support-community
Sign in flow not working on deployment on AWS Amplify
Is this deployment for a production or non-production branch?
29 replies
CCConvex Community
Created by Sentinel | BossCultr on 11/26/2024 in #support-community
Pricing Plans
there's a pricing page on the convex.dev website
3 replies
CCConvex Community
Created by nikhildhoka on 11/19/2024 in #support-community
How to add a dynamic route to the httpRouter
Does the Convex documentation on the HTTP route help?
4 replies
CCConvex Community
Created by burnstony#1975 on 11/19/2024 in #support-community
Choosing a React Framework
You can use non-technical heuristics like going to each piece of your tech stack's communities and seeing what gets built and what people talk about
13 replies
CCConvex Community
Created by burnstony#1975 on 11/19/2024 in #support-community
Choosing a React Framework
a beginner would need to piece together a prelimanary tech stack and check for compatibility.
13 replies