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?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login