gracefully handle cases server returnning generic error instead of box t...

...yped error