question

jackch avatar image
0 Likes"
jackch asked

GetSellingManagerSoldListingsRequest sometimes gets Sorry, the start date or end date was missing or invalid date time range

We have been using the GetSellingManagerSoldListingsRequest to get items sold for a long time via VB.NET

 

We are getting a intermittent error from eBay on the request.

Sorry, the start date or end date was missing or invalid date time range.

 

We cannot re-create this on the clients eBay account from our machine.

Request has (< > where removed)

TimeFrom 2013-06-20T07:00:00 /TimeFrom TimeTo 2013-06-20T15:16:48 /TimeTo

The above did work.

 

We are converting the date/time to GMT.

 

is there anything incorrect with this format?

 

Does not have  a Z really make a difference?

 

 

datetimegetsellingmanagersoldlist
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.

shulmani_developer.support avatar image
0 Likes"
shulmani_developer.support answered

Hi,

 

Do you still get the error? Ideally if it works sometimes and fails a few times either

- the issue is with the time range being invalid

OR

- the issue at eBay with processing the request.

 

It will be great if you can provide the complete request and  response so that we can take a look at it.

If you cannot share it here, please feel free to open a support ticket at http://developer.ebay.com/support/developersupport/ . If it determined as an eBay bug, you will not be charged.

 

Cheers!!!

· 1
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.

Yes, but it is intermittant.

 

The program is use using the current date/time converting it to GMT (Z) to time and sending it.  Sometimes it works, sometimes not and also works/fails from different time zones (Eastern and Pacific).

 

The example below is from customer in the Pacific time zone.

 

This one failed.

10/9/2013 3:09:07 PM 0.0010 Set Ebay IR, xml=
<?xml version="1.0" encoding="utf-8"?>
<GetSellingManagerSoldListingsRequest xmlns="urn:ebay:apis:eBLBaseComponents">
<RequesterCredentials><eBayAuthToken>nnn...nnnn</eBayAuthToken>
</RequesterCredentials><Pagination><EntriesPerPage>200</EntriesPerPage><PageNumber>1</PageNumber></Pagination>
<Filter>PaidNotShipped</Filter><SaleDateRange>
<TimeFrom>2013-10-09T07:00:00Z</TimeFrom>
<TimeTo>2013-10-09T22:09:07Z</TimeTo>
</SaleDateRange></GetSellingManagerSoldListingsRequest>
10/9/2013 3:09:08 PM 1.1661 Sorry, the start date or end date was missing or invalid date time range. from eBay

 

This one worked.

10/11/2013 8:20:59 AM 0.0010 Set Ebay IR, xml=
<?xml version="1.0" encoding="utf-8"?><GetSellingManagerSoldListingsRequest xmlns="urn:ebay:apis:eBLBaseComponents">
<RequesterCredentials><eBayAuthToken>nnn...nnnn</eBayAuthToken></RequesterCredentials>
<Pagination><EntriesPerPage>200</EntriesPerPage><PageNumber>1</PageNumber></Pagination><Filter>PaidNotShipped</Filter>
<SaleDateRange>
<TimeFrom>2013-10-10T07:00:00Z</TimeFrom>
<TimeTo>2013-10-11T15:20:59Z</TimeTo>
</SaleDateRange></GetSellingManagerSoldListingsRequest>
10/11/2013 8:21:02 AM 2.1661 Download Sold items looping Count1, total=1 page=1
10/11/2013 8:21:02 AM 0.0000 Download Sold items looping Complete 1, total=1 page=1
10/11/2013 8:21:02 AM 0.0110 Convert to Text 2 - Write XSLT  
10/11/2013 8:21:02 AM 0.0270 Download Sold Items Exit True
10/11/2013 8:21:02 AM 0.0010 Status Write - 0,OK,Tranaction Count=1 C:\Users\Public\Documents\AaaTeX\eIntegrator\AaaTeXEBayServicesPST-eBay.log
 

0 Likes 0 ·
jackch avatar image
0 Likes"
jackch answered

I wish I had an answer but this is still occurring.  Can some please help?????

 

Request

10/18/2013 8:14:51 AM 0.0000 Set Ebay IR, xml=
<?xml version="1.0" encoding="utf-8"?><GetSellingManagerSoldListingsRequest xmlns="urn:ebay:apis:eBLBaseComponents">
<RequesterCredentials><eBayAuthToken>nnn...nnnn</eBayAuthToken>
</RequesterCredentials><Pagination><EntriesPerPage>200</EntriesPerPage>
<PageNumber>1</PageNumber></Pagination><Filter>PaidNotShipped</Filter>
<SaleDateRange><TimeFrom>2013-10-17T07:00:00Z</TimeFrom>
<TimeTo>2013-10-18T15:14:51Z</TimeTo>
</SaleDateRange></GetSellingManagerSoldListingsRequest>

 

Error Response

<?xml version="1.0" encoding="UTF-8"?>
<GetSellingManagerSoldListingsResponse xmlns="urn:ebay:apis:eBLBaseComponents">
<Timestamp>2013-10-18T15:14:49.465Z</Timestamp>
<Ack>Failure</Ack>
<Errors>
<ShortMessage>Sorry, the start date or end date was missing or invalid date time range.</ShortMessage>
<LongMessage>Sorry, the start date or end date was missing or invalid date time range.</LongMessage>
<ErrorCode>21916319</ErrorCode><SeverityCode>Error</SeverityCode><ErrorClassification>RequestError</ErrorClassification>
</Errors><Version>845</Version>
<Build>E845_CORE_APISELLING_16458320_R1</Build></GetSellingManagerSoldListingsResponse>

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.