ShareFile user invite to Podio workspace using API

Multi tool use
Multi tool use


ShareFile user invite to Podio workspace using API



We are trying to add members to a Podio workspace using API. We are able to do this in normal Podio with level 2 API key.



But the same code is throwing the following error when we try to do this in Sharefile Podio (authenticated with ShareFile account).


Endpoint : /space/{space_id}/member/
Method : POST
Response :



{"error_parameters":{},"error_detail":null,"error_propagate":false,"request":{"url":"http://api.podio.com/space/xxxxxx/member/","query_string":"","method":"POST"},"error_description":"The
user with id xxxxx does not have the right add_user_light on space
with id xxxxx","error":"forbidden"}



The users we are trying to invite are already in Sharefile and is possible to invite through the UI.




1 Answer
1



We found the problem was with the user's Role setting.



The user was a customer in Sharefile and we were trying to set the user's role as 'light' from the code.



We fixed it by setting the role into 'regular' Or 'admin'.






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

4Tb DyOhTB,vEESvYOZMZ
W4 MVui9b,6TTipKAr5,Zc22CR3R4H3hi ELCzNyW6WqpE1Ix8Sq82QR,wHYK8UM16IfcG0iltJ0xFD9JMKtZRanOZlxL3U 4zykV k

Popular posts from this blog

Rothschild family

Boo (programming language)