Welcome Developers!

in

Welcome!

in

Activities feed returns 500 for recent 'datetime' queries

Last post 08-16-2009 8:57 PM by RichardX BarnettX. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 08-08-2009 12:41 AM

    Activities feed returns 500 for recent 'datetime' queries

    I'm retrieving the activities feed using the 'datetime' query parameter to fetch only recent activities.

    Firstly, I discovered that the format given in http://wiki.developer.myspace.com/index.php?title=ActivityStream_Queries#DateTime is wrong: MM/dd/yyyy doesn't work but dd/MM/yyyy does.  Additionally ISO8601 date-times are also accepted, eg 2009-08-07T08:20:00Z.

    Can someone confirm which formats are formally supported for this parameter?

    It seems that recent ISO8601 values cause the request to return a 500 status with no further information in the response body.  As I type this the time is about 2009-08-07T08:39:00Z, and making calls with various values for 'datetime' gives the following results:

    • 2009-08-07T07:45:00Z works
    • 2009-08-07T07:50:00Z works
    • 2009-08-07T07:55:00Z works
    • 2009-08-07T08:00:00Z fails
    • 2009-08-07T08:15:00Z fails
    • 2009-08-07T08:30:00Z fails

    Is this a bug, or intentional - and if the latter, what's the most recent value for 'datetime' which will work?

    Thanks

    --Richard

  • 08-12-2009 9:18 PM In reply to

    Re: Activities feed returns 500 for recent 'datetime' queries

     Hey Richard,

     I've bumped this up to the AS.ms folks - are you using our SDK? Expect a response soon!

    D

    Follow us on twitter for major updates and announcements:

    http://twitter.com/MySpaceDevTeam

    Friend the MDP Profile!
    http://www.myspace.com/myspacedeveloperplatform
  • 08-16-2009 8:57 PM In reply to

    Re: Activities feed returns 500 for recent 'datetime' queries

    Hi Donny --

    Thanks for this response.  I'm not using the MySpace SDK, but I'll give it a try anyway - it has some other functionality which I could use.

    -- Richard

Page 1 of 1 (3 items)