No access to APIv2 due to missing licence key
-
I 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.
-
Hello @chopsol
Have you set
CALCOM_LICENSE_KEY=YOUR_KEY_HEREin/app/data/env? -
Hello @chopsol
Have you set
CALCOM_LICENSE_KEY=YOUR_KEY_HEREin/app/data/env?