Google Calendar API > Can't create new calendar & event in same flow

693 views
Skip to first unread message

Casey Jeppesen

unread,
Aug 20, 2020, 4:09:34 PM8/20/20
to floreysoft
We have a flow that creates a new google calendar, and then tries to create events on it.  
This always fails, with error:  

Failed to execute service "Creates an event": { "error": { "errors": [ { "domain": "global", "reason": "invalid", "message": "Invalid resource id value." } ], "code": 400, "message": "Invalid resource id value." } }

We believe the "resource id value" is the calendarId, and it is somehow not recognizing it.  Perhaps this is because the new calendar is created in the same authenticated api call, and so it doesn't exist yet?  If that's the case, is there any way to tell UD to terminate the api session with Google Calendar, and re-initiate it to create events (without forcing the user to reload the entire flow)?

Daniel Florey

unread,
Aug 21, 2020, 8:01:35 AM8/21/20
to floreysoft GmbH
Hi Casey,
if you share the flow in edit mode with me I can have a look at it.
Best,
Daniel

--
You received this message because you are subscribed to the Google Groups "floreysoft" group.
To unsubscribe from this group and stop receiving emails from it, send an email to floreysoft+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/floreysoft/f51020ad-62a3-41a0-8f45-12421d99ed70n%40googlegroups.com.

Casey Jeppesen

unread,
Aug 21, 2020, 2:11:00 PM8/21/20
to floreysoft
Great, I shared it to:  daniel...@floreysoft.net & sup...@floreysoft.net

I currently have a redirect in place as a temporary bypass for creating calendar, then adding events.
The more urgent issue is end users can't authenticate to create a calendar.   

You can test this yourself on the front-end by going to the public url:  https://www.ultradox.com/app/bloodcalendar 

PLEASE help, 
this project was due today!

Casey Jeppesen

unread,
Sep 7, 2020, 4:35:35 PM9/7/20
to floreysoft
Daniel?
Reply all
Reply to author
Forward
0 new messages