Handle errors in wsService.
Correctly send coasts to backend.