Quantcast
Channel: Zimbra Forums
Viewing all articles
Browse latest Browse all 173

Developers • Zimbra API for Admin Error

$
0
0
Hello all,

I'm trying to programmatically create a user account and mailbox using the Zimbra Admin API but running into the following issue

Request via Postman to

https://domain.com:7071/service/admin/soap

Body:

{ "Body": {
"AuthRequest": {
"_jsns": "urn:zimbraAdmin",
"account": {
"_content": "admin@domain.com",
"by": "name"
},
"password": "pwd"
}
}
}


Response: Timeout waiting for a response.

It is as if the service is not running.

What am I missing?? I tried with 7071, 9071 but no response. When trying to run the above with https://domain.com/service/admin/soap (without a port) I'm seeing system failure: Request not allowed on port 8443

I may be running into a port proxy or some other issue?

Strangely... I'm able to get a user mailbox and auth token when accessing https://domain.com/service/soap (no /admin and port#)

{ "Body": {
"AuthRequest": {
"_jsns": "urn:zimbraAccount",
"account": {
"_content": "user@domain",
"by": "name"
},
"password": "pwd"
}
}
}


Any help or suggestions would be highly appreciated.

Statistics: Posted by vmanne — Wed Aug 02, 2023 1:22 am



Viewing all articles
Browse latest Browse all 173

Trending Articles