Hi there, I’ve created an event with a Google account. Invited a few people. Now, as the invitee of a MicroSoft account, I’ve been getting the following error message for the Send RSVP API endpoint at post /v3/grants/{grant_id}/events/{event_id}/send-rsvp
I follow the format with the CURL command
curl --request POST \
--url https://api.us.nylas.com/v3/grants/<NYLAS_GRANT_ID>/events/<EVENT_ID>/send-rsvp?calendar_id=<CALENDAR_ID> \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <NYLAS_API_KEY>' \
--header 'Content-Type: application/json' \
--data '{
"status": "string"
}'
Though, I have gotten the response below
{“request_id”:“cce0f071-9df2-42d4-9265-da23c93b0893”,“error”:{“type”:“provider_error”,“message”:“Bad Request”,“provider_error”:{“error”:{“code”:“ErrorInvalidIdMalformed”,“message”:“Id is malformed.”}}}}%
I thought it could be that I had a bad <NYLAS_GRANT_ID> or <CALENDAR_ID> but I was able to create an event using the “Create an event” API with those values.
I also tried RSVPing with an iCloud account I am getting the following, though I didn’t see anywhere in the documentation saying iCloud isn’t supported.
{“request_id”:“152796b5-96da-42a4-8c47-d7e896330a8e”,“error”:{“type”:“general_error”,“message”:“Method not supported for provider: icloud”}}
Lastly, I tried RSVPing with a Google account, I was able to do it successfully.
What am I doing wrong for the MS and iCloud account? Any help would be appreciated.