Username: Password:

Author Topic: Unexpected end of JSON input  (Read 11864 times)

Offline Whowho

  • Rookie
  • *
  • Posts: 3
    • View Profile
Unexpected end of JSON input
« on: December 30, 2017, 04:18:06 AM »
Hi all, bought the bot and trying to set it up with Cryptopia exchange, but keeps on coming up with this error in the log:

(node:604) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Unexpected end of JSON input
(node:604) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

I've re-installed and re-exe the program but still no joy, any ideas of what to do next??
Cheers

Offline cariocap

  • Rookie
  • *
  • Posts: 3
    • View Profile
Re: Unexpected end of JSON input
« Reply #1 on: December 30, 2017, 10:13:20 AM »
I was having this error too using Deviance and a wrong pair name "BTC-USDT", I changed to BTC-IOTA and no more errors

Offline Whowho

  • Rookie
  • *
  • Posts: 3
    • View Profile
Re: Unexpected end of JSON input
« Reply #2 on: December 30, 2017, 09:33:32 PM »
Thanks for the suggestion, but still no luck!!! May be it's Cryptopia that's not playing the right tune.