Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
orlyinomcoke opened this issue Nov 26, 2021 · 1 comment

Comments

@orlyinomcoke
Copy link

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

@xtrap029
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants