soap-api icon indicating copy to clipboard operation
soap-api copied to clipboard

Fatal error: Uncaught GuzzleHttp\Exception\ServerException: Server Error

Open orlyinomcoke opened this issue 4 years ago • 1 comments

Hi everyone, I followed all instructions upon installing this API wrapper but I cant seem to make any successful request. Here is the sample code i got from here.

auth('api.admin', 'password'); ?>

Full error when running the script. I am having this error both locally and our dev server which is hosted in amazon. Would really appreciate any help from you guys! Thank you very much!!

Fatal error: Uncaught GuzzleHttp\Exception\ServerException: **Server error: POST https://zim.[ourdomain].com:7071/service/admin/soap resulted in a 500 Server Error** response: <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">soap:Header</soap:Hea (truncated...) in C:\xampp\htdocs\zimbra-api-master\vendor\guzzlehttp\guzzle\src\Exception\RequestException.php:113 Stack trace: #0 C:\xampp\htdocs\zimbra-api-master\vendor\guzzlehttp\guzzle\src\Middleware.php(65): GuzzleHttp\Exception\RequestException::create(Object(GuzzleHttp\Psr7\Request), Object(GuzzleHttp\Psr7\Response)) #1 C:\xampp\htdocs\zimbra-api-master\vendor\guzzlehttp\promises\src\Promise.php(204): GuzzleHttp\Middleware::GuzzleHttp{closure}(Object(GuzzleHttp\Psr7\Response)) #2 C:\xampp\htdocs\zimbra-api-master\vendor\guzzlehttp\promises\src\Promise.php(153): GuzzleHttp\Promise\Promise::callHandler(1, Object(GuzzleHttp\Psr7\Response), NULL) #3 C:\xampp\htdocs\zimbra-api-master\vendor\guzzlehttp\promises\src\Ta in C:\xampp\htdocs\zimbra-api-master\vendor\guzzlehttp\guzzle\src\Exception\RequestException.php on line 113

orlyinomcoke avatar Nov 26 '21 16:11 orlyinomcoke

Same issue with mine. Make sure to use admin credentials for auth.

xtrap029 avatar Dec 10 '21 04:12 xtrap029