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

List messages date filters do not work #99

Closed
ivanmartinvalle opened this issue Aug 9, 2019 · 2 comments
Closed

List messages date filters do not work #99

ivanmartinvalle opened this issue Aug 9, 2019 · 2 comments
Labels
type: twilio enhancement feature request on Twilio's roadmap

Comments

@ivanmartinvalle
Copy link

Issue Summary

I'm trying to download SMS messages using a specific date range. The example listed in the docs here to filter SMS messages by date does not work. Futhermore, changing PageSize doesn't look to be an option, which severely changes the speed of downloading large ranges of messages.

Steps to Reproduce

# following example in the docs...
twilio api:core:messages:list --date-sent-after 2019-08-08
# Error: Unexpected arguments: --date-sent-after, 2019-08-08

# attempting to use --date-sent parameter returned from help...
twilio api:core:messages:list --date-sent ">=2019-08-08" -l debug
# {"DateSent":">=2019-08-08"} issues in the request
# Error code 20001 from Twilio: Invalid date value.

# attempting to page the result...
twilio api:core:messages:list --date-sent 2019-08-08 -l debug
# PageSize=50 issued in the request
# --page-size 50 returns unexpected argument error

Technical details:

  • twilio-cli Version:1.4.1
  • Node.js Version: 10.16.0
@childish-sambino
Copy link
Contributor

Date range filtering coming soon ...

Fixed by #79

@thinkingserious
Copy link
Contributor

Release is live, thanks for your patience!

@childish-sambino childish-sambino added the type: twilio enhancement feature request on Twilio's roadmap label Feb 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: twilio enhancement feature request on Twilio's roadmap
Projects
None yet
Development

No branches or pull requests

3 participants