question

mechanical_stuff avatar image
0 Likes"
mechanical_stuff asked

getTrafficReport date_range filter format problem

Hello, I'm trying to perform getTrafficReport. All seems ok except filter field "date_range". The problem is that eBay API does not accept the format it requests. I get this error: 50033: The date range format **%5B20180814..20180820%5D *is invalid***. The date range format must be encoded and the format is yyyymmdd..yyyymmdd. For example: **%5B20160601..20160828%5D** The format eBay retruns as wrong (that I provided) and the format eBay gives as an example is completely the same. Why am I getting this error? I'm using PHP to create this call and here is the line I assign this date value: *$dateEncode = rawurlencode("[20180620..20180704]"); $requestParameters->filter = 'marketplace_ids:EBAY_GB, date_range:'.$dateEncode;*
errorfilterdate_rangeformat
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.