Server error 500 when rename an account
NothingCtrl opened this issue · comments
DescriptionL
- Using zimbra-api to rename a mailbox
- Mailbox rename success (check in zimbra admin page)
- Api response error 500, logs:
/var/www/html/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113 Level: 22519, Code: 500 Message: Server error: `POST https://zimbra-server-ip:7071/service/admin/soap` resulted in a `500 Server Error` response: #0 /var/www/html/vendor/guzzlehttp/guzzle/src/Middleware.php(65): GuzzleHttpExceptionRequestException::create(Object(GuzzleHttpPsr7Request), Object(GuzzleHttpPsr7Response)) #1 /var/www/html/vendor/guzzlehttp/promises/src/Promise.php(204): GuzzleHttpMiddleware::GuzzleHttp{closure}(Object(GuzzleHttpPsr7Response)) #2 /var/www/html/vendor/guzzlehttp/promises/src/Promise.php(153): GuzzleHttpPromisePromise::callHandler(1, Object(GuzzleHttpPsr7Response), NULL) #3 /var/www/html/vendor/guzzlehttp/promises/src/TaskQueue.php(48): GuzzleHttpPromisePromise::GuzzleHttpPromise{closure}() #4 /var/www/html/vendor/guzzlehttp/promises/src/Promise.php(248): GuzzleHttpPromiseTaskQueue->run(true) #5 /var/www/html/vendor/guzzlehttp/promises/src/Promise.php(224): GuzzleHttpPromisePromise->invokeWaitFn() #6 /var/www/html/vendor/guzzlehttp/promises/src/Promise.php(269): GuzzleHttpPromisePromise->waitIfPending() #7 /var/www/html/vendor/guzzlehttp/promises/src/Promise.php(226): GuzzleHttpPromisePromise->invokeWaitList() #8 /var/www/html/vendor/guzzlehttp/promises/src/Promise.php(62): GuzzleHttpPromisePromise->waitIfPending() #9 /var/www/html/vendor/guzzlehttp/guzzle/src/Client.php(182): GuzzleHttpPromisePromise->wait() #10 /var/www/html/vendor/zimbra-api/soap-api/src/Zimbra/Soap/Client/Http.php(143): GuzzleHttpClient->request('POST', 'https://192.168...', Array) #11 /var/www/html/vendor/zimbra-api/soap-api/src/Zimbra/Soap/Client/Http.php(264): ZimbraSoapClientHttp->__doRequest('doRequest(Object(ZimbraAdminRequestModifyAccount))
I cannot find any log in Zimbra server, except this line in file /opt/zimbra/log/audit.log
: 2022-05-08 20:42:43,696 INFO [qtp66233253-1830016:https:https://zimbra-server-ip:7071/service/admin/soap] [name=admin@foo.bar;mid=2;ip=x.x.x.x;port=37774;] security - cmd=RenameAccount; name=old-username@foo.bar; newName=new-username@foo.bar;
Does this is the issue of Zimbra server or this API?
Regards.