CabalDAO
CabalDAO
CCConvex Community
Created by CabalDAO on 11/20/2024 in #support-community
"New table referralOverview has IDs that conflict with existing table configColumns"
it worked. thank you!
11 replies
CCConvex Community
Created by CabalDAO on 11/20/2024 in #support-community
"New table referralOverview has IDs that conflict with existing table configColumns"
I followed the flow in verify
11 replies
CCConvex Community
Created by CabalDAO on 11/20/2024 in #support-community
"New table referralOverview has IDs that conflict with existing table configColumns"
Ok if someone can pls let me know when it's fixed, big blocker for us
11 replies
CCConvex Community
Created by CabalDAO on 11/20/2024 in #support-community
"New table referralOverview has IDs that conflict with existing table configColumns"
Am I wrong?
11 replies
CCConvex Community
Created by CabalDAO on 11/20/2024 in #support-community
"New table referralOverview has IDs that conflict with existing table configColumns"
Preview is always a new blank environment so i dont think replace matters
11 replies
CCConvex Community
Created by CabalDAO on 11/1/2024 in #support-community
Errors importing dayjs plugins
yea i added preflight controls and it works. Thanks!!
23 replies
CCConvex Community
Created by CabalDAO on 11/1/2024 in #support-community
Errors importing dayjs plugins
is this because i have to set the same route but for preflight?
23 replies
CCConvex Community
Created by CabalDAO on 11/1/2024 in #support-community
Errors importing dayjs plugins
Here's the cors I'm always setting for the response headers
const cors = {
"Access-Control-Allow-Origin": "*",
"Access-Control-Allow-Methods": "*",
"Access-Control-Allow-Headers": "*",
};
const cors = {
"Access-Control-Allow-Origin": "*",
"Access-Control-Allow-Methods": "*",
"Access-Control-Allow-Headers": "*",
};
23 replies
CCConvex Community
Created by CabalDAO on 11/1/2024 in #support-community
Errors importing dayjs plugins
ok I am able to make the fetch request but any time I try to pass a request with headers Authentication: Bearer {token} I get a cors error even though I'm making sure to set cors in any return from the endpoint
23 replies
CCConvex Community
Created by CabalDAO on 11/1/2024 in #support-community
Errors importing dayjs plugins
got it thank you very much!
23 replies
CCConvex Community
Created by CabalDAO on 11/1/2024 in #support-community
Errors importing dayjs plugins
Also in my http endpoint, it seems that if I throw a new ConvexError then my cors rules will fail since I'm not returing a new Response(null, {headers: ...}) with a cors object. How can I handle throwing ConvexErrors in an http endpoint that will include cors?
23 replies
CCConvex Community
Created by CabalDAO on 11/1/2024 in #support-community
Errors importing dayjs plugins
ah ok so what's the use case for httpClient?
23 replies
CCConvex Community
Created by CabalDAO on 11/1/2024 in #support-community
Errors importing dayjs plugins
Do i run httpClient.action or httpClient.query and pass a url as the parameter?
23 replies
CCConvex Community
Created by CabalDAO on 11/1/2024 in #support-community
Errors importing dayjs plugins
Totally separate question, if I've defined a http route and i want to call it from a client browser, i see I can do:
const httpClient = new ConvexHttpClient(
process.env.NEXT_PUBLIC_CONVEX_ACTIONS_URL!
);
const httpClient = new ConvexHttpClient(
process.env.NEXT_PUBLIC_CONVEX_ACTIONS_URL!
);
But then how do I use httpClient to call the action at the route I've defined?
23 replies
CCConvex Community
Created by CabalDAO on 11/1/2024 in #support-community
Errors importing dayjs plugins
Thanks very much
23 replies
CCConvex Community
Created by CabalDAO on 11/1/2024 in #support-community
Errors importing dayjs plugins
Am I making a mistake here?
23 replies
CCConvex Community
Created by CabalDAO on 11/1/2024 in #support-community
Errors importing dayjs plugins
Hmm turns out creating the convex.json file is what messed it up, seems to work ok without it
23 replies
CCConvex Community
Created by CabalDAO on 10/9/2024 in #support-community
TeamNotFound
that fixed it, thank you!
11 replies
CCConvex Community
Created by CabalDAO on 10/9/2024 in #support-community
TeamNotFound
ah i found it in general settings
11 replies
CCConvex Community
Created by CabalDAO on 10/9/2024 in #support-community
TeamNotFound
i see i can generate one for a production deploy but to do one for preview do i just go to the same place but choose any existing preview environment?
11 replies