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

Fails to decode gzipped responses from Chargebee #43

Open
lilith opened this issue Nov 5, 2019 · 7 comments
Open

Fails to decode gzipped responses from Chargebee #43

lilith opened this issue Nov 5, 2019 · 7 comments

Comments

@lilith
Copy link

lilith commented Nov 5, 2019

When executing ChargeBee::Subscription.retrieve(subscription_id).subscription.as_json

The following error occurs

       Response not in JSON format. Probably not a ChargeBee response
        "\u001F\x8B\b\u0000\u0000\u0000\u0000\u0000
@lilith
Copy link
Author

lilith commented Nov 5, 2019

This appears to be a compatibility issues with rest-client 2.1.0.

Specifying gem 'rest-client','= 2.0.2' in Gemfile is a workaround

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
@lilith and others