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 parsing error #25

Open
jaxxstorm opened this issue Feb 5, 2017 · 3 comments
Open

JSON parsing error #25

jaxxstorm opened this issue Feb 5, 2017 · 3 comments
Assignees
Labels

Comments

@jaxxstorm
Copy link

jaxxstorm commented Feb 5, 2017

When running any query, I'm getting a JSON parse issue:

[2017-02-05 12:01:14 UTC] ERROR: Lita::Handlers::PagerdutyUtility crashed. The exception was:
743: unexpected token at ''
Full backtrace:
/vendor/bundle/ruby/2.3.0/gems/json-2.0.3/lib/json/common.rb:156:in `parse'
/vendor/bundle/ruby/2.3.0/gems/json-2.0.3/lib/json/common.rb:156:in `parse'
/vendor/bundle/ruby/2.3.0/gems/pagerduty-sdk-1.0.9/lib/pagerduty/core.rb:79:in `curl'
/vendor/bundle/ruby/2.3.0/gems/pagerduty-sdk-1.0.9/lib/pagerduty/pagerduty.rb:883:in `get_schedules'
/vendor/bundle/ruby/2.3.0/bundler/gems/lita-pagerduty-cb796fa02423/lib/lita/handlers/pagerduty_utility.rb:62:in `on_call_list'
/vendor/bundle/ruby/2.3.0/gems/lita-4.7.1/lib/lita/callback.rb:31:in `public_send'
/vendor/bundle/ruby/2.3.0/gems/lita-4.7.1/lib/lita/callback.rb:31:in `call'
/vendor/bundle/ruby/2.3.0/gems/lita-4.7.1/lib/lita/handler/chat_router.rb:97:in `dispatch_to_route'
/vendor/bundle/ruby/2.3.0/gems/lita-4.7.1/lib/lita/handler/chat_router.rb:82:in `block in dispatch'
/vendor/bundle/ruby/2.3.0/gems/lita-4.7.1/lib/lita/handler/chat_router.rb:72:in `map'
/vendor/bundle/ruby/2.3.0/gems/lita-4.7.1/lib/lita/handler/chat_router.rb:72:in `dispatch'
/vendor/bundle/ruby/2.3.0/gems/lita-4.7.1/lib/lita/robot.rb:69:in `block in receive'
/usr/local/lib/ruby/2.3.0/set.rb:306:in `each_key'
/usr/local/lib/ruby/2.3.0/set.rb:306:in `each'
/vendor/bundle/ruby/2.3.0/gems/lita-4.7.1/lib/lita/robot.rb:66:in `map'
/vendor/bundle/ruby/2.3.0/gems/lita-4.7.1/lib/lita/robot.rb:66:in `receive'
/vendor/bundle/ruby/2.3.0/bundler/gems/lita-slack-7af55c22aed7/lib/lita/adapters/slack/message_handler.rb:123:in `dispatch_message'
/vendor/bundle/ruby/2.3.0/bundler/gems/lita-slack-7af55c22aed7/lib/lita/adapters/slack/message_handler.rb:160:in `handle_message'
/vendor/bundle/ruby/2.3.0/bundler/gems/lita-slack-7af55c22aed7/lib/lita/adapters/slack/message_handler.rb:18:in `handle'
/vendor/bundle/ruby/2.3.0/bundler/gems/lita-slack-7af55c22aed7/lib/lita/adapters/slack/rtm_connection.rb:100:in `block in receive_message'
/vendor/bundle/ruby/2.3.0/bundler/gems/lita-slack-7af55c22aed7/lib/lita/adapters/slack/event_loop.rb:10:in `block in defer'
/vendor/bundle/ruby/2.3.0/gems/eventmachine-1.2.2/lib/eventmachine.rb:1076:in `block in spawn_threadpool'

I'm using a v1 legacy key

@esigler esigler self-assigned this Feb 5, 2017
@esigler esigler added the bug label Feb 5, 2017
@esigler
Copy link
Contributor

esigler commented Feb 5, 2017

Thanks for the report! Looking into it now.

@jaxxstorm
Copy link
Author

Let me know if there's anything I can do to help.

@rhoml
Copy link

rhoml commented Apr 26, 2017

Any news on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants