Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SWF ListOpenWorkflowExecutions() does not work #147

Closed
v-six opened this issue Sep 12, 2013 · 1 comment
Closed

SWF ListOpenWorkflowExecutions() does not work #147

v-six opened this issue Sep 12, 2013 · 1 comment

Comments

@v-six
Copy link

v-six commented Sep 12, 2013

I am trying to do a listOpenWorkflowExecutions and I keep getting the following error:

class java.lang.String can not be converted to milliseconds since epoch

Here are the parameters that i am trying to pass to listOpenWorkflowExecutions() function:

array(
    "domain" => "myDomain",
    "maximumPageSize" => 100,
    "reverseOrder" => false,
    "startTimeFilter" => array("oldestDate" => 1325376070),
);

I guess the "oldestDate" parameter is the problem. I tried to pass a timestamp string, a timestamp integer, a DateTime object, and a date string, with no success.

The API doc is conflicting, it says on the description that a unix timestamp is expected but in the contents list it says that a DateTime is expected.
On the AWS SDK for php doc, thoose dates are not typed...

@mtdowling
Copy link
Member

Thanks for reporting this issue. This was an issue with the Guzzle library and how unit timestamps were serialized as strings. This has been fixed in this commit: guzzle/guzzle@03ebada. This change will be present in the next tagged release of the SDK. In the meantime, you can use the master-dev version of Guzzle with the SDK if you are installing the SDK through Composer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants