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

JSON::GeneratorError: only generation of JSON objects or arrays allowed #36

Closed
talex-de opened this issue Oct 6, 2017 · 1 comment
Closed

Comments

@talex-de
Copy link

talex-de commented Oct 6, 2017

Hi there,

I get the error message "JSON::GeneratorError: only generation of JSON objects or arrays allowed" after trying to collect account data:

client = DropboxApi::Client.new(DROPBOX_TOKEN)
client.get_current_account

I already tried to switch to a different version of execjs gem without success.

Using ruby 2.1.7 and json_pure 2.1.0 for my Rails application.

Did you see this error behaviour in any context before?

Greetings, Alex

@Jesus
Copy link
Owner

Jesus commented Oct 13, 2017

I haven't tried to use this gem with json_pure.

Could you send the full backtrace?

@Jesus Jesus closed this as completed Apr 20, 2018
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