未捕获的GuzzleHttp \ Exception \ ServerException

时间:2019-11-22 08:03:38

标签: php sdk guzzle

我使用https://github.com/davidtsadler中的php的ebay sdk。尽管eBay查找服务目前已启动并正在运行,但出现以下错误。这种情况并非贯穿整个过程,但有时会以影响我的项目的频率发生。

<br />
<b>Fatal error</b>:  Uncaught GuzzleHttp\Exception\ServerException: Server error: `POST https://svcs.ebay.com/services/search/FindingService/v1` resulted in a `500 Internal Server Error` response:
&lt;?xml version='1.0' encoding='UTF-8'?&gt;&lt;errorMessage xmlns=&quot;http://www.ebay.com/marketplace/search/v1/services&quot;&gt;&lt;error&gt;&lt;e (truncated...)
 in /var/www/html/used-guitars/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113
Stack trace:
#0 /var/www/html/used-guitars/vendor/guzzlehttp/guzzle/src/Middleware.php(65): GuzzleHttp\Exception\RequestException::create(Object(GuzzleHttp\Psr7\Request), Object(GuzzleHttp\Psr7\Response))
#1 /var/www/html/used-guitars/vendor/guzzlehttp/promises/src/Promise.php(203): GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object(GuzzleHttp\Psr7\Response))
#2 /var/www/html/used-guitars/vendor/guzzlehttp/promises/src/Promise.php(156): GuzzleHttp\Promise\Promise::callHandler(1, Object(GuzzleHttp\Psr7\Response), Array)
#3 /var/www/html/used-guitars/vendor/guzzlehttp/promises/src/TaskQueue.php(47): GuzzleHttp\P in <b>/var/www/html/used-guitars/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php</b> on line <b>113</b><br /> 

此错误是什么意思?如何获得更详细的信息?

0 个答案:

没有答案