cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Cannot get OAuth Token in Sandbox: Ping and API requests fail from multiple locations

Hello everyone,

I'm trying to get an OAuth 2.0 token in the eBay Sandbox environment and am consistently running into connectivity issues. I have meticulously followed the documentation and configured my Postman collection, but the process fails with a timeout.

I have already performed extensive troubleshooting and believe the issue may be on eBay's side, possibly with the Sandbox server itself.

Here are the details of my tests:

  • Local PC Connectivity: A ping command from my local machine to the sandbox API endpoint (api.sandbox.ebay.com) consistently fails with a "Request timed out" error.

  • Remote Server Connectivity: To rule out any local network problems, I performed the same ping from a separate, third-party hosting server (Alfahosting). This also failed with a specific "Destination port unreachable" error. This suggests the problem is not with my local network, but with the eBay server's ability to receive requests.

  • Postman Configuration: My Postman collection is correctly set up with the Authorization Code grant type. The client_id and client_secret are properly defined as variables. However, the process fails with a timeout error, which is consistent with the ping results.

When I tried a different API call, I received the following error:

JSON
 
{
  "error_id": "invalid_request",
  "error_description": "Input request parameters are invalid.",
  "http_status_code": 400
}
And here are the response headers from that request:


'''content-encodingbrcontent-typeapplication/json; charset=utf-8dateFri, 22 Aug 2025 17:19:35 GMTrlogidt6ldsskrcemjbb0%3F%3Chbprot%60dilac4.3%3F%3F%3B%3C3d630*w%60ut4%3C%2Bp5%7Dpw-198d2cafed7-0x1a02serverebay-proxy-serverstrict-transport-securitymax-age=31536000transfer-encodin gchunkedvaryAccept-Encodingx-content-type-optionsnosniffx-ebay-mesh-gw-duration149x-ebay-mesh-gw-nameistioingressgateway-sandbox-lvsaz04-01x-ebay-mesh-gw-pod-ip10.81.224.154x-ebay-mesh- gw-pod-nameistio-ingressgateway-7c9c9775c7-668vxx-ebay-mesh-gw-response-flag-x-ebay-mesh-gw-start2025-08-22T17:19:35.637Zx-ebay-mesh-gw-upstream-duration149x-ebay-mesh-server-duration1 48x-ebay-mesh-server-pod-ip10.217.139.195x-ebay-mesh-server-response-flag-x-ebay-mesh-server -start2025-08-22T17:19:35.637Zx-ebay-pop-idSLBLVSAZ04x-ebay-tlb-duration201x-ebay-tlb-hostNot Foundx-envoy-upstream-service-time150x-frame-optionsSAMEORIGINx-xss-protection1; mode=block Accepttext/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8Accept-Encodinggzip, deflate, br, zstdAccept-Languagede,en-US;q=0.7,en;q=0.3Connectionkeep-aliveDNT1Hostauth2.sandbox.ebay.comPriorityu=0, iRefererhttps://michael-hillmann-2694095.postman.co/Sec-Fetch-DestdocumentSec-Fetch-ModenavigateSec-Fetch-Sitecross-siteSec-Fetch-User?1Upgrade-Insecure-Requests1User-AgentMozilla/5.0 (Windows NT 10.0; Win64; x64; rv:142.0) Gecko/20100101 Firefox/142.0'''


Has anyone else encountered similar issues with the Sandbox environment? Any advice would be greatly appreciated.

Thank you,
Michael

Message 1 of 1
latest reply
0 REPLIES 0