eric
CCConvex Community
•Created by eric on 8/16/2024 in #support-community
Custom node loader?
I'm having trouble taking a screenshot with Playwright, and it seems to be a common issue with typescript compiling the code. There are various "easier" workarounds that don't seem to work for me (like this) so I'm trying to do this one.
It wants me to do
node --loader @esbuild-kit/esm-loader
. Is there a way to specify this for Convex to run with that for my node actions?3 replies
CCConvex Community
•Created by eric on 4/10/2024 in #support-community
auth config file must include a list of provider credentials: Invalid provider domain URL
Using Convex 1.11.0 and trying to deploy a Next app to Vercel. The error I'm getting is:
✖ Error: Unable to push deployment config to https://___.convex.cloud
Error fetching POST https://___.convex.cloud/api/push_config 400 Bad Request: InvalidAuthConfig: Hit an error while pushing:
The pushed auth config is invalid: auth config file must include a list of provider credentials: Invalid provider domain URL "https://prod:___|___": invalid port number
I've tried to deploy a few times, being diligent about copy/pasting the correct CONVEX_DEPLOY_KEY. Curious any advice?
4 replies
CCConvex Community
•Created by eric on 12/25/2023 in #support-community
ArgumentValidationError only in prod deployment?
I have a relatively simple action that pulls some data and returns it (and on the client side it passes this array to a mutation). I added a try/catch so that if the error is a 401, I just return a string rather than an array of data. On the client side, I have an if response === “private” return; so it breaks early without trying to pass data onto the next mutation.
This works great locally but the moment I push it to prod, I get all of these ArgumentValidationErrors which functionally takes down the site. I’d love to be able to just test things out and figure out what’s really causing this but it’s hard to justify doing that when it takes down the site for every user on it .
Any tips or advice here? Not quite sure why this is happening or if there’s a way to recreate this locally!
8 replies
CCConvex Community
•Created by eric on 12/23/2023 in #support-community
Not able to get cron jobs working (won't show up in dashboard)
10 replies