error handle json put

In case of not network.