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

Sandbox API can't fetch "GetCategoryFeatures"

Hello,

I am using Ebay's Sandbox Trading API to run "GetCategoryFeatures" but last week it stopped working (only in Sandbox), logging this error:

 

{
  "GetCategoryFeaturesResponse": {
    "$": {
      "xmlns": "urn:ebay:apis:eBLBaseComponents"
    },
    "Timestamp": [
      "2024-02-07T19:00:53.880Z"
    ],
    "Ack": [
      "Failure"
    ],
    "Errors": [
      {
        "ShortMessage": [
          "Sorry, something went wrong. Please wait a moment and try again."
        ],
        "LongMessage": [
          "Sorry, something went wrong. Please wait a moment and try again."
        ],
        "ErrorCode": [
          "10007"
        ],
        "SeverityCode": [
          "Error"
        ],
        "ErrorParameters": [
          {
            "$": {
              "ParamID": "0"
            },
            "Value": [
              "Could not initialize class com.ebay.app.api.userreadio.UserReadIOClientFactory"
            ]
          }
        ],
        "ErrorClassification": [
          "RequestError"
        ]
      }
    ],
    "Version": [
      "1347"
    ],
    "Build": [
      "E1347_CORE_APICATALOG_19146446_R1"
    ]
  }
}

Is there any problem with the Sandbox API?

 

Message 1 of 7
latest reply
1 BEST ANSWER

Accepted Solutions

Sandbox API can't fetch "GetCategoryFeatures"

Hi @xbox_best,

 

GetCategories and GetCategoryFeatures API calls were having some issue and returning the error  "Sorry, something went wrong. Please wait a moment and try again".  This issue has been resolved now and calls are working in Sandbox.

 

Stay updated on current system issues with eBay APIs with API status page. 

 

Best Regards,
eBay Developer Support

View Best Answer in original post

Message 3 of 7
latest reply
6 REPLIES 6

Sandbox API can't fetch "GetCategoryFeatures"

It is still logging an error but this time an undefined error (the categoryId I'm using is 360):

<ShortMessage>Unknown Error.</ShortMessage>
<LongMessage>Unknown Error.</LongMessage>
<ErrorCode>17460</ErrorCode>

Message 2 of 7
latest reply

Sandbox API can't fetch "GetCategoryFeatures"

Hi @xbox_best,

 

GetCategories and GetCategoryFeatures API calls were having some issue and returning the error  "Sorry, something went wrong. Please wait a moment and try again".  This issue has been resolved now and calls are working in Sandbox.

 

Stay updated on current system issues with eBay APIs with API status page. 

 

Best Regards,
eBay Developer Support
Message 3 of 7
latest reply

Sandbox API can't fetch "GetCategoryFeatures"

Hi developer_support@ebay 

 

i think this API call  having some issues still. 

here is the response i am receving

<?xml version="1.0" encoding="UTF-8"?>
<GetCategoriesResponse
xmlns="urn:ebay:apis:eBLBaseComponents">
<Timestamp>2024-03-11T05:50:45.769Z</Timestamp>
<Ack>Failure</Ack>
<Errors>
<ShortMessage>Unknown Error.</ShortMessage>
<LongMessage>Unknown Error.</LongMessage>
<ErrorCode>17460</ErrorCode>
<SeverityCode>Error</SeverityCode>
<ErrorClassification>RequestError</ErrorClassification>
</Errors>
<Version>1347</Version>
<Build>E1347_CORE_APICATALOG_19146446_R1</Build>
</GetCategoriesResponse>

Message 4 of 7
latest reply

Sandbox API can't fetch "GetCategoryFeatures"

Hi developer_support@ebay , I am having the same problem with the same error in production.

 

`getItemAspectsForCategory` works fine with an application access token, but `GetCategoryFeatures` does not. 

 

From the documentation:

Testing GetCategoryFeatures

Even though GetCategoryFeatures is supported in the Sandbox, the call does not modify item data and you can run GetCategoryFeatures in the production environment to see true site results. To verify that you're correctly using GetCategoryFeatures, try these following tests:

  • Run GetCategoryFeatures with the CategoryID set to a valid eBay category value and DetailLevel set to ReturnAll. If you do not set a FeatureID value, the site's complete feature set is returned in the FeatureDefinitions node. If you do set FeatureIDvalues, the response contains details on those features only.
  • Call GetCategoryFeatures with a CategoryID value, ViewAllNodes set to true, and DetailLevel set to ReturnAll. Review the list of categories returned and ensure that they contain the parent node (the specified CategoryID) all the children of that node that contain feature overrides.
  • If a Category container is returned, check that the feature overrides listed for that category are indeed enabled for that category. Do this by checking that you can use the feature returned in the Category container.

 

I'm trying the first test: Run GetCategoryFeatures with the CategoryID set to a valid eBay category value and DetailLevel set to ReturnAll

 

https://developer.ebay.com/my/api_test_tool?index=0&env=production&api=trading&call=GetCategoryFeatu...

 

Input: 

```

<CategoryID>260</CategoryID>
<DetailLevel>ReturnAll</DetailLevel>

```

 

Output:

```

<?xml version="1.0" encoding="UTF-8"?>
<GetCategoryFeaturesResponse
xmlns="urn:ebay:apis:eBLBaseComponents">
<Timestamp>2024-07-26T01:49:46.424Z</Timestamp>
<Ack>Failure</Ack>
<Errors>
<ShortMessage>Unknown Error.</ShortMessage>
<LongMessage>Unknown Error.</LongMessage>
<ErrorCode>17460</ErrorCode>
<SeverityCode>Error</SeverityCode>
<ErrorClassification>RequestError</ErrorClassification>
</Errors>
<Version>1367</Version>
<Build>E1367_CORE_APICATALOG_19146446_R1</Build>
</GetCategoryFeaturesResponse>

```

 

Message 5 of 7
latest reply

Sandbox API can't fetch "GetCategoryFeatures"

@xbox_best or @mega-store-5, did you figure out a workaround? 

Message 6 of 7
latest reply

Sandbox API can't fetch "GetCategoryFeatures"

After eBay's reply, the endpoint worked fine, but I occasionally experienced similar problems afterward. Seems the service is down sometimes 😕 

Message 7 of 7
latest reply