Forum Discussion
Hi Surendra,
I think there are two questions you are asking here:
(1) How do you encode user role names that have spaces?
(2) What permissions are needed for an API call that adds a role for another user (a role which happens to also imply a badge)?
----
For (1), I do not know the answer but I hope someone here does! I did find this thread How to get role details by name which has space which may be helpful.
For (2), does your API user have permission "Create, edit, publish, and delete badges" and "Manage roles in user profiles"? If so and you are still getting this error, there may be additional permissions required that I'm not aware of.
I hope that is helpful, and I hope someone here can let us know how to encode spaces and also let us know if there are additional permissions required to add roles via API.
Related Content
- 9 months ago
- 4 months ago
- 8 months ago
- 2 years ago
- 2 years ago