03-01-2023 10:57 PM
Hello,
I am trying to run the GetCategorySpecifics API and am getting this error:
SimpleXMLElement Object ( [EBayTime] => 2023-03-02 06:47:54 [Errors] => SimpleXMLElement Object ( [Error] => SimpleXMLElement Object ( [Code] => 10007 [ErrorClass] => SystemError [SeverityCode] => 1 [Severity] => SeriousError [Line] => 0 [Column] => 0 [ShortMessage] => SimpleXMLElement Object ( ) ) ) )
03-02-2023 12:20 AM
This looks like an output from an API call to eBay. It's a SimpleXMLElement object containing information about the response to the API call.
The first element is the eBayTime, which indicates the date and time the response was generated by eBay. In this case, it's March 2, 2023, at 6:47:54 AM.
The second element is the Errors element, which contains information about any errors that occurred during the API call. In this case, there is one error, represented by an Error element.
The Error element contains several sub-elements, including Code, ErrorClass, SeverityCode, Severity, Line, Column, and ShortMessage. These elements provide more information about the error, including its severity, location, and a short message describing the problem.
In this case, the error has a Code of 10007, indicating a system error. The SeverityCode is 1, indicating a serious error, and the Severity is SeriousError. The Line and Column elements are both 0, indicating that the error occurred at an unknown location. Finally, the ShortMessage element is empty, so we don't have any more information about what specifically went wrong.
03-02-2023 09:26 AM
That call has been deprecated and is no longer supported as per the docs:
Note: The GetCategorySpecifics call is being deprecated. No new features and/or fields will be added to GetCategorySpecifics, and it will no longer be supported after April 20, 2022. eBay recommends that large sellers and developers migrate to the Taxonomy API RESTful methods.
You would need to migrate the obtaining of that information to the Commerce Taxonomy REST API operationId: getItemAspectsForCategory