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

Gnip 2.0 replay error is not passed #36

Open
alonisser opened this issue Mar 13, 2019 · 1 comment
Open

Gnip 2.0 replay error is not passed #36

alonisser opened this issue Mar 13, 2019 · 1 comment

Comments

@alonisser
Copy link

alonisser commented Mar 13, 2019

When I get a 406 http error from replay stream, I only get the http error object
While the replay docs Specify that I'm expected to get

Will contain a JSON message indicating the issue -- e.g. "This connection requires compression. To enable compression, send an 'Accept-Encoding: gzip' header in your request and be ready to uncompress the stream as it is read on the client end." or "Invalid date for query parameter 'toDate'. Can't ask for tweets from within the past 30 minutes."

I'll be happy to help with a PR if you can point me in the right direction

@demian85
Copy link
Owner

I'd be happy to point you in the right direction if I knew the direction, lol. I cannot maintain this lib anymore since I don't even have a Gnip account to test.
If you send a PR I'll review it.

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