Thanks @girish, but unfortunately the error is still the same.
ApiAuthStrategy - api key - Invalid or missing CALCOM_LICENSE_KEY environment variable
chopsol
Posts
-
No access to APIv2 due to missing licence key -
No access to APIv2 due to missing licence keyHello @james, yes. I already use enterprise features such as API keys and workflows, so the standard system knows my key very well.
-
No access to APIv2 due to missing licence keyI have a licence for Cal.com and I am trying to retrieve data via the API.
I have created an API key and authorized access to the API.
However, the following error is reported:ApiAuthStrategy - api key - Invalid or missing CALCOM_LICENSE_KEY environment variable
It does not matter whether you use the host name of the installation or the separate host names for the API server domain.
Here is an example of a call sent with the Authorization Bearer:Could it be that the env information for the API is defined elsewhere and that the licence key from the central configuration is not transferred there?
I am aware that API access is only possible with a valid licence and that debugging without a licence will probably not work without further ado. Therefore, I refer to this documentation: https://cal.com/docs/developing/guides/api/how-to-setup-api-in-a-local-instance, which lists a staging licence key. I hope this helps in analysing the problem.
Thank you very much in advance.
-
Debugging of Cal.com API - error_log missingI am currently trying to retrieve information from Cal.com via the API.
Unfortunately, when I call the API at https://termin.example.org/api/v2/booking, I always get an ‘Internal Server Error’.
In the Cloudron host logfile under /var/log/nginx/access.log, I find the call with an HTTP code of 499.
Where can I find an error log that can give me more details about what the error is?
In the Cal.com container, the Apache and nginx log files are completely empty. -
Are cronjobs for cal.com already running?As far as I understand Cal.com's support, an external service is unfortunately necessary for the functionality of workflows I want. I will therefore try to solve it myself via the API and webhooks. This thread is therefore no longer relevant. Thanks for the feedback.
-
Are cronjobs for cal.com already running?I purchased an enterprise licence for cal.com in order to use the workflows.
I stored the licence in the.env file and I can create the workflows.
However, these are not used. Only standard e-mails are sent.
Now I am also faced with the question of whether the necessary cron jobs were set up during the installation via Cloudron to send scheduled reminders.
Unfortunately, I don't fully understand the setup and I can't find any corresponding entries in the places where I would look for cron jobs.There are various workflows for the cron jobs on Github from cal.com, such as here:
https://github.com/calcom/cal.com/blob/main/.github/workflows/cron-bookingReminder.ymlDo I have to set up these cron jobs myself? Although I don't yet know where to get the cronjob API key.
Many thanks,
Joachim -
Warning message in the log for ALLOWED_HOSTNAME and WEBAPP_URLHi all,
I've just installed cal.com 5.0.19 and I see the following message in the logs:Mar 15 16:02:20 @calcom/web:start: 15:02:20:047 [WARN] orgDomains.ts Match of WEBAPP_URL with ALLOWED_HOSTNAME failed {
Mar 15 16:02:20 @calcom/web:start: WEBAPP_URL: 'https://termin.example.com',
Mar 15 16:02:20 @calcom/web:start: ALLOWED_HOSTNAMES: [
Mar 15 16:02:20 @calcom/web:start: 'termin.example.com'
Mar 15 16:02:20 @calcom/web:start: ]
Mar 15 16:02:20 @calcom/web:start: }The two entries in the .env file created are:
NEXT_PUBLIC_WEBAPP_URL="https://termin.example.com"
ALLOWED_HOSTNAMES='"termin.example.com"'The single quotation marks around the entry, which is then enclosed in double quotation marks again, are interesting.
I suspect there is a problem here? But can I change that in the settings myself?Best
Joachim