Raise error if we get 511 back