I am trying to create an event on a Conflunence calendar using an admin account. When using my own account ID for the "person" field, the event is created successfully. However, any other account ID results in an "Invalid user" error. This occurs on all calendars, even those without any restrictions on them. This also occurs across multiple spaces. I added an event for the user in the UI and then tried to use the API again, but the same result occurred. All user IDs were obtained from the /wiki/rest/api/user endpoint. Below is the payload used. Any ideas as to why only one account ID works?
PUT request
http://domain.atlassian.net/wiki/rest/calendar-services/1.0/calendar/events.json
Auth - Basic Auth
Header - Content-Type: application/x-www-form-urlencoded
Hi @Jeff Munoz and welcome,
for my knowledge there's not an official rest api to manage events on confluence (here an open request for that https://jira.atlassian.com/browse/CONFCLOUD-51696 )
Where did u find documentation about rest api that you are trying to use?
Please le tme know,
Fabio
Hello @Fabio Racobaldo _Catworkx_,
I did not find any official documentation, just previous posts regarding the issue, which can be found here.
Thanks,
Jeff
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.