Francismiko
CCConvex Community
•Created by Francismiko on 7/12/2023 in #support-community
The storage API returns a status code of 503
I upload files to storage through fetch, but sometimes the api status code of 503 will be returned to me (the occurrence rate is about 15%). I want to know whether this is my own reason or the server load limit of convex?
9 replies
CCConvex Community
•Created by Francismiko on 6/29/2023 in #support-community
How can I still deploy locally with Vercel?
My project is hosted on vercel, but I now have a need to deploy the convex synchronization data of prod first. The code cannot be submitted for synchronization because it is still under development. But I tried the local deployment and it will appear:
npx convex deploy
✖ Vercel build environment detected but CONVEX_DEPLOY_KEY is not set. Set this environment variable to deploy from this environment.
I have put the deploy key in .env.local. Is there any solution?3 replies
CCConvex Community
•Created by Francismiko on 6/27/2023 in #support-community
`useConvexAuth()` returns undefined (resolved: two versions of convex package loaded)
After I upgraded to v0.17.1, I had the problem shown in the title. This is my related error report and code:
14 replies
CCConvex Community
•Created by Francismiko on 6/26/2023 in #support-community
bug report for migration tool "codemod"
When using the automation script for migrating to version 0.17 at https://github.com/sshader/api_codemod, I discovered an issue in the codebase that is not severe but difficult to troubleshoot: the
singleQuoteRegex
function is intended to filter single quotes, not double quotes (presumably an oversight during code writing). Coincidentally, my project follows the development convention of using single quotes, which led to this problem.2 replies
CCConvex Community
•Created by Francismiko on 6/14/2023 in #support-community
What are the best practices for webhooks in actions?
Can I encapsulate the Stripe webhook into my convex Action when I'm using the Stripe integration project? I tried using httpAction before, but encountered verification errors that prevented it from working. Here is the API code in my Next.js application:
54 replies
CCConvex Community
•Created by Francismiko on 6/12/2023 in #support-community
About 'convex/server throws in browsers'
After I upgraded to version 0.15, just like the new features of the version update, I had an error like the one in the title, but I don't know how to effectively exclude the code I referenced irregularly in the front end. Any good suggestions?
10 replies
CCConvex Community
•Created by Francismiko on 5/23/2023 in #support-community
Better implementation of automated optimistic updates
When I implemented optimistic updates on my mutation functions, I found it difficult to reuse the common parts. And I had to implement it through the API
withOptimisticUpdate
. I'm using React & Next.js11 replies
CCConvex Community
•Created by Francismiko on 5/22/2023 in #support-community
How internalMutation is used in Scheduling functions in TypeScript
I'm running into some type issues. I followed the example in the documentation, but I don't understand how this type is defined, any better suggestions?
4 replies
CCConvex Community
•Created by Francismiko on 5/20/2023 in #support-community
Use other JWT templates in clerk
It works fine when I configure a JWT template called <convex>. But when I configure a JWT such as: <convex-xxx>, there will be a problem that the verification fails
5 replies
CCConvex Community
•Created by Francismiko on 5/19/2023 in #support-community
Local call dashboard environment variables
7 replies
CCConvex Community
•Created by Francismiko on 5/11/2023 in #support-community
What is the method to get storageId
I want to get { storageId } through an api and return it to the front end for use, any recommendations?
5 replies
CCConvex Community
•Created by Francismiko on 5/10/2023 in #support-community
Calling storage.generateUploadUrl from the client
10 replies
CCConvex Community
•Created by Francismiko on 5/9/2023 in #support-community
How Uppy integrates Convex's File Storage
3 replies
CCConvex Community
•Created by Francismiko on 5/7/2023 in #support-community
How do I choose a development model
8 replies