Help using Convex Action
I'm trying to use an action because I'm calling external SDK and cryptr npm package.
But I got an error, I can't find what is wrong.
convex/facturapi.ts
convex/invoices.ts
Error
2 Replies
I think is something with the cryptr library...
I'm stll debugging
Looks that prcess.env.ENCRYPTION_SECRET is not beign picked up in this code. Are the env variables not allowed here?
I test the env variable in a nextjs endopoint and it is working.
It look like I can't get the env variable in the convex files
I just create the env variable in Convex Dashboard settings and its working now
glad to hear it