platform icon indicating copy to clipboard operation
platform copied to clipboard

Google Calendar Integration

Open polychromech opened this issue 1 year ago • 4 comments

When trying to connect my Google Calendar account, the connect button is grayed out and nothing happens. My console is showing the following errors:

Access to fetch at 'https://calendar.huly.app/signin?redirectURL=https%3A%2F%2Fhuly.app%2Fcalendar' from origin 'https://huly.app' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. IntegrationConnect.svelte:37 GET https://calendar.huly.app/signin?redirectURL=https%3A%2F%2Fhuly.app%2Fcalendar net::ERR_FAILED (anonymous) @ fetch.js:76 c @ IntegrationConnect.svelte:37 (anonymous) @ lifecycle.js:181 In @ lifecycle.js:181 Tt @ bundle.35c5c7390d6fd7bc177d.js:10557 r @ helpers.js:93 67412.7dd8eddd95a650809052.js:18 Uncaught (in promise) TypeError: Failed to fetch (calendar.huly.app) at fetch.js:76:28 at HTMLButtonElement.c (IntegrationConnect.svelte:37:23) at lifecycle.js:181:40 at Array.forEach (<anonymous>) at HTMLButtonElement.In (lifecycle.js:181:21) at HTMLButtonElement.Tt (bundle.35c5c7390d6fd7bc177d.js:10557:21545) at HTMLButtonElement.r (helpers.js:93:17) (anonymous) @ fetch.js:76 c @ IntegrationConnect.svelte:37 (anonymous) @ lifecycle.js:181 In @ lifecycle.js:181 Tt @ bundle.35c5c7390d6fd7bc177d.js:10557 r @ helpers.js:93 fetch.js:46 POST https://o4506745347964928.ingest.sentry.io/api/4506745359695872/envelope/?sentry_version=7&sentry_key=19731177cb434d395dbaa60456da0b6e&sentry_client=sentry.javascript.svelte%2F9.22.0 429 (Too Many Requests) s @ fetch.js:46 Fe @ base.js:54 s @ promisebuffer.js:42 c @ base.js:71 sendEnvelope @ client.js:477 sendEvent @ client.js:373 (anonymous) @ client.js:751 (anonymous) @ syncpromise.js:69 (anonymous) @ syncpromise.js:145 _executeHandlers @ syncpromise.js:139 (anonymous) @ syncpromise.js:87 _runExecutor @ syncpromise.js:183 Ft @ syncpromise.js:51 then @ syncpromise.js:59 _processEvent @ client.js:712 _captureEvent @ client.js:636 captureEvent @ client.js:211 captureEvent @ scope.js:560 _a @ exports.js:45 (anonymous) @ globalhandlers.js:80 To @ handlers.js:46 Ty.ee.onunhandledrejection @ globalUnhandledRejection.js:27

polychromech avatar Jul 24 '25 09:07 polychromech

Connected to Huly®: UBERF-12733

huly-github-staging avatar Jul 24 '25 09:07 huly-github-staging

Hello. Calendar integration is under maintenance. It will be available in the weekend

BykhovDenis avatar Jul 24 '25 10:07 BykhovDenis

I proposed a fix for this in Platform-Collective/platform#95, the actively maintained continuation of this repository. Once it is merged there, this issue can be closed.

MichaelUray avatar Oct 23 '26 11:10 MichaelUray

Update: Platform-Collective/platform#95 was superseded by Platform-Collective/platform#212 (merged). Connecting Google Calendar now has a timeout, shows an error, and re-enables Connect after a failed request. If you agree, this issue can be closed.

MichaelUray avatar Nov 11 '26 05:11 MichaelUray