cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1236
Views
0
Helpful
2
Replies

manageadmins.py error post 400

guigui1
Community Member

Hi,

I have a problem with the automatisation script manageadmins.py which is on the git hub of meraki. Indeed my problem is that when i start the script with the option /all it doensn t work.

here is a picture of the error :

GET https://api.meraki.com/api/v1/organizations/CENSURE/admins
200
POST https://api.meraki.com/api/v1/organizations/CENSURE/admins
body {'email': 'censure', 'name': 'm', 'orgAccess': 'full'}
400
2024-04-17 10:09:59.511672 -- Operation failed

i hope that you could answer at me and give a response.
Thank you very much.
Have a nice day

2 Replies 2

aleabrahao
Meraki Community All-Star
Meraki Community All-Star

Check if the headers in your request are correct. It would be interesting if you could share the code you are using.

I am not a Cisco employee. My suggestions are based on documentation of Meraki best practices and day-to-day experience.

Please, if this post was useful, leave your kudos and mark it as solved.

Philip D'Ath
Meraki Community All-Star
Meraki Community All-Star

What line does the error say it is happening on?

This is the script for anyone else interested.
https://github.com/meraki/automation-scripts/blob/master/manageadmins.py