Hey, I try to use the Traffic Report given in the Analytics API in my php tool, but when I try to execute the apicall the following error appears. SSL read: error:00000000:lib(0):func(0):reason(0), errno 0 I don't know what's happening here, because calls from other apis also returns the requested data. The call also works in the Api-test-tool. This is the call: function call_traffic_report(){ $token = "validOAuthToken"; $param = "filter=marketplace_ids:%7BEBAY_US|EBAY_DE%7D,listing_ids:%7B_id_1|_id_2_%7D,date_range:%5B20170614..20170624%5D&"; $param .= "dimension=LISTING&"; $param .= "metric=LISTING_IMPRESSION_TOTAL"; $connection = curl_init(); curl_setopt($connection, CURLOPT_HTTPGET, true); curl_setopt($connection, CURLOPT_URL, "
https://api.ebay.com/sell/analytics/v1/traffic_report?";. $param); curl_setopt($connection, CURLOPT_HTTPHEADER, array("Authorization: Bearer ". $token, "Accept:application/json", "Content-Type:application/json" )); $response = curl_exec($connection); if(curl_errno($connection)){ echo 'Curl error: ' . curl_error($connection). "
"; } var_dump($response); curl_close($connection); if($response!= null){ $dec_resp = json_decode($response); var_dump($dec_resp); } }
-
- Buy APIs (BETA) - Order
- Buy APIs - Browse
- Feedback, Comments, Suggestions
- New Sell APIs - Account, Inventory, Catalog and Compliance
- New Sell APIs - Fulfillment
- New Sell APIs - Marketing, Analytics, Metadata
- Post Order APIs - Cancellation
- Post Order APIs - Inquiry, Case Management
- Post Order APIs - Return
- Talk to your fellow developers
- Token, Messaging, Sandbox related issues
- eBay APIs: .NET SDK for Trading API
- eBay APIs: Java SDK for Trading API
- eBay APIs: Orders, resolutions and feedback
- eBay APIs: Search
- eBay APIs: Selling
- Sign in