question

shahramir avatar image
0 Likes"
shahramir asked ·

GetItemTransactions not working - Trading API,GetItemTransactions - Trading API

GetItemTransactions not working. for example.


<?xml version="1.0" encoding="utf-8"?>
<GetItemTransactionsRequestxmlns="urn:ebay:apis:eBLBaseComponents">
  <RequesterCredentials>
    <eBayAuthToken></eBayAuthToken>
  </RequesterCredentials>
<ErrorLanguage>en_US</ErrorLanguage>
<WarningLevel>High</WarningLevel>
      <!-- Enter the ItemID  -->
  <ItemID>233789802112</ItemID>
  <QuantitySold>1</QuantitySold>
</GetItemTransactionsRequest>


its returning


<?xml version="1.0" encoding="UTF-8"?>
<GetItemTransactionsResponse 
  xmlns="urn:ebay:apis:eBLBaseComponents">
  <Timestamp>2020-11-27T01:31:08.624Z</Timestamp>
  <Ack>Failure</Ack>
  <Errors>
    <ShortMessage>XML Parse error.</ShortMessage>
    <LongMessage>XML Error Text: &quot;; nested exception is: 
org.xml.sax.SAXParseException; lineNumber: 2; columnNumber: 33; Element type &quot;GetItemTransactionsRequestxmlns&quot; must be followed by either attribute specifications, &quot;&gt;&quot; or &quot;/&gt;&quot;.&quot;.</LongMessage>
    <ErrorCode>5</ErrorCode>
    <SeverityCode>Error</SeverityCode>
    <ErrorParameters ParamID="0">
      <Value>; nested exception is: 
org.xml.sax.SAXParseException; lineNumber: 2; columnNumber: 33; Element type &quot;GetItemTransactionsRequestxmlns&quot; must be followed by either attribute specifications, &quot;&gt;&quot; or &quot;/&gt;&quot;.</Value>
    </ErrorParameters>
    <ErrorClassification>RequestError</ErrorClassification>
  </Errors>
  <Errors>
    <ShortMessage>Header &quot;X-EBAY-API-APP-NAME&quot; does not exist.</ShortMessage>
    <LongMessage>Header &quot;X-EBAY-API-APP-NAME&quot; does not exist.</LongMessage>
    <ErrorCode>10011</ErrorCode>
    <SeverityCode>Error</SeverityCode>
    <ErrorParameters ParamID="0">
      <Value>X-EBAY-API-APP-NAME</Value>
    </ErrorParameters>
    <ErrorClassification>RequestError</ErrorClassification>
  </Errors>
  <Errors>
    <ShortMessage>Header &quot;X-EBAY-API-DEV-NAME&quot; does not exist.</ShortMessage>
    <LongMessage>Header &quot;X-EBAY-API-DEV-NAME&quot; does not exist.</LongMessage>
    <ErrorCode>10011</ErrorCode>
    <SeverityCode>Error</SeverityCode>
    <ErrorParameters ParamID="0">
      <Value>X-EBAY-API-DEV-NAME</Value>
    </ErrorParameters>
    <ErrorClassification>RequestError</ErrorClassification>
  </Errors>
  <Errors>
    <ShortMessage>Header &quot;X-EBAY-API-CERT-NAME&quot; does not exist.</ShortMessage>
    <LongMessage>Header &quot;X-EBAY-API-CERT-NAME&quot; does not exist.</LongMessage>
    <ErrorCode>10011</ErrorCode>
    <SeverityCode>Error</SeverityCode>
    <ErrorParameters ParamID="0">
      <Value>X-EBAY-API-CERT-NAME</Value>
    </ErrorParameters>
    <ErrorClassification>RequestError</ErrorClassification>
  </Errors>
  <Version>1175</Version>
  <Build>E1175_CORE_APIXO_19220561_R1</Build>
</GetItemTransactionsResponse>


getitemtransactions#tradingapi
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.

0 Answers

· Write an Answer

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.