-
Notifications
You must be signed in to change notification settings - Fork 7.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CAL-3834] Unable to delete a broken CalDAV integration #15187
Comments
Ciao @LucaDiba! Sono Dosu, un bot qui per aiutarti a risolvere bug, rispondere alle tue domande e diventare un contributore mentre aspettiamo un manutentore umano. Sono qui per aiutarti con il tuo problema! To resolve the issue of deleting a broken CalDAV integration in Cal.com when the calendars page shows an infinite loading interface and Cloudflare blocks the API calls, you can use the provided API endpoint directly. Here is a step-by-step guide on how to do it: Steps to Delete the Broken CalDAV Integration
Here is an example using curl -X DELETE "https://your-calcom-instance.com/v1/selected-calendars/{userId}_{integration}_{safeExternalId}?apiKey=your_api_key" Replace Example Code SnippetHere is an example of how you can construct and execute the DELETE request programmatically: const axios = require('axios');
const userId = 'your_user_id';
const integration = 'caldav';
const externalId = 'your-external-id';
const safeExternalId = encodeURIComponent(externalId);
const apiKey = 'your_api_key';
const url = `https://your-calcom-instance.com/v1/selected-calendars/${userId}_${integration}_${safeExternalId}?apiKey=${apiKey}`;
axios.delete(url)
.then(response => {
console.log('Integration deleted successfully:', response.data);
})
.catch(error => {
console.error('Error deleting integration:', error.response ? error.response.data : error.message);
}); By following these steps, you should be able to delete the broken CalDAV integration and resolve the issue with the infinite loading interface on the calendars page.
|
Issue Summary
A while ago I added a CalDAV to Cal.com. Then, I deleted the CalDAV server, so all the requests made to that URL fail.
Unfortunately, Cal.com doesn't handle this error and this leads to a 504 timeout error to be thrown when /calendars calls
connectedCalendars,integrations
. Also, even after the error is thrown, the /calendars page still shows a loading interface even though the call to the API returned an error.I'm currently unable to even delete the CalDAV since the calendars page doesn't work at all, and Cloudflare blocks the API calls to
DELETE /v1/selected-calendars/...
due to theexternalId
being an URL.Steps to Reproduce
Actual Results
Expected Results
Technical details
Evidence
CAL-3834
The text was updated successfully, but these errors were encountered: