Issue with eBay Taxonomy API Sandbox: Internal Server Error (500)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-19-2024 03:08 AM
I am encountering a persistent issue with the Taxonomy API in the Sandbox environment while testing the get_category_suggestions endpoint. Below are the details of the issue:
Endpoint Details:
- Endpoint: https://api.sandbox.ebay.com/commerce/taxonomy/v1/category_tree/0/get_category_suggestions?q=laptop
- Response Status: 500 Internal Server Error
- Response Time: 1020 ms
Request Details:
- Headers:
- x-ebay-client-tls-version: TLSv1.3
- x-ebay-request-id: 1934413e-eca0-a9f1-eca1-d7abfffeb673!get_category_suggestions!lvstxnmyapi-c48k5-tess0027.stratus.lvs.ebay.com!r1txnmyapi-envjiwv5gtvevlbi[]
- cache-control: no-cache, no-store, max-age=0, must-revalidate
- pragma: no-cache
- expires: 0
Trace Information:
- traceid: f8fa23501b2983bc75ecf0e03aca7a16
- rlogid: t6w%7Dhjzdvn.%60hqilqq6brqfsjej%3F%3Ckuvr%7Fmh%7Ffsl%2Bd7%3Dm2.qctp5654-1934413eec7-0x232c
Observed Behavior:
When I attempt to call the endpoint, the response consistently returns a 500 Internal Server Error, indicating an issue on the server side. This behavior persists even after verifying that my request is properly structured and my OAuth token is valid.
Expected Behavior:
I expect the API to return relevant category suggestions based on the provided query (q=laptop) or an error message with actionable details if the request is invalid.
Steps to Reproduce:
- Use a valid OAuth token generated for the sandbox environment.
- Call the endpoint with the query parameter q=laptop.
- Observe the response and status code.
Additional Notes:
- This issue occurs even with basic configurations.
- The problem seems to be isolated to the Sandbox environment.
Could you please investigate and provide guidance on resolving this issue? Let me know if additional details or examples are needed.
Thank you for your support!
- Labels:
-
500
-
Error Sandbox
-
Taxonomy
Re: Issue with eBay Taxonomy API Sandbox: Internal Server Error (500)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-21-2024 02:29 AM
The documentation states "This method is not supported in Sandbox environment".
If I try it in Sandbox I also get 500 Server Error.
In the Production database it works fine like this:
C:\curl.exe -v --tlsv1.2 -g -X GET "https://api.ebay.com/commerce/taxonomy/v1/category_tree/0/get_category_suggestions?q=laptop" -H "Authorization: Bearer v^1.1#i7pOXVg/...vHsWv4N1D9ATP0RAAA=" -i -k 2> C:\CURLERR.txt
First part of output is:
HTTP/1.1200OKConnection:keep-aliveContent-Length:5449rlogid:t6w%7Dhjzdvn9%3Ftilq%7Ein%7Cgwj%28b%3Fg%7F%60*w%60ut3541-1934e333fca-0x2359x-ebay-pop-id:UFES2-LVSAZ04-apipragma:no-cachex-xss-protection:0expires:0x-envoy-upstream-service-time:97x-frame-options:DENYserver:ebay-proxy-serverx-content-type-options:nosniffcache-control:no-cache,no-store,max-age=0,must-revalidatecontent-type:application/jsonAccept-Ranges:bytesDate:Thu,21Nov202410:10:01GMTVia:1.1varnishX-Served-By:cache-man4140-MAN,cache-man4163-MANX-Cache:MISS,MISSX-Cache-Hits:0,0X-Timer:S1732183802.693504,VS0,VE270Vary:accept-encodingx-CDN:FastlyStrict-Transport-Security:max-age=31557600{"categorySuggestions":[{"category":{"categoryId":"177","categoryName":"PC Laptops & Netbooks"},"categoryTreeNodeLevel":3,"categoryTreeNodeAncestors":[{"categoryId":"175672","categoryName":"Laptops & Netbooks","categoryTreeNodeLevel":2,"categorySubtreeNodeHref":"https://api.ebay.com/commerce/taxonomy/v1/category_tree/0/get_category_subtree?category_id=175672"},{"catego
ryId":"58058","categoryName":"Computers/Tablets & Networking","categoryTreeNodeLevel":1,"categorySubtreeNodeHref":"https://api.ebay.com/commerce/taxonomy/v1/category_tree/0/get_category_subtree?category_id=58058"}]},{"category":{"categoryId":"179","categoryName":"PC Desktops & All-In-Ones"},"categoryTreeNodeLevel":3,"categoryTreeNodeAncestors":[{"categoryId":"171957","categoryName":"Desktops & All-In-
