Batch Request - Unexplained Failure

By kuccello

It would seem that the Batch call does not handle start_time and end_time very well.

Given the following request:

http://freeapi.daylife.com/xmlrest/batch/1.0/parallel?accesskey=YOURKEYH... KEY HERE&request=%2Fpublicapi%2F4.6%2Ftopic_getRelatedArticles%3Fsignature%YOUR SIGNATURE%26include_publication_images%3D1%26start_time%3D2008-12-01+12%3A53%3A35%26topic_id%3D02kjciW7SM4Va%26offset%3D0%26request_id%3DtopicGetRelatedArticles_lastHour%26accesskey%3DYOUR KEY&request=%2Fpublicapi%2F4.6%2Ftopic_getRelatedArticles%3Fsignature%YOUR SIGNATURE%26include_publication_images%3D1%26end_time%3D2008-12-01+12%3A53%3A35%26start_time%3D2008-11-30+01%3A53%3A35%26topic_id%3D02kjciW7SM4Va%26offset%3D0%26request_id%3DtopicGetRelatedArticles_lastDay%26accesskey%3DYOUR KEY&request=%2Fpublicapi%2F4.6%2Ftopic_getRelatedArticles%3Fsignature%3DYOUR SIGNATURE%26include_publication_images%3D1%26end_time%3D2008-11-30+01%3A53%3A35%26start_time%3D2008-11-24+01%3A53%3A35%26topic_id%3D02kjciW7SM4Va%26offset%3D0%26request_id%3DtopicGetRelatedArticles_lastWeek

I always seem to get the following response back:

Success
3001

The provided id parameter was empty or no id found. Check documentation for required id parameter.

-2012

topicGetRelatedArticles_lastDay

However when making the call using the 4.6 version without batch:
http://freeapi.daylife.com/xmlrest/publicapi/4.6/topic_getRelatedArticles?accesskey=&signature=&include_publication_images=1&start_time=2008-12-01+12%3A53%3A35&topic_id=02kjciW7SM4Va&offset=0

I get back a valid response with data.

**SIDE NOTE: if you try to use a unix time stamp format with version 4.6 you will get an error stating that the start time cannot be after the end time.**

Has anyone else had this issue? Is there a way around this problem? I do not want to resort to multiple calls to get the different time groups of articles.

Help is much appreciated.

Filed Under:

Full batch URL to debug

Kristan

Can you please send me complete Batch URLs along with your accesskey and signature to debug on my email vineet@daylife.com

Thanks

Vineet