Liquid error: undefined method `name' for nil:NilClass
Submit a ticket My Tickets
Login  Sign up

There was a http error. HTML returned when expecting JSON

Sometimes hoppers can see the following message in their logs: 

There was a http error. HTML returned when expecting JSON

This is a general message for multiple errors at the exchanges and happens when, for example, Kraken returns a 504 Cloudflare page. The page returned is HTML, but we expect JSON to be returned from the API. Instead of saving the complete HTML response received from the exchange, we save this message in the log. You will see also what the hopper was trying to do, because you will see another error message for example: Could not get balances. This means that when trying to get the balances, the HTML error page was returned and therefor the get balances task failed.

This error happens a lot with Kraken hoppers, but also with Bittrex and sometimes with Poloniex and GDAX. You do not have to do anything when this occurs. The hopper will keep on trying to reach the API and continue its work.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.