Closed patrioticcow closed 7 years ago
Make sure that you are using your production credentials. Sandbox and production credentials are not interchangeable and eBay sends a HTTP status of 500 if you are using the wrong ones.
Thanks. Looks like If i use the Production credentials, I get pass that error.
Here is my code
Here is the error I'm getting
exception 'GuzzleHttp\Exception\ServerException' with message 'Server error:
POST https://svcs.ebay.com/services/search/FindingService/v1resulted in a
500 Internal Server Errorresponse: run() #5 /home/webdev/cristi.vehiclehistory.com/common/scripts/php/ebay-sdk/GuzzleHttp/Handler/CurlMultiHandler.php(123): GuzzleHttp\Handler\CurlMultiHandler->tick() #6 /home/webdev/cristi.vehiclehistory.com/common/scripts/php/ebay-sdk/GuzzleHttp/Promise/Promise.php(246): GuzzleHttp\Handler\CurlMultiHandler->execute(true) #7 /home/webdev/cristi.vehiclehistory.com/common/scripts/php/ebay-sdk/GuzzleHttp/Promise/Promise.php(223): GuzzleHttp\Promise\Promise->invokeWaitFn() #8 /home/webdev/cristi.vehiclehistory.com/common/scripts/php/ebay-sdk/GuzzleHttp/Promise/Promise.php(267): GuzzleHttp\Promise\Promise->waitIfPending() #9 /home/webdev/cristi.vehiclehistory.com/common/scripts/php/ebay-sdk/GuzzleHttp/Promise/Promise.php(225): GuzzleHttp\Promise\Promise->invokeWaitList() #10 /home/webdev/cristi.vehiclehistory.com/common/scripts/php/ebay-sdk/GuzzleHttp/Promise/Promise.php(62): GuzzleHttp\Promise\Promise->waitIfPending() #11 /home/webdev/cristi.vehiclehistory.com/common/scripts/php/ebay-sdk/DTS/eBaySDK/Finding/Services/FindingService.php(53): GuzzleHttp\Promise\Promise->wait() #12 /home/webdev/cristi.vehiclehistory.com/backend/test.php(25): DTS\eBaySDK\Finding\Services\FindingService->findItemsByKeywords(Object(DTS\eBaySDK\Finding\Types\FindItemsByKeywordsRequest)) #13 {main}
I'm using the latest code, as of now. Any ideas?