Debugging these kinds of issues can be really frustrating, especially when the error messages aren’t very clear. Hopefully the suggestions here help narrow down the cause and make the fix easier. Do you have a solution? Play and relax with Dinosaur Game.
This is an interesting example of how respond_to works in Rails. The behavior really depends on the Accept header sent by the client, which determines whether HTML or JSON will be returned. It might be helpful to test the request with tools like curl or Postman to clearly see how the content negotiation works. Or fun with Geometry Dash