I’m trying to integrate calendly with their api and it’s kicking my ass.
I have all the api, webhook, and secret keys, urls in. correctly. But it just won’t connect to calendly for some reason.
does anyone have experience with this?
I’m trying to integrate calendly with their api and it’s kicking my ass.
I have all the api, webhook, and secret keys, urls in. correctly. But it just won’t connect to calendly for some reason.
does anyone have experience with this?
What’s the error message?
There should be details logged either in the runtime logs or in the browser console. That extra info will give us more clues about what’s causing the problem
Yeah ti just constantly changing. I really need someone to get on a call.
this is what it’s spitting out right now: “error”: “Calendly API error: 401 - {"title":"Unauthenticated","message":"The access token is invalid"}”
but the token isn’t invalid. And i’ve had it check and double check I just don’t know enough to know where the real problem is and what’s causing the conflict.
Looking like there are compatibility issue with calendly and v0
Issue: Calendly’s API appears to use or require HTTP/2 protocol for some requests, while v0 only supports HTTP/1.1.
Evidence: The error message “v0 doesn’t support http2” suggests that Calendly’s API is attempting to use HTTP/2 features that v0 cannot handle.
Workarounds:
Issue: v0 may have limitations in how environment variables are accessed, particularly for sensitive tokens.
Workarounds:
Issue: Calendly’s API may have strict CORS policies that conflict with how v0 makes requests.
Workarounds:
Issue: Calendly may have specific requirements for how authentication tokens are formatted and sent.
Workarounds:
Issue: Calendly’s API may expect specific payload structures that are difficult to implement in v0.
Workarounds:
Since you already verified that the token is valid, then it sounds like the code is not passing the token properly
You made it sound like this error is happening in the v0 preview window. Do you get the same error if you click “open in new tab” or on the real site after you deploy to Vercel?
I sent you a linkedin connection request I took a video of all the code and i’ll just send that to you. I thik I’ve tried to ask it to fix too much and now it convoluted and stepping on itself everywhere.