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

--before-ts not working? #102

Open
jayenashar opened this issue Aug 20, 2024 · 2 comments
Open

--before-ts not working? #102

jayenashar opened this issue Aug 20, 2024 · 2 comments

Comments

@jayenashar
Copy link

jayen@eeyore:~$ flex-cli events --marketplace expertapplication-test --before-ts=2024-06-22
 › API call failed. Status: 400, reason: Invalid value.


1 jayen@eeyore:~$ flex-cli events --marketplace expertapplication-test --before-ts 2024-06-22
 › API call failed. Status: 400, reason: Invalid value.


1 jayen@eeyore:~$ flex-cli events --marketplace expertapplication-test --before-ts=2024-06-22T00:00.000Z
 › API call failed. Status: 400, reason: Invalid value.

it works without --before-ts and i believe i'm using the format specified in help events

@rap1ds
Copy link
Member

rap1ds commented Aug 23, 2024

(Related to #103)

I believe the reason for the error is that you can only query events that are not older than a week.

Does this work if you use --before-ts value less than a week ago?

There's certainly room for improvement in the error reason message.

@jayenashar
Copy link
Author

yes it works with recent dates. i agree about the error message.

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