09-10-2021 11:42 AM - edited 09-10-2021 01:01 PM
I have the next script (in python) and when i try to add USER GROUP with POST i can´t do that
def add_group():
print("\nSe cargara el grupo ctl-team....")
url_group = https://{{vmanage}}:{{port}}/dataservice/admin/usergroup
with open('grupo_list.json') as list:
group=json.load(list)
response = requests.post(url=url_group, headers=header,verify=False,data=json.dumps(group))
if response.status_code == 200:
print('Se cargo de forma correcta el grupo "list"')
else:
print('Error al cargar el grupo "list"' + str(response.text))
exit()
-i recieve the following message
Error al cargar el grupo "list"{"error":{"message":"create user group request failed","details":"User group creation permission check failed.","code":"USERGR0003"}}
-I am using user with rol netadmin.
-When i used the same scritp to add USER GROUP in other VAMANGE , it worked ok , without problems.
Se cargo de forma correcta el grupo "list"'
-When i tried to do the same (add USER GROUP) wtih POSTMANA , i received the same error message (attach screen)
Which could be the problem? any advice?
thanks you
Giancarlo Villarreal
Solved! Go to Solution.
09-11-2021 05:51 AM
@giviney suggest asking this in this community for response https://community.cisco.com/t5/sd-wan-and-cloud-networking/bd-p/discussions-sd-wan
Hope this helps.
09-11-2021 05:51 AM
@giviney suggest asking this in this community for response https://community.cisco.com/t5/sd-wan-and-cloud-networking/bd-p/discussions-sd-wan
Hope this helps.
09-13-2021 06:37 AM
thanks for your recommendation @bigevilbeard , i am going to try luck in that community.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: