add_user_to_space() works! I got an email with an invitation. Awesome! I understand now that this is how we add new people to a space, not through the invitation related functions that only operate on invitations previously created in the UI.
However, even though the function "worked", in R I got the following error:
email_invite = TRUE, space_role = "contributor")
Error in rscloud_POST(path = c("spaces", space_id, "members"), body = user) :
Internal Server Error (HTTP 500).
It seems like functions that result in emails being sent (`send_invitation()` and `add_user_to_space()` give this error, even though the emails are being sent.
From Mine:
add_user_to_space()
works! I got an email with an invitation. Awesome! I understand now that this is how we add new people to a space, not through the invitation related functions that only operate on invitations previously created in the UI. However, even though the function "worked", in R I got the following error: