question

cocosolisuk avatar image
0 Likes"
cocosolisuk asked ·

Taxonomy api using getItemAspectsForCategory call

So using Taxonomy api with getItemAspectsForCategory call always returns the same result, no matter if I use my app, or the api explorer ,doesn't matter if the category tree id is set to one or other market(tried it with US (0 category tree id ) and UK marketplaces ( 3 category tree id )). no matter which category id is specified (tried it with 1277 ,and the example-67726 and few other randomly selected categories) it either returns always the same result or an error(when using randomly selected categories ) that the category selected is not a leaf category(this part works fine). the problem is that when the category id is a leaf category it always return the same result about some honda. here are the request and response With a removed token ...: https://api.sandbox.ebay.com/commerce/taxonomy/v1_beta/category_tree/0/get_item_aspects_for_category?category_id=183399 Authorization:Bearer ..... Accept:application/json Content-Type:application/json Accept-Encoding:application/gzip response : x-ebay-c-request-id:ri=lMBsIOTZ3MkY,rci=toAE6agaNxgEzTWr x-ebay-svc-ep-cookielet:321=0001517217855568 rlogid:t6w%7Dhjzdvn.%60hqbapdgmocyv3l9%3Fvo%7Bq%7Ein%7Cgwj%287%3E0%3C21%3A-161413b3850-0x102 x-ebay-c-version:1.0.0 x-ebay-request-id:161413b3-8500-a096-2c44-9d8efffe0159!get_item_aspects_for_category!10.9.98.196!r1txnmyapi-envadvcdhidzs5k[] x-ebay-svc-tracking-data:nqc=AA**&nqt=AA**&!_epec=7,6,8 set-cookie:ebay=%5Esbf%3D%23%5E;Domain=. ebay.com;Path=/ content-encoding:gzip content-type:application/json transfer-encoding:chunked date:Mon, 29 Jan 2018 09:24:15 GMT server:ebay server. { "aspects": [ { "localizedAspectName": "Year", "aspectConstraint": { "aspectDataType": "DATE", "aspectFormat": "YYYY", "itemToAspectCardinality": "SINGLE", "aspectMode": "FREE_TEXT", "aspectRequired": true, "aspectEnabledForVariations": false }, "aspectValues": [ { "localizedValue": "20180000" }, { "localizedValue": "20170000" }, { "localizedValue": "20160000" }, { "localizedValue": "20150000" }, { "localizedValue": "20140000" }, { "localizedValue": "20130000" }, { "localizedValue": "20120000" }, { "localizedValue": "20110000" }, { "localizedValue": "20100000" }, { "localizedValue": "20090000" }, { "localizedValue": "20080000" }, { "localizedValue": "20070000" }, { "localizedValue": "20060000" }, { "localizedValue": "20050000" }, { "localizedValue": "20040000" }, { "localizedValue": "20030000" }, { "localizedValue": "20020000" }, { "localizedValue": "20010000" }, { "localizedValue": "20000000" }, { "localizedValue": "19990000" }, { "localizedValue": "19980000" }, { "localizedValue": "19970000" }, { "localizedValue": "19960000" }, { "localizedValue": "19950000" }, { "localizedValue": "19940000" }, { "localizedValue": "19930000" }, { "localizedValue": "19920000" }, { "localizedValue": "19910000" }, { "localizedValue": "19900000" }, { "localizedValue": "19890000" }, { "localizedValue": "19880000" }, { "localizedValue": "19870000" }, { "localizedValue": "19860000" }, { "localizedValue": "19850000" }, { "localizedValue": "19840000" }, { "localizedValue": "19830000" }, { "localizedValue": "19820000" }, { "localizedValue": "19810000" }, { "localizedValue": "19800000" }, { "localizedValue": "19790000" }, { "localizedValue": "19780000" }, { "localizedValue": "19770000" }, { "localizedValue": "19760000" }, { "localizedValue": "19750000" }, { "localizedValue": "19740000" }, { "localizedValue": "19730000" }, { "localizedValue": "19720000" }, { "localizedValue": "19710000" }, { "localizedValue": "19700000" }, { "localizedValue": "19690000" }, { "localizedValue": "19680000" }, { "localizedValue": "19670000" }, { "localizedValue": "19660000" }, { "localizedValue": "19650000" }, { "localizedValue": "19640000" }, { "localizedValue": "19630000" }, { "localizedValue": "19620000" }, { "localizedValue": "19610000" }, { "localizedValue": "19600000" }, { "localizedValue": "19590000" }, { "localizedValue": "19580000" }, { "localizedValue": "19570000" }, { "localizedValue": "19560000" }, { "localizedValue": "19550000" }, { "localizedValue": "19540000" }, { "localizedValue": "19530000" }, { "localizedValue": "19520000" }, { "localizedValue": "19510000" }, { "localizedValue": "19500000" }, { "localizedValue": "19490000" }, { "localizedValue": "19480000" }, { "localizedValue": "19470000" }, { "localizedValue": "19460000" }, { "localizedValue": "19450000" }, { "localizedValue": "19440000" }, { "localizedValue": "19430000" }, { "localizedValue": "19420000" }, { "localizedValue": "19410000" }, { "localizedValue": "19400000" }, { "localizedValue": "19390000" }, { "localizedValue": "19380000" }, { "localizedValue": "19370000" }, { "localizedValue": "19360000" }, { "localizedValue": "19350000" }, { "localizedValue": "19340000" }, { "localizedValue": "19330000" }, { "localizedValue": "19320000" }, { "localizedValue": "19310000" }, { "localizedValue": "19300000" }, { "localizedValue": "19290000" }, { "localizedValue": "19280000" }, { "localizedValue": "19270000" }, { "localizedValue": "19260000" }, { "localizedValue": "19250000" }, { "localizedValue": "19240000" }, { "localizedValue": "19230000" }, { "localizedValue": "19220000" }, { "localizedValue": "19210000" }, { "localizedValue": "19200000" }, { "localizedValue": "19190000" }, { "localizedValue": "19180000" }, { "localizedValue": "19170000" }, { "localizedValue": "19160000" }, { "localizedValue": "19150000" }, { "localizedValue": "19140000" }, { "localizedValue": "19130000" }, { "localizedValue": "19120000" }, { "localizedValue": "19110000" }, { "localizedValue": "19100000" }, { "localizedValue": "19090000" }, { "localizedValue": "19080000" }, { "localizedValue": "19070000" }, { "localizedValue": "19060000" }, { "localizedValue": "19050000" }, { "localizedValue": "19040000" }, { "localizedValue": "19030000" }, { "localizedValue": "19020000" }, { "localizedValue": "19010000" }, { "localizedValue": "19000000" } ] }, { "localizedAspectName": "Make", "aspectConstraint": { "aspectDataType": "STRING", "itemToAspectCardinality": "SINGLE", "aspectMode": "SELECTION_ONLY", "aspectRequired": false, "aspectEnabledForVariations": false }, "aspectValues": [ { "localizedValue": "Honda" } ] }, { "localizedAspectName": "Model", "aspectConstraint": { "aspectDataType": "STRING", "itemToAspectCardinality": "SINGLE", "aspectMode": "SELECTION_ONLY", "aspectRequired": false, "aspectEnabledForVariations": false }, "aspectValues": [ { "localizedValue": "Civic" } ] }, { "localizedAspectName": "Trim", "aspectConstraint": { "aspectDataType": "STRING", "itemToAspectCardinality": "SINGLE", "aspectMode": "FREE_TEXT", "aspectRequired": false, "aspectEnabledForVariations": false } }, { "localizedAspectName": "Engine", "aspectConstraint": { "aspectDataType": "STRING", "itemToAspectCardinality": "SINGLE", "aspectMode": "FREE_TEXT", "aspectRequired": false, "aspectEnabledForVariations": false } }, { "localizedAspectName": "Drive Type", "aspectConstraint": { "aspectDataType": "STRING", "itemToAspectCardinality": "SINGLE", "aspectMode": "FREE_TEXT", "aspectRequired": false, "aspectEnabledForVariations": false }, "aspectValues": [ { "localizedValue": "4WD" }, { "localizedValue": "AWD" }, { "localizedValue": "FWD" }, { "localizedValue": "RWD" } ] }, { "localizedAspectName": "Mileage", "aspectConstraint": { "itemToAspectCardinality": "SINGLE", "aspectMode": "FREE_TEXT", "aspectRequired": true, "aspectEnabledForVariations": false } }, { "localizedAspectName": "Sub Model", "aspectConstraint": { "aspectDataType": "STRING", "itemToAspectCardinality": "SINGLE", "aspectMode": "FREE_TEXT", "aspectRequired": false, "aspectEnabledForVariations": false } }, { "localizedAspectName": "Exterior Color", "aspectConstraint": { "aspectDataType": "STRING", "itemToAspectCardinality": "SINGLE", "aspectMode": "FREE_TEXT", "aspectRequired": false, "aspectEnabledForVariations": false }, "aspectValues": [ { "localizedValue": "Black" }, { "localizedValue": "Blue" }, { "localizedValue": "Brown" }, { "localizedValue": "Burgundy" }, { "localizedValue": "Gold" }, { "localizedValue": "Gray" }, { "localizedValue": "Green" }, { "localizedValue": "Orange" }, { "localizedValue": "Purple" }, { "localizedValue": "Red" }, { "localizedValue": "Silver" }, { "localizedValue": "Tan" }, { "localizedValue": "Teal" }, { "localizedValue": "White" }, { "localizedValue": "Yellow" } ] }, { "localizedAspectName": "Interior Color", "aspectConstraint": { "aspectDataType": "STRING", "itemToAspectCardinality": "SINGLE", "aspectMode": "FREE_TEXT", "aspectRequired": false, "aspectEnabledForVariations": false }, "aspectValues": [ { "localizedValue": "Black" }, { "localizedValue": "Blue" }, { "localizedValue": "Brown" }, { "localizedValue": "Burgundy" }, { "localizedValue": "Gold" }, { "localizedValue": "Gray" }, { "localizedValue": "Green" }, { "localizedValue": "Red" }, { "localizedValue": "Tan" }, { "localizedValue": "Teal" }, { "localizedValue": "White" } ] }, { "localizedAspectName": "Number of Cylinders", "aspectConstraint": { "aspectDataType": "STRING", "itemToAspectCardinality": "SINGLE", "aspectMode": "FREE_TEXT", "aspectRequired": false, "aspectEnabledForVariations": false }, "aspectValues": [ { "localizedValue": "2" }, { "localizedValue": "3" }, { "localizedValue": "4" }, { "localizedValue": "5" }, { "localizedValue": "6" }, { "localizedValue": "8" }, { "localizedValue": "10" }, { "localizedValue": "12" } ] }, { "localizedAspectName": "Transmission", "aspectConstraint": { "aspectDataType": "STRING", "itemToAspectCardinality": "SINGLE", "aspectMode": "FREE_TEXT", "aspectRequired": false, "aspectEnabledForVariations": false }, "aspectValues": [ { "localizedValue": "Automatic" }, { "localizedValue": "Manual" } ] }, { "localizedAspectName": "Body Type", "aspectConstraint": { "aspectDataType": "STRING", "itemToAspectCardinality": "SINGLE", "aspectMode": "FREE_TEXT", "aspectRequired": false, "aspectEnabledForVariations": false }, "aspectValues": [ { "localizedValue": "Cab & Chassis" }, { "localizedValue": "Convertible" }, { "localizedValue": "Coupe" }, { "localizedValue": "Crew Cab Pickup" }, { "localizedValue": "Extended Cab Pickup" }, { "localizedValue": "Extended Crew Cab Pickup" }, { "localizedValue": "Extended Passenger Van" }, { "localizedValue": "Fastback" }, { "localizedValue": "Hatchback" }, { "localizedValue": "Hearse" }, { "localizedValue": "Limousine" }, { "localizedValue": "Minivan" }, { "localizedValue": "Sedan" }, { "localizedValue": "Standard Cab Pickup" }, { "localizedValue": "Standard Passenger Van" }, { "localizedValue": "SUV" }, { "localizedValue": "Van Camper" }, { "localizedValue": "Wagon" } ] }, { "localizedAspectName": "Warranty", "aspectConstraint": { "aspectDataType": "STRING", "itemToAspectCardinality": "SINGLE", "aspectMode": "FREE_TEXT", "aspectRequired": false, "aspectEnabledForVariations": false }, "aspectValues": [ { "localizedValue": "Vehicle has an existing warranty" }, { "localizedValue": "Vehicle does NOT have an existing warranty" }, { "localizedValue": "Unspecified" } ] }, { "localizedAspectName": "Vehicle Title", "aspectConstraint": { "aspectDataType": "STRING", "itemToAspectCardinality": "SINGLE", "aspectMode": "SELECTION_ONLY", "aspectRequired": true, "aspectEnabledForVariations": false }, "aspectValues": [ { "localizedValue": "Clear" }, { "localizedValue": "Salvage" }, { "localizedValue": "Rebuilt, Rebuildable & Reconstructed" }, { "localizedValue": "Lemon & Manufacturer Buyback" }, { "localizedValue": "Flood, Water Damage" } ] }, { "localizedAspectName": "Options", "aspectConstraint": { "aspectDataType": "STRING", "itemToAspectCardinality": "MULTI", "aspectMode": "FREE_TEXT", "aspectRequired": false, "aspectEnabledForVariations": false }, "aspectValues": [ { "localizedValue": "4-Wheel Drive" }, { "localizedValue": "Cassette Player" }, { "localizedValue": "CD Player" }, { "localizedValue": "Convertible" }, { "localizedValue": "Leather Seats" }, { "localizedValue": "Sunroof" } ] }, { "localizedAspectName": "Safety Features", "aspectConstraint": { "aspectDataType": "STRING", "itemToAspectCardinality": "MULTI", "aspectMode": "FREE_TEXT", "aspectRequired": false, "aspectEnabledForVariations": false }, "aspectValues": [ { "localizedValue": "Anti-Lock Brakes" }, { "localizedValue": "Driver Airbag" }, { "localizedValue": "Passenger Airbag" }, { "localizedValue": "Side Airbags" } ] }, { "localizedAspectName": "Power Options", "aspectConstraint": { "aspectDataType": "STRING", "itemToAspectCardinality": "MULTI", "aspectMode": "FREE_TEXT", "aspectRequired": false, "aspectEnabledForVariations": false }, "aspectValues": [ { "localizedValue": "Air Conditioning" }, { "localizedValue": "Cruise Control" }, { "localizedValue": "Power Locks" }, { "localizedValue": "Power Windows" }, { "localizedValue": "Power Seats" } ] }, { "localizedAspectName": "Fuel Type", "aspectConstraint": { "aspectDataType": "STRING", "itemToAspectCardinality": "SINGLE", "aspectMode": "FREE_TEXT", "aspectRequired": false, "aspectEnabledForVariations": false }, "aspectValues": [ { "localizedValue": "Bi-Fuel" }, { "localizedValue": "Biodiesel" }, { "localizedValue": "CNG" }, { "localizedValue": "Diesel" }, { "localizedValue": "Electric" }, { "localizedValue": "Flex Fuel Vehicle" }, { "localizedValue": "Gasoline" }, { "localizedValue": "Hybrid-Electric" }, { "localizedValue": "LPG" }, { "localizedValue": "Steam" } ] }, { "localizedAspectName": "For Sale By", "aspectConstraint": { "aspectDataType": "STRING", "itemToAspectCardinality": "SINGLE", "aspectMode": "FREE_TEXT", "aspectRequired": false, "aspectEnabledForVariations": false }, "aspectValues": [ { "localizedValue": "Dealer" }, { "localizedValue": "Private Seller" } ] }, { "localizedAspectName": "Disability Equipped", "aspectConstraint": { "aspectDataType": "STRING", "itemToAspectCardinality": "SINGLE", "aspectMode": "FREE_TEXT", "aspectRequired": false, "aspectEnabledForVariations": false }, "aspectValues": [ { "localizedValue": "Yes" }, { "localizedValue": "No" } ] }, { "localizedAspectName": "Drive Side", "aspectConstraint": { "aspectDataType": "STRING", "itemToAspectCardinality": "SINGLE", "aspectMode": "FREE_TEXT", "aspectRequired": false, "aspectEnabledForVariations": false }, "aspectValues": [ { "localizedValue": "Right-hand drive" }, { "localizedValue": "Left-hand drive" } ] } ] }
taxonomy api
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

lalising_95 avatar image
0 Likes"
lalising_95 answered ·
Thanks @actindo. The sandbox environment is broken. Test it on production
· Share
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

actindo avatar image
0 Likes"
actindo answered ·
I think its a problem of the sandbox. It works in the live system.
· Share
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

thesimonbay avatar image
0 Likes"
thesimonbay answered ·
same problem here,Did you find a fix?
· Share
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.