Hi everyone, I am testing out the API module local...
# api
f
Hi everyone, I am testing out the API module locally but I get a "Invalid or missing CALCOM_LICENSE_KEY environment variable" error. I have added a console log to the middleware that checks the license and it seems like it's correctly read from the env var, but then the call to
<https://console.cal.dev/api/license?key=my-license-key>
returns
valid:false
. What could be the issue?
z
Cacn you create a testing key using console.cal.dev? cc @Ali we should document that process
a
On it @zomars 🙏
f
I see, I was using an API key taken from a deployment I added on https://console.cal.com/ What's the difference?
z
In local development builds we check against our staging server. In production builds we check agains prod server