Comments (4)
Any chance you can post the full backtrace?
from zendesk_api_client_rb.
Sure.
post https://FOO.zendesk.com/api/v2/tickets
Authorization: "Basic secret here="
User-Agent: "ZendeskAPI API 0.0.9"
Accept-Encoding: "gzip;q=1.0,deflate;q=0.6,identity;q=0.3"
Accept: "application/json"
Started POST "/send_feedback" for 192.168.110.174 at Mon Aug 20 23:17:08 +0400 2012
Processing by PagesController#send_feedback as HTML
Parameters: {"commit"=>"Send feedback!", "authenticity_token"=>"FVpVzV9YLWHhm1t6q1qt+ZBXM+wPR/SnxGvmkFaDIY8=", "utf8"=>"✓", "subject"=>"11", "reason"=>"I want different gift options!", "message"=>"22"}
Invalid ud_pid:
Completed 500 Internal Server Error in 48ms
NoMethodError (undefined method `merge' for #<JSON::Ext::Generator::State:0xb383c468>):
app/controllers/pages_controller.rb:65:in `send_feedback'
Rendered /home/fabian/.rvm/gems/[email protected]/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms)
Rendered /home/fabian/.rvm/gems/[email protected]/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms)
Rendered /home/fabian/.rvm/gems/[email protected]/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (11.0ms)
from zendesk_api_client_rb.
Is there any way you can reproduce this separately from Rails? Or at least isolate the affected components? It looks like a problem with how Rails does to_json, but I'm not entirely sure.
Also, could you provide the versions you're using of rails and json?
from zendesk_api_client_rb.
I was using json version 1.5.1. I upgraded it to 1.6.1 and everything worked! Thank you.
from zendesk_api_client_rb.
Related Issues (20)
- Searching help center articles with this API? HOT 2
- How was it possible to break master CI merging a PR? HOT 2
- Remove duplicate user phone numbers / disconnect between application and API HOT 1
- Support Faraday 2.x HOT 9
- Adding multiple comments to a ticket will ignore the private flag and add all future messages as public. HOT 2
- Search api - how to stop using cache - to fetch real data every time HOT 1
- tickets.create! fails when description is blank HOT 1
- Accessing an end user organization requests HOT 1
- problem creating organizations via API HOT 4
- Create or Update Tickets HOT 1
- Add feature for additional API requests
- Intermittent SSL_connect returned=1 errno=0 state=error: sslv3 alert handshake failure errors HOT 6
- with 2fa (two factor authentication) unable to initialize zendesk client HOT 3
- is there a trick to running the specs? HOT 9
- Support for Attachment management endpoints HOT 3
- Support for idempotent requests HOT 1
- Exceptions due to unexpected Faraday::Multipart::CompositeReadIO instances HOT 12
- CloudQuery Source Plugin? HOT 2
- Add method for target failures
- Client does not have new Omnichannel/Agent Availability API HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zendesk_api_client_rb.