Google Calendar API with attendees

Hello there; I get a result I don’t want when adding attendees in Google Calendar API.

I am getting an “invalid attendee email” error if I haven’t entered e-mail in the JSON body parameters field in Api Connector while adding Attendee.

If I type any e-mail address in this field, it adds all the e-mail addresses that are above the number of attendees.


How can I fix this? Or should I edit the plugin action according to the number of attendees like the following example?
Create a new event just for me.
Create a new event with one attendees.
Create a new event with two attendees.
Create a new event with threeattendees

Thanks.

2 Likes

I can assist you. Add me on Skype - seth.cis
Waiting for your reply
Thanks,
Seth R

How can I fix this? Or should I edit the plugin action according to the number of attendees like the following example?

Calendar for 2020: https://www.dreamcalendars.com/calendar/2020

It does a lot of extra work, but that was the only way I found it.

You could give this a try:

Instead of only having the e-mail value as parameter ("test@test.com") you can serve the whole JSON attribute:value pair as parameter (“attendees08”:"test@test.com",).

So if you leave it blank, the api shouldn’t expect a mail value.

1 Like

hello, has this worked? I have the same problem

could you write a complete json line?